Claude 对接 Google 搜索 MCP

📘 总览指南:在 Claude 里用 Ace Data Cloud MCP →

通过 Serp MCP,Claude 可以检索网页、新闻、图片、视频和地点,并使用结构化搜索结果回答需要最新信息的问题。

什么是 MCP?

MCP(Model Context Protocol)是 Anthropic 推出的开放协议,让 Claude 这类模型可以通过标准接口调用外部工具。简单理解:给 Claude 装上插件能力。

Ace Data Cloud 把 Google Serp 的核心能力封装成了一个远程 MCP Server,挂上去之后 Claude 就能直接:

  • 网页搜索(serp_google_search)
  • 新闻搜索(serp_google_news)
  • 图片搜索(serp_google_images)
  • 视频搜索(serp_google_videos)
  • 地图 / POI 搜索(serp_google_maps、serp_google_places)
  • 列出可用国家 / 语言 / 时间范围 / 搜索类型(serp_list_countries、serp_list_languages、serp_list_time_ranges、serp_list_search_types)
  • 查阅使用指南(serp_get_usage_guide)

整套接入只需一个 URL,剩下交给 Claude。

在 Claude.ai 网页版添加 Serp MCP

💡 Claude.ai 网页版接入是 OAuth 直连,不需要复制 API Token。你只需要一个能登录 Ace Data Cloud 的账号(GitHub / Google / 微信均可)。

1. 打开 Connectors 设置

登录 https://claude.ai,点左下角头像 → Settings → Customize → Connectors,或直接访问 https://claude.ai/customize/connectors。

⚠️ 旧入口 /settings/connectors 已经迁移到 /customize/connectors,访问旧地址会看到一条 "Connectors have moved to Customize" 的提示。

2. 添加 Serp MCP Server

点击右上角加号 → Add custom connector,在弹出对话框里填:

字段 值
Name Serp(随便取)
URL https://serp.mcp.acedata.cloud/mcp

点 Add,Claude 会自动发现 Server 暴露的全部工具。

3. OAuth 授权

点 Connect → 跳转到 Ace Data Cloud OAuth 授权页 → 用账号登录、点 Allow 即可。如果还没有账号,可在 Ace Data Cloud 完成注册。

4. 检查工具列表

授权完成后回到 Claude.ai,点开 Serp Connector,确认状态为 Connected。工具列表由 Server 动态提供;常用能力包括网页、新闻、图片、视频和地点搜索。是否允许工具自动运行,请按任务敏感度和自己的权限偏好设置。

使用示例

Prompt: Use Serp to do a Google search for the latest news about Claude MCP protocol. Return the top 5 organic results with title, link, and a one-line snippet.

Claude 会调用搜索工具,并把返回结果整理成标题、链接和摘要。对于重要结论,仍应打开来源页面核对发布日期和原文。

更多玩法(同样一个 Connector)

把 prompt 换成下面这些,Claude 会自动选合适的工具:

新闻 / 时间范围限定

Use Serp google_news to find the top 10 news articles about "OpenAI" from the past 24 hours, in English.

→ Claude 调 serp_list_time_ranges 拿到合法值后,再用 serp_google_news 拉新闻。

地点 + POI 搜索

Use Serp to find the top 5 highly-rated ramen restaurants near Shibuya station, Tokyo.

→ Claude 调 serp_google_maps / serp_google_places,返回评分、地址、营业时间。

图片 / 视频检索

Find 5 Creative Commons licensed photos of red pandas using Serp google_images.

→ Claude 用 serp_google_images 查询并带回缩略图链接。

多语言 + 多区域

List Serp's supported languages and countries first, then search "AI 创业" in zh-CN, region CN, top 5 organic.

→ Claude 先调 serp_list_languages + serp_list_countries 取合法码,再做本地化搜索。

常见问题

Q:为什么工具仍然要求确认? A:Claude 会按工具和权限设置决定是否要求确认。请在 Connector 的当前工具列表中检查权限;涉及外部写入、发布或费用的操作,建议保留确认。

Q:余额不够怎么办? A:错误信息里会带 insufficient balance。点击「充值」按钮即可。

Q:和直接用搜索引擎插件比有什么优势? A:Serp 直接对接 Google 真实结果,返回结构化字段(title / link / snippet / position / date 等),Claude 可以做下一步聚合、归类、引用,比 "把搜索结果丢回纯文本" 强很多;同时支持新闻 / 图片 / 视频 / 地图等多入口,配合其他 MCP 可以做 "搜 → 抓 → 总结 → 出图" 流水线。

Q:Claude Desktop 和 Claude Code 也能这么用吗? A:能。详见 Claude Desktop + Serp MCP 和 Claude Code + Serp MCP。

相关链接