Google Custom Search MCP MCP Server
io.github.A1-x-Tech/mcp-google-custom-search
What this kind of tool is for
- Let your agent search the web or a document set and cite what it found.
- Pull structured facts out of pages instead of copy-pasting by hand.
- Track changes on a topic over days without re-reading everything.
How to compare servers like this
- Source coverage:
- Check which engines, sites, or document types the tool can actually reach.
- Citation behavior:
- Prefer tools that return links you can open, not just summarized claims.
- Terms of service:
- Some sources forbid automated access; make sure the tool stays inside them.
- Maintenance signal:
- Scrapers break silently when pages change; recent commits are the best proxy.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
What is the Google Custom Search MCP MCP server?
MCP server for Google Custom Search: web and image search via a Programmable Search Engine.
How to install Google Custom Search MCP
Copy-paste configuration for popular MCP clients.
GOOGLE_CUSTOM_SEARCH_API_KEYrequiredsecretGoogle Cloud API key with the Custom Search API enabled. Treat it as a secret.
GOOGLE_CUSTOM_SEARCH_ENGINE_IDDefault Programmable Search Engine id (cx). Tools accept a per-call engine_id override.
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).
{
"mcpServers": {
"mcp-google-custom-search": {
"command": "npx",
"args": [
"-y",
"mcp-google-custom-search"
],
"env": {
"GOOGLE_CUSTOM_SEARCH_API_KEY": "<YOUR_GOOGLE_CUSTOM_SEARCH_API_KEY>",
"GOOGLE_CUSTOM_SEARCH_ENGINE_ID": "<YOUR_GOOGLE_CUSTOM_SEARCH_ENGINE_ID>",
"GOOGLE_CUSTOM_SEARCH_API_BASE": "<YOUR_GOOGLE_CUSTOM_SEARCH_API_BASE>",
"GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS": "<YOUR_GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS>",
"GOOGLE_CUSTOM_SEARCH_MAX_RETRIES": "<YOUR_GOOGLE_CUSTOM_SEARCH_MAX_RETRIES>"
}
}
}
}Related MCP servers

Google Docs MCP
MCP server for the Google Docs API: read and edit documents, styles, tables, images, comments.

Google Drive MCP
MCP server for the Google Drive API: search, upload, download, organize and share files.

Google Forms MCP
MCP server for the Google Forms API: create forms, manage questions, read responses and watches.

Gmail MCP
MCP server for the Gmail API: search, read and send email, manage drafts, labels and the trash.

MCP server for Google Merchant Center (Merchant API v1): products, promotions, reports, issues.

MCP server for the Google Search Console API: search analytics, sitemaps, URL inspection, sites.