Skip to content

Google Custom Search MCP for Grok

io.github.a1-x-tech/mcp-google-custom-search

MCP server for Google Custom Search: web and image search via a Programmable Search Engine.

client:Grok transport:stdio runtime:npm

Install Google Custom Search MCP in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-google-custom-search": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-custom-search"
      ],
      "env": {
        "GOOGLE_CUSTOM_SEARCH_API_KEY": "<GOOGLE_CUSTOM_SEARCH_API_KEY>",
        "GOOGLE_CUSTOM_SEARCH_ENGINE_ID": "<GOOGLE_CUSTOM_SEARCH_ENGINE_ID>",
        "GOOGLE_CUSTOM_SEARCH_API_BASE": "<GOOGLE_CUSTOM_SEARCH_API_BASE>",
        "GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS": "<GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS>",
        "GOOGLE_CUSTOM_SEARCH_MAX_RETRIES": "<GOOGLE_CUSTOM_SEARCH_MAX_RETRIES>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Google Custom Search MCP in other clients