Google Custom Search MCP
An MCP server that enables AI applications to perform web and image searches using the Google Custom Search JSON API. It supports pagination, language and country filters, SafeSearch, and allows users to define search coverage via a Programmable Search Engine. The server uses API key authentication and provides read-only tools for searching pages and retrieving image thumbnails.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Search the web for recent articles about a specific topic with language and date filters
- Find large press photos on a topic and retrieve image files with thumbnails
- Page through search results using next_start cursor to view subsequent pages
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
mcp-google-custom-search 1.1.1
{
"version": "1.1.1",
"transport": "stdio",
"identifier": "mcp-google-custom-search",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "GOOGLE_CUSTOM_SEARCH_API_KEY",
"isRequired": true,
"description": "Google Cloud API key with the Custom Search API enabled. Treat it as a secret."
},
{
"name": "GOOGLE_CUSTOM_SEARCH_ENGINE_ID",
"description": "Default Programmable Search Engine id (cx). Tools accept a per-call engine_id override."
},
{
"name": "GOOGLE_CUSTOM_SEARCH_API_BASE",
"default": "https://customsearch.googleapis.com",
"description": "API root override."
},
{
"name": "GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS",
"default": "30000",
"description": "Per-request timeout in milliseconds."
},
{
"name": "GOOGLE_CUSTOM_SEARCH_MAX_RETRIES",
"default": "3",
"description": "Retries on transient errors (429, and 5xx/network — the API is idempotent GETs only)."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"google-custom-search-mcp": {
"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_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>"
}
}
}
}Cline
{
"mcpServers": {
"google-custom-search-mcp": {
"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_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>"
}
}
}
}VS Code
{
"servers": {
"google-custom-search-mcp": {
"type": "stdio",
"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_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>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"google-custom-search-mcp": {
"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_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>"
}
}
}
}Let your agent find its tools
Find servers like Google Custom Search MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.