Skip to main content

Google Custom Search MCP

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

v1.1.1Updated Oct 31, 2026stdio · npm

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

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add mcp-google-custom-search -e 'GOOGLE_CUSTOM_SEARCH_API_KEY=<your-google-custom-search-api-key>' -e GOOGLE_CUSTOM_SEARCH_API_BASE=https://customsearch.googleapis.com -e GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS=30000 -e GOOGLE_CUSTOM_SEARCH_MAX_RETRIES=3 -- npx -y [email protected]

Configuration

5 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • GOOGLE_CUSTOM_SEARCH_API_KEY
    Env var· required· secret
    Google Cloud API key with the Custom Search API enabled. Treat it as a secret.
  • GOOGLE_CUSTOM_SEARCH_ENGINE_ID
    Env var· optional
    Default Programmable Search Engine id (cx). Tools accept a per-call engine_id override.
  • GOOGLE_CUSTOM_SEARCH_API_BASE
    Env var· optional
    API root override.Default: https://customsearch.googleapis.com
  • GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS
    Env var· optional
    Per-request timeout in milliseconds.Default: 30000
  • GOOGLE_CUSTOM_SEARCH_MAX_RETRIES
    Env var· optional
    Retries on transient errors (429, and 5xx/network — the API is idempotent GETs only).Default: 3

Listed in the official MCP Registry since Oct 31, 2026. Mirrored daily; last checked Nov 26, 2026.