Token导航 LogoToken导航

MCP Server · 搜索检索

Google Custom Search Engine MCP Server

一个基于Google自定义搜索引擎的MCP服务器,为LLM提供搜索能力,返回搜索结果但不包含内容,需与其他工具结合使用。

stdio官方级别未说明来源级核验工具 0
搜索引擎搜索功能PythonClaudeAPI集成Cline

快速开始

作者 / 组织
Richard-Weiss
提供方
Richard-Weiss

工具数量

0

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

42

仓库热度

收录来源

2 个

MCP World

选型结论

Google Custom Search Engine MCP Server 属于搜索检索类 MCP Server,公开资料标注 0 个工具,通过stdio 本地进程接入,适配 Claude、Cline,有可以直接复制的安装命令;接入前先确认权限范围。

分类

搜索检索

传输方式

stdio

认证方式

无需认证

部署方式

支持远程部署

安装与配置

安装命令

pip install mcp-google-cse

公开命令不是通用的启动方式,拼不出可靠配置示例;请在客户端 MCP 配置里按官方文档填写 command 和 args。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 对应的运行时,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 0 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

详细介绍

谷歌自定义搜索引擎MCP服务器

使用CSE(自定义搜索引擎)提供搜索功能的模型上下文协议服务器。此服务器使LLM能够提供常规的谷歌搜索词,并返回找到的搜索结果。

该工具只返回结果本身,而不返回内容,该工具应与其他服务器结合使用,如 mcp服务器获取 从搜索结果中提取内容。 您还可以将其与其他工具结合使用,以实现某种“深度搜索”或一般的工具链。

免费配额为每天100次搜索(1次工具调用==1次搜索),如果您不想设置计费,并且这不足以满足您的用例,您应该考虑使用另一台服务器。

可用工具

  • google_search -使用搜索词搜索自定义搜索引擎,并返回包含每个结果的标题、链接和片段的结果列表。

- search_term (string,必填):要搜索的搜索词,等于 查询参数 q 在通常的谷歌搜索中。

环境变量

  • API_KEY (必需):自定义搜索引擎的API键。
  • ENGINE_ID (必填):自定义搜索引擎的引擎ID。
  • SERVICE_NAME (必需/可选):服务的名称,如果您没有更改名称,请留空(customsearch)。
  • COUNTRY_REGION (可选):将搜索结果限制为源自特定国家的文档。看 国家参数值 对于有效值。
  • GEOLOCATION (可选,默认“我们”):执行搜索的最终用户的地理位置。看 地理定位参数值 对于有效值。
  • RESULT_LANGUAGE (可选,默认“lang_en”):搜索结果的语言。看 CSE查询参数,lr 对于有效值。
  • RESULT_NUM (可选,默认值为10):要返回的搜索结果数。范围从1到10。

CSE 设置

创建自定义搜索引擎相对容易,完全免费,可以在5分钟内完成。

  1. 首选https://console.cloud.google.com/并创建一个新项目。例如,可以称之为“克劳德CSE”。
  2. 选择项目并在搜索栏中搜索“自定义搜索API”。
  3. 点击搜索结果,然后点击“启用”。
  4. 单击凭据选项卡并创建一个新的API密钥。
  5. 首选https://programmablesearchengine.google.com创建一个新的自定义搜索引擎。
  6. 创建一个新的搜索引擎并为其命名,该名称与SERVICE_name无关。
  7. 如果您想要正常的谷歌搜索体验,请选择“搜索整个网络”。
  8. 点击“创建”并从js代码中复制引擎id,或点击自定义并从概览中获取。
  9. 您可以根据自己的喜好自定义搜索引擎。

使用默认配额,您每天将免费获得100次搜索。一次工具调用只需要1次搜索,即使你得到10个结果。

安装

使用紫外线(推荐)

使用时 uv 不需要特定的安装。我们将 使用 uvx 直接运行 *mcp谷歌cse*.

使用PIP

或者,您可以安装 mcp-google-cse 通过pip:

pip install mcp-google-cse

安装后,您可以使用以下命令将其作为脚本运行:

python -m mcp-google-cse

通过Smithery安装

通过以下方式自动安装谷歌克劳德桌面自定义搜索引擎 史密瑟里:

npx -y @smithery/cli install @Richard-Weiss/mcp-google-cse --client claude

配置

为Claude应用程序配置

添加到您的 claude_desktop_config.json:

使用uvx(如果你不知道该选哪一个,就用这个)
"mcp-google-cse": {
    "command": "uvx",
    "args": ["mcp-google-cse"],
    "env": {
        "API_KEY": "",
        "ENGINE_ID": ""
    }
}
使用pip安装
"mcp-google-cse": {
    "command": "python",
    "args": ["-m", "mcp-google-cse"],
    "env": {
        "API_KEY": "",
        "ENGINE_ID": ""
    }
}
在本地运行
    "mcp-google-cse": {
      "command": "uv",
      "args": [
        "--directory",
        "{{Path to the cloned repo",
        "run",
        "mcp-google-cse"
      ],
      "env": {
        "API_KEY": "",
        "ENGINE_ID": ""
      }
    }

示例结果

google_search(“2024-11-01之后的MCP是什么”) 结果:

