Google Custom Search MCP

io.github.A1-x-Tech/mcp-google-custom-search

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "mcp-google-custom-search": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-custom-search@1.1.1"
      ],
      "env": {
        "GOOGLE_CUSTOM_SEARCH_API_KEY": "<your GOOGLE_CUSTOM_SEARCH_API_KEY>",
        "GOOGLE_CUSTOM_SEARCH_API_BASE": "https://customsearch.googleapis.com",
        "GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS": "30000",
        "GOOGLE_CUSTOM_SEARCH_MAX_RETRIES": "3"
      }
    }
  }
}
Environment variables
  • GOOGLE_CUSTOM_SEARCH_API_KEYrequiredsecretGoogle Cloud API key with the Custom Search API enabled. Treat it as a secret.
  • GOOGLE_CUSTOM_SEARCH_API_BASEAPI root override.
  • GOOGLE_CUSTOM_SEARCH_TIMEOUT_MSPer-request timeout in milliseconds.
  • GOOGLE_CUSTOM_SEARCH_MAX_RETRIESRetries on transient errors (429, and 5xx/network — the API is idempotent GETs only).

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Search & Web
Version
1.1.1
Registry
active
Published
10/31/2026
Browse all Search & Web →

Add the badge to your site

Show visitors that Google Custom Search MCP is listed here — it’s also the link we check for a free listing.

Google Custom Search MCP — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-a1-x-tech-mcp-google-custom-search?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Google Custom Search MCP — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Google Custom Search MCP — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-a1-x-tech-mcp-google-custom-search?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.