serpgrab: Google Search and Maps

السجل الرسمي البحث والويب

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

ماذا يمكنك أن تفعل مع serpgrab: Google Search and Maps؟

  • google_search: Google web results (title, URL, date, snippet), plus the AI Overview,
  • google_maps_search: businesses and places from Google Maps, 20 a page, with rating,

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http serpgrab-google-search-and-maps 'https://api.serpgrab.com/mcp' --header 'X-API-Key: <Your serpgrab API key (250 free searches a month at https://serpgrab.com/#signup)>'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "serpgrab-google-search-and-maps": {
            "type": "http",
            "url": "https://api.serpgrab.com/mcp",
            "headers": {
                "X-API-Key": "<Your serpgrab API key (250 free searches a month at https://serpgrab.com/#signup)>"
            }
        }
    }
}
Remote (streamable-http)
Claude Code
claude mcp add --transport http serpgrab-google-search-and-maps 'https://google-serp-search-results-json.p.rapidapi.com/mcp' --header 'X-RapidAPI-Key: <Your RapidAPI key, for subscribers to the Pro plan (https://serpgrab.com/upgrade)>' --header 'X-RapidAPI-Host: <RapidAPI'\''s host for this API>'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "serpgrab-google-search-and-maps": {
            "type": "http",
            "url": "https://google-serp-search-results-json.p.rapidapi.com/mcp",
            "headers": {
                "X-RapidAPI-Key": "<Your RapidAPI key, for subscribers to the Pro plan (https://serpgrab.com/upgrade)>",
                "X-RapidAPI-Host": "<RapidAPI's host for this API>"
            }
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. serpgrab MCP server
  2. Tools
  3. Get a key
  4. Setup
  5. Pro plan on RapidAPI
  6. Transport
  7. The API underneath
  8. Help
  9. License

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.

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
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
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:

{
  "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:

{
  "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:

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

In ~/.codex/config.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:

{
  "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:

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: hello@serpgrab.com.

License

The docs and examples in this repository are MIT licensed.

الأسئلة الشائعة

ما هو serpgrab: Google Search and Maps؟

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

كيف أثبّت serpgrab: Google Search and Maps؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http serpgrab-google-search-and-maps 'https://api.serpgrab.com/mcp' --header 'X-API-Key: <Your serpgrab API key (250 free searches a month at https://serpgrab.com/#signup)>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج serpgrab: Google Search and Maps إلى مفتاح API؟

نعم. يتطلب X-API-Key, X-RapidAPI-Key, X-RapidAPI-Host، وتضبطها في إعداداته.

هل serpgrab: Google Search and Maps مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون serpgrab: Google Search and Maps؟

ينشره Fiery-Tools. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.