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.5.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.5-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for bach_google_search_pse-0.2.5.tar.gz
Algorithm Hash digest
SHA256 42579f186a4693e2df03d1056a5b6dda42c8f46452c15743e95abfb2be659e92
MD5 b2c972ca77be37b2057d440c1332f6cd
BLAKE2b-256 60f3d40d2c74abc44064668a40b56c0618fc6b00be8beec5265c581020d751e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bach_google_search_pse-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 77585bc2385b399bacbda05319d1590673d402ca545c33f60c687281ec06b706
MD5 db7966df266ad6e070d1d9cae2344fb7
BLAKE2b-256 25eec9a639e1ff5df4ab35261e33d681cdf52d432148bcc3e474349070cdaac6

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