Skip to main content

Google 可编程搜索引擎 MCP 服务器 - 提供关键词搜索、URL内容获取和PDF解析功能

Project description

Bach Google Search PSE

Google 可编程搜索引擎 MCP 服务器 - 为 AI 助手提供强大的网页搜索和内容获取能力

🌟 功能特性

  • 🔍 关键词搜索: 通过 Google PSE 进行智能搜索
  • 🌐 网页内容获取: 提供 URL 链接获取完整网页内容
  • 📄 PDF 解析: 支持 PDF 链接的内容提取和解析

🚀 快速启动(推荐)

使用 UVX 一键启动

uvx bach-google-search-pse

在 Cursor/Cherry Studio 中配置

{
  "mcpServers": {
    "google-search-pse": {
      "command": "uvx",
      "args": ["bach-google-search-pse"]
    }
  }
}

📦 安装方式

方式一:直接使用 UVX(推荐)

无需安装,直接运行:

uvx bach-google-search-pse

方式二:通过 pip 安装

pip install bach-google-search-pse
bach-google-search-pse

🛠️ 可用工具

1. getContentBySubject

通过关键词搜索获取相关内容

参数

  • subject (string): 搜索关键词

2. getContentByUrl

通过 URL 获取网页内容

参数

  • url (string): 网页链接地址

3. getContentByPdfUrl

通过 PDF URL 获取 PDF 文档内容

参数

  • pdfUrl (string): PDF 文件链接地址

📚 使用示例

在 AI 助手中使用:

"帮我搜索最新的人工智能新闻"
"获取这个网页的内容:https://example.com"
"解析这个 PDF 文件:https://example.com/document.pdf"

🔗 相关链接

📄 许可证

MIT License

👨‍💻 作者

bachstudio

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bach_google_search_pse-0.2.3.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bach_google_search_pse-0.2.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file bach_google_search_pse-0.2.3.tar.gz.

File metadata

  • Download URL: bach_google_search_pse-0.2.3.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for bach_google_search_pse-0.2.3.tar.gz
Algorithm Hash digest
SHA256 9c0ea7d8778e855eed06f029c07fd7a6d935c6d9ebf9fd1cec7972b0a4a99e13
MD5 5869548efd7d8cac0dce15a3943f4eec
BLAKE2b-256 907f44d5ab1e0831b599b1ef4bacd6a4904d0d5b3b5d3cf86cc590d3e82837c7

See more details on using hashes here.

File details

Details for the file bach_google_search_pse-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for bach_google_search_pse-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2d014946d1640d595cd777a4375257a46a96aea18d4515182ae2a3a0fe72eff8
MD5 aa60458cfb4e5dfbf799101cd992f384
BLAKE2b-256 c2f17ebabcdd53ea636239f6a6a96a122bba4dbfd722f57c0ab027423774904f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page