Install Google Custom Search MCP for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
- Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
- Paste the JSON config below.
- Replace placeholder secrets, then restart the client if it does not reload on its own.
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"a1-x-tech-mcp-google-custom-search": {
"command": "npx",
"args": [
"-y",
"mcp-google-custom-search@1.0.0"
],
"env": {
"GOOGLE_CUSTOM_SEARCH_API_KEY": "YOUR_GOOGLE_CUSTOM_SEARCH_API_KEY",
"GOOGLE_CUSTOM_SEARCH_ENGINE_ID": "",
"GOOGLE_CUSTOM_SEARCH_API_BASE": "https://customsearch.googleapis.com",
"GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS": "30000",
"GOOGLE_CUSTOM_SEARCH_MAX_RETRIES": "3"
}
}
}
}