serpgrab: Google Search and Maps

com.serpgrab由 serpgrab.com 发布官方发布者v0.1.2更新于 Oct 25, 2026

Real-time Google search (AI Overview, answer box, People also ask) and Google Maps places.

已验证Streamable HTTP可网页运行位置与生活网页搜索与抓取

概览

AI 生成的概览

托管式 MCP 服务器,通过两个工具让助手获取实时 Google 网页搜索结果和 Google 地图地点信息。

可以做什么
执行 Google 网页搜索,返回标题、网址、日期和摘要,并在 Google 展示时附带 AI 概览、答案框、知识面板、本地结果包、广告和“其他人还问”;可控制页数、国家、语言、搜索地点和时间范围。搜索 Google 地图上的商家和地点,每页 20 条,含评分、评论数、价格、地址、电话、营业时间、网站、坐标和 place_id;可按查询词或地图坐标定位。结果以适合模型上下文的紧凑文本返回,而非原始 JSON。
适用场景
适合助手需要最新网页结果或本地商家与地点详情的场景,例如回答能受益于 AI 概览的提问式查询,或查找并比较某区域的商家。
运行要求
远程 streamable HTTP 端点,无需安装。运行工具需要 serpgrab API 密钥,通过 X-API-Key 请求头传递(仅列出工具无需密钥);免费额度为每月 250 次搜索。RapidAPI Pro 订阅者改用 X-RapidAPI-Key 和 X-RapidAPI-Host。仅接受网址的客户端可将密钥作为查询参数传入;仅支持 stdio 的客户端需经 mcp-remote 连接。
安装前请注意
需要 API 密钥,应妥善保密;仅接受网址的客户端会把密钥存进网址并随设置保存。每读取一页结果计一次计费搜索,Pro 方案每月 15 美元含 5,000 次搜索。在 RapidAPI 上,连接和每次工具调用都会计入方案的请求数。查询词和搜索参数会发送给第三方服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 serpgrab: Google Search and Maps,将其添加到工作区。
  2. 连接 X-API-Key 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.serpgrab%2Fgoogle-search/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "serpgrab-google-search-and-maps": {
      "type": "http",
      "url": "https://api.serpgrab.com/mcp",
      "headers": {
        "X-API-Key": "<YOUR_API_KEY>"
      }
    }
  }
}

README

serpgrab MCP server

A hosted MCP server that gives AI agents real-time Google search and Google Maps results, from serpgrab. There is nothing to install: add one URL to your MCP client.

https://api.serpgrab.com/mcp

This repository holds the setup docs and client config examples. The server itself runs on our infrastructure and is not open source. It is listed in the official MCP registry as com.serpgrab/google-search.

Tools

  • google_search: Google web results (title, URL, date, snippet), plus the AI Overview, answer box, knowledge panel, local pack, ads and "People also ask" when Google shows them.
  • google_maps_search: businesses and places from Google Maps, 20 a page, with rating, reviews, price, address, phone, hours, website, coordinates and place_id.

Results come back as compact text written for a model's context, not raw JSON.

google_search

ArgumentDefault
query(required)The search, as typed into Google
pages1Result pages to read, 1-3 (about 10 results each)
countryusTwo-letter country Google searches from (gl)
languageenInterface language (hl)
locationSearch as if from a place, e.g. Austin, Texas, United States
timehour, day, week, month or year: only recent results

google_maps_search

ArgumentDefault
query(required)What to look for, e.g. pizza in austin tx
llMap position, @latitude,longitude,zoomz, e.g. @30.2672,-97.7431,14z
page1Results page, 20 places each
countryusTwo-letter country (gl)
languageenInterface language (hl)

Get a key

Free: 250 searches a month, email signup, no card: https://serpgrab.com/#signup

Connecting and listing the tools work without a key; running a tool needs one. Each results page the agent reads is one search.

Setup

Replace YOUR_KEY with your serpgrab key.

Claude Code

bash
claude mcp add --transport http serpgrab https://api.serpgrab.com/mcp \  --header "X-API-Key: YOUR_KEY"

Cursor

In ~/.cursor/mcp.json, or .cursor/mcp.json in a project:

json
{  "mcpServers": {    "serpgrab": {      "url": "https://api.serpgrab.com/mcp",      "headers": { "X-API-Key": "YOUR_KEY" }    }  }}

VS Code

In .vscode/mcp.json, or run MCP: Open User Configuration:

json
{  "servers": {    "serpgrab": {      "type": "http",      "url": "https://api.serpgrab.com/mcp",      "headers": { "X-API-Key": "YOUR_KEY" }    }  }}

Windsurf

In Cascade's MCP menu, choose Open MCP config file and add:

json
{  "mcpServers": {    "serpgrab": {      "serverUrl": "https://api.serpgrab.com/mcp",      "headers": { "X-API-Key": "YOUR_KEY" }    }  }}

Codex

In ~/.codex/config.toml:

toml
[mcp_servers.serpgrab]url = "https://api.serpgrab.com/mcp"http_headers = { "X-API-Key" = "YOUR_KEY" }

Claude.ai, Claude Desktop, ChatGPT and other clients that only take a URL

Put the key in the URL and choose no authentication:

https://api.serpgrab.com/mcp?api_key=YOUR_KEY
  • Claude.ai and Claude Desktop: Settings › Connectors › Add custom connector.
  • ChatGPT: turn on developer mode, then Settings › Connectors › Create.

We don't log keys sent in the URL, but the client stores the URL with its settings, so keep it as private as the key.

Clients that only speak stdio

Connect through mcp-remote:

json
{  "mcpServers": {    "serpgrab": {      "command": "npx",      "args": ["-y", "mcp-remote", "https://api.serpgrab.com/mcp", "--header", "X-API-Key:YOUR_KEY"]    }  }}

Pro plan on RapidAPI

Pro is $15 a month for 5,000 searches, on RapidAPI. Subscribers connect through RapidAPI's gateway with their RapidAPI key:

bash
claude mcp add --transport http serpgrab https://google-serp-search-results-json.p.rapidapi.com/mcp \  --header "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \  --header "X-RapidAPI-Host: google-serp-search-results-json.p.rapidapi.com"

RapidAPI counts every request to the server, so connecting uses about three of your plan's requests, and each tool call one more.

Transport

Streamable HTTP, stateless, with JSON replies (no SSE stream). Only POST is used.

The API underneath

serpgrab returns Google results in SerpApi's JSON format, so the same key also works for your own code: see the migration guide and the OpenAPI spec.

Help

Setup page: https://serpgrab.com/mcp. Questions or a tool you'd like: [email protected].

License

The docs and examples in this repository are MIT licensed.

来源:README.md,提交 570db58

工具

2

版本历史

3
  1. v0.1.2最新Oct 25, 2026
  2. v0.1.1Oct 21, 2026
  3. v0.1.0Oct 21, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分