Google Search Console MCP · surendranb — Claude Code MCP server
Google Search Console MCP is an MCP server for Claude Code that connects an AI agent to Search Console data for reviewing organic search metrics, inspecting URLs, and managing XML sitemaps.
MIT ★ 43 updated 2026-10-28
claude mcp add --env GOOGLE_APPLICATION_CREDENTIALS=<GOOGLE_APPLICATION_CREDENTIALS> --transport stdio surendranb-google-search-console-mcp -- uvx google-search-console-mcpWhat Google Search Console MCP does
The server returns clicks, impressions, CTR, and average position, grouped by search query, page, country, device, or date. It can also list verified Search Console properties and inspect a URL for indexing state, crawl problems, canonicalization, and mobile usability.
You can retrieve submitted XML sitemaps, send a new one, or remove an outdated entry. Other tools load SEO diagnostic playbooks and show which analytical skills are available. Set GOOGLE_APPLICATION_CREDENTIALS for access. The package gathers anonymous diagnostic telemetry; set DO_NOT_TRACK=1 or MCP_TELEMETRY_OPT_OUT=1 to opt out.
Claude Code runs the server through uvx. It needs Google credentials to access Search Console.
What it helps with
- compare clicks and impressions across search queries
- inspect a URL for indexing and crawl issues
- review submitted XML sitemaps
- submit a new sitemap to Search Console
- remove an outdated sitemap entry
Example prompts for the agent
- Compare clicks, impressions, and average position by query for this site over the selected dates.
- Check whether this URL is indexed and report crawl or canonicalization issues.
- List the site's sitemaps and remove the obsolete one.
How to install Google Search Console MCP
Platform CLI
claude mcp add --env GOOGLE_APPLICATION_CREDENTIALS=<GOOGLE_APPLICATION_CREDENTIALS> --transport stdio surendranb-google-search-console-mcp -- uvx google-search-console-mcpReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from google-search-console-mcp <command>
Platform CLI
codex mcp add surendranb-google-search-console-mcp --env GOOGLE_APPLICATION_CREDENTIALS=<GOOGLE_APPLICATION_CREDENTIALS> -- uvx google-search-console-mcpReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from google-search-console-mcp <command>
Config file
{
"mcpServers": {
"surendranb-google-search-console-mcp": {
"command": "uvx",
"args": [
"google-search-console-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>"
}
}
}
}Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from google-search-console-mcp <command>
Config file
{
"servers": {
"surendranb-google-search-console-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"google-search-console-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>"
}
}
}
}Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from google-search-console-mcp <command>
Platform CLI
gemini mcp add -e GOOGLE_APPLICATION_CREDENTIALS=<GOOGLE_APPLICATION_CREDENTIALS> surendranb-google-search-console-mcp uvx google-search-console-mcpReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from google-search-console-mcp <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Google Search Console MCP
How do I install Google Search Console MCP in Claude Code?
Run claude mcp add google-search-console-mcp -- uvx google-search-console-mcp. To pass the credentials path, use `claude mcp add --env GOOGLE_APPLICATION_CREDENTIALS=<GOOGLE_APPLICATION_CREDENTIALS> --transport stdio surendranb-google-search-console-mcp -- uvx google-search-console-mcp`.
What does Google Search Console MCP do?
It gives an agent tools to analyze search metrics, inspect URLs, and manage XML sitemaps in Google Search Console.
What credentials does it need?
Set GOOGLE_APPLICATION_CREDENTIALS to the path of the Google credentials file used for access.
Similar MCP servers
All MCP servers for SEO and GEO →Google Search Console MCP by other authors comes first.