[
    {
        "title": "Can someone explain MCP to me? How are you using it? And what ...",
        "link": "https://www.reddit.com/r/ClaudeAI/comments/1h55zxd/can_someone_explain_mcp_to_me_how_are_you_using/",
        "snippet": "Dec 2, 2024 ... Comments Section ... MCP essentially allows you to give Claude access to various external systems. This can be files on your computer, an API, a browser, a ..."
    },
    {
        "title": "Introducing the Model Context Protocol \\ Anthropic",
        "link": "https://www.anthropic.com/news/model-context-protocol",
        "snippet": "Nov 25, 2024 ... The Model Context Protocol (MCP) is an open standard for connecting AI assistants to the systems where data lives, including content repositories, ..."
    },
    {
        "title": "3.5 Sonnet + MCP + Aider = Complete Game Changer : r ...",
        "link": "https://www.reddit.com/r/ChatGPTCoding/comments/1hwn6qd/35_sonnet_mcp_aider_complete_game_changer/",
        "snippet": "Jan 8, 2025 ... Really cool stuff. For those out of the loop here are some MCP servers. You can give your Claude chat (in the desktop version, or in a tool like Cline) ..."
    },
    {
        "title": "Announcing Spring AI MCP: A Java SDK for the Model Context ...",
        "link": "https://spring.io/blog/2024/12/11/spring-ai-mcp-announcement",
        "snippet": "Dec 11, 2024 ... This SDK will enable Java developers to easily connect with an expanding array of AI models and tools while maintaining consistent, reliable integration ..."
    },
    {
        "title": "Implementing a MCP server in Quarkus - Quarkus",
        "link": "https://quarkus.io/blog/mcp-server/",
        "snippet": "6 days ago ... The Model Context Protocol (MCP) is an emerging standard that enables AI models to safely interact with external tools and resources. In this tutorial, I'll ..."
    },
    {
        "title": "mark3labs/mcp-go: A Go implementation of the Model ... - GitHub",
        "link": "https://github.com/mark3labs/mcp-go",
        "snippet": "Dec 18, 2024 ... A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools."
    },
    {
        "title": "MCP enables Claude to Build, Run and Test Web Apps by Looking ...",
        "link": "https://wonderwhy-er.medium.com/mcp-enable-claude-to-build-run-and-test-web-apps-using-screenshots-3ae06aea6c4a",
        "snippet": "Dec 18, 2024 ... How to Replicate My Experiment on Your Machine. If you're ready to dive into setting up MCP for Claude, follow these steps: ... 2. Download the Project: ... 3."
    },
    {
        "title": "MCP definition and meaning | Collins English Dictionary",
        "link": "https://www.collinsdictionary.com/dictionary/english/mcp",
        "snippet": "2 days ago ... 2 meanings: male chauvinist pig → informal, derogatory a man who exhibits male chauvinism Abbreviation: MCP.... Click for more definitions."
    },
    {
        "title": "What is Anthropic's New MCP Standard and How Can It Improve ...",
        "link": "https://dappier.medium.com/what-is-anthropics-new-mcp-standard-and-how-can-it-improve-your-ai-agent-be6f6c72eb6a",
        "snippet": "Nov 26, 2024 ... Anthropic has released a new protocol, MCP, for connecting AI agents to data sets. This blog explores when and why developers might use MCP to improve their ..."
    },
    {
        "title": "Mostafa Gharib on LinkedIn: What is MCP and how it works",
        "link": "https://www.linkedin.com/posts/mostafa-gharib_what-is-mcp-and-how-it-works-activity-7274301560594026497-p_yq",
        "snippet": "Dec 15, 2024 ... ... MCP Host can use. (Bonus: SDKs in Python and TypeScript make it easy to build these servers!) 2️⃣ MCP Clients These interact with MCP Servers via the protocol."
    }
]

工具与能力

工具数量

0

资源数量

0

提示词数量

0

能力标签

搜索引擎Python本地部署MCP服务器LLM工具API集成搜索功能

支持客户端

ClaudeCline

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

查资料带出处

把网页、论文和文档的检索结果连同链接一起带回对话。

站内知识检索

在自己的文档库里做语义搜索,比关键词更贴题。

事实核对

交叉多个来源确认一条信息,减少模型凭记忆作答。

选择建议

值得选的地方

  • 只提供 0 个工具,职责集中,接入后不容易误操作。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 已经适配 Claude、Cline,换客户端不用重新研究配置。

先想清楚的地方

  • stdio 方式要求本地装好 运行环境,换机器要重新装一遍。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

  • 需要在搜索检索场景里让模型直接调用外部能力的人。
  • 已经在用 Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
Google Custom Search Engine MCP Server

MCP World · 本页

0stdio有2 个2026-05-17
Baidu Netdisk

MCP World

未标注未说明未标注1 个2026-05-17
Sequentialthinking

MCP.so

1SSE有2 个2026-05-17
Brave Search 433812ff

MCP World

2未说明未标注1 个2026-05-17
mindsdb (430e18)

MCP World

0未说明有1 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

Google Custom Search Engine MCP Server 怎么安装?

公开资料给出的安装命令是 pip install mcp-google-cse,运行环境为 未标注。装完后按客户端要求写进 MCP 配置,重启客户端生效。

Google Custom Search Engine MCP Server 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 未标注;保存后完全退出客户端再打开,配置才会生效。

Google Custom Search Engine MCP Server 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Google Custom Search Engine MCP Server 需要 API Key 吗?

公开资料标注为无需认证,装好就能连;如果实际调用时报鉴权错误,按官方文档补上凭据。

Google Custom Search Engine MCP Server 支持哪些客户端?

公开资料标注支持 Claude、Cline;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

来源信息

继续浏览同类 MCP