loading…
Search for a command to run...
loading…
Provides read-only access to Google Search Console data, allowing AI assistants to query site performance metrics like keywords, clicks, and rankings using natu
Provides read-only access to Google Search Console data, allowing AI assistants to query site performance metrics like keywords, clicks, and rankings using natural language. It supports listing verified properties, querying search analytics with dimension filters, and retrieving sitemap information.
An MCP server that gives AI assistants read-only access to your Google Search Console data. Ask questions about your site's search performance in natural language — keywords, clicks, impressions, CTR, rankings, sitemaps, and more.
| Tool | Description |
|---|---|
list_sites |
Lists all verified Search Console properties with permission levels |
query_search_analytics |
Query keyword/page data — clicks, impressions, CTR, average position. Supports filtering by dimension, date range, search type, and pagination |
list_sitemaps |
Lists submitted sitemaps for a property |
git clone https://github.com/chrishart0/searchconsole-mcp.git
cd searchconsole-mcp
uv sync
This server uses Google Application Default Credentials. Choose one:
Option A — Service account key (recommended for automation):
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account-key.json
Option B — User credentials (recommended for local development):
gcloud auth application-default login \
--scopes="https://www.googleapis.com/auth/webmasters.readonly"
The service account or user must have access to the Search Console properties you want to query.
Add to ~/.claude.json:
{
"mcpServers": {
"searchconsole-mcp": {
"type": "stdio",
"command": "uv",
"args": ["run", "--directory", "/path/to/searchconsole-mcp", "searchconsole-mcp"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/key.json"
}
}
}
}
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"searchconsole-mcp": {
"command": "uv",
"args": ["run", "--directory", "/path/to/searchconsole-mcp", "searchconsole-mcp"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/key.json"
}
}
}
}
Any MCP-compatible client can connect over stdio. Run the server with:
uv run --directory /path/to/searchconsole-mcp searchconsole-mcp
Once connected, try asking your AI assistant:
uv sync --dev
uv run pytest
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"searchconsole-mcp": {
"command": "npx",
"args": []
}
}
}