Google Search Console MCP server
{
"mcpServers": {
"a1-x-tech-google-search-console": {
"command": "npx",
"args": [
"-y",
"mcp-google-search-console@latest"
],
"env": {
"GOOGLE_SEARCH_CONSOLE_CLIENT_ID": "<google_search_console_client_id>",
"GOOGLE_SEARCH_CONSOLE_CLIENT_SECRET": "<google_search_console_client_secret>",
"GOOGLE_SEARCH_CONSOLE_REFRESH_TOKEN": "<google_search_console_refresh_token>",
"GOOGLE_SEARCH_CONSOLE_ACCESS_TOKEN": "<google_search_console_access_token>"
}
}
}
}{
"mcpServers": {
"a1-x-tech-google-search-console": {
"command": "npx",
"args": [
"-y",
"mcp-google-search-console@latest"
],
"env": {
"GOOGLE_SEARCH_CONSOLE_CLIENT_ID": "<google_search_console_client_id>",
"GOOGLE_SEARCH_CONSOLE_CLIENT_SECRET": "<google_search_console_client_secret>",
"GOOGLE_SEARCH_CONSOLE_REFRESH_TOKEN": "<google_search_console_refresh_token>",
"GOOGLE_SEARCH_CONSOLE_ACCESS_TOKEN": "<google_search_console_access_token>"
}
}
}
}{
"mcpServers": {
"a1-x-tech-google-search-console": {
"command": "npx",
"args": [
"-y",
"mcp-google-search-console@latest"
],
"env": {
"GOOGLE_SEARCH_CONSOLE_CLIENT_ID": "<google_search_console_client_id>",
"GOOGLE_SEARCH_CONSOLE_CLIENT_SECRET": "<google_search_console_client_secret>",
"GOOGLE_SEARCH_CONSOLE_REFRESH_TOKEN": "<google_search_console_refresh_token>",
"GOOGLE_SEARCH_CONSOLE_ACCESS_TOKEN": "<google_search_console_access_token>"
}
}
}
}{
"servers": {
"a1-x-tech-google-search-console": {
"command": "npx",
"args": [
"-y",
"mcp-google-search-console@latest"
],
"env": {
"GOOGLE_SEARCH_CONSOLE_CLIENT_ID": "${input:google_search_console_client_id}",
"GOOGLE_SEARCH_CONSOLE_CLIENT_SECRET": "${input:google_search_console_client_secret}",
"GOOGLE_SEARCH_CONSOLE_REFRESH_TOKEN": "${input:google_search_console_refresh_token}",
"GOOGLE_SEARCH_CONSOLE_ACCESS_TOKEN": "${input:google_search_console_access_token}"
}
}
},
"inputs": [
{
"id": "google_search_console_client_id",
"type": "promptString",
"description": "Google search console client id",
"password": true
},
{
"id": "google_search_console_client_secret",
"type": "promptString",
"description": "Google search console client secret",
"password": true
},
{
"id": "google_search_console_refresh_token",
"type": "promptString",
"description": "Google search console refresh token",
"password": true
},
{
"id": "google_search_console_access_token",
"type": "promptString",
"description": "Google search console access token",
"password": true
}
]
}{
"mcpServers": {
"a1-x-tech-google-search-console": {
"command": "npx",
"args": [
"-y",
"mcp-google-search-console@latest"
],
"env": {
"GOOGLE_SEARCH_CONSOLE_CLIENT_ID": "<google_search_console_client_id>",
"GOOGLE_SEARCH_CONSOLE_CLIENT_SECRET": "<google_search_console_client_secret>",
"GOOGLE_SEARCH_CONSOLE_REFRESH_TOKEN": "<google_search_console_refresh_token>",
"GOOGLE_SEARCH_CONSOLE_ACCESS_TOKEN": "<google_search_console_access_token>"
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall npx -y mcp-google-search-consoleversion 1.1.0
What it does
MCP server that connects AI apps to Google Search Console, exposing search analytics, URL inspection, sitemap management and property administration. Intended for developers who need programmatic access to Search Console data and operations.
- Analyze search performance by querying clicks, impressions, CTR and position grouped by date, page, query, country, device or search appearance.
- Check indexing status of specific URLs and retrieve information about crawl history, coverage issues and canonical URLs.
- Manage sitemaps by viewing submitted sitemaps, their status and errors, then submitting or removing them.
Tools this server exposes
| Tool | Does |
|---|---|
| list_sites | List all Search Console properties accessible to the Google account. |
| get_search_analytics | Query search performance data including clicks, impressions, CTR and position, grouped by date, page, query, country, device or search appearance. |
| inspect_url | Check whether a URL is indexed and retrieve Google's current indexing status, crawl details and canonical information. |
| list_sitemaps | List submitted sitemaps for a property and their current status. |
| submit_sitemap | Submit or resubmit a sitemap for a property. |
| delete_sitemap | Remove a submitted sitemap from a property. |
| add_site | Add a new Search Console property. |
| delete_site | Remove a Search Console property. |
| request_index_crawl | Request Google to crawl a specific URL. |
| call_api | Call an arbitrary Google Search Console API method. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.