io.scalably/gsc-mcp
OfficialGoogle Search Console MCP
Read-only MCP server for Google Search Console. Five tools cover the read surface: properties, Search Analytics (filters, auto-pagination past the 25,000-row cap, hourly data), sitemaps, URL inspection, batch inspection with throttling. We run this server in production for every SEO client.
Install
Claude Code:
claude mcp add gsc -e GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json -- uvx scalably-gsc-mcpCodex:
codex mcp add gsc --env GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json -- uvx scalably-gsc-mcpClaude Desktop: download gsc-mcp.mcpb from the latest GitHub release and open it.
Setup
In Google Cloud, create or pick a project and enable the Google Search Console API on it (APIs and Services, Library).
Create a service account in that project and download its JSON key.
Add the service account's email as a user on each Search Console property you want to query (Settings, Users and permissions). Full or restricted permission both work for reading.
No OAuth consent screen is needed; the server authenticates as the service account with the webmasters.readonly scope.
Tools (5)
Tool | What it does |
| List the Search Console properties the service account can read |
| Query Search Analytics with filters, auto-pagination and hourly data |
| List sitemaps for a property or read one sitemap |
| Inspect one URL's index status |
| Inspect many URLs with client-side throttling |
Configuration
Variable | Required | Purpose |
| yes | Path to a Google service-account JSON file with the Search Console read-only scope; share each property with the service account email |
| no | INFO (default) or DEBUG |
| no | Base delay in seconds for the retry backoff on transient API errors (default 1) |
| no | Override the two Google API base URLs (used by the test suite to point at a local fake; leave unset in normal use) |
| no | Test-suite only: a literal bearer token that bypasses the service account. Never set it in normal use |
Reply shape
Every tool returns JSON with status (succeeded, partial, no_op), operation, summary, target, result, proof, warnings, recovery. Failures surface as a tool error whose text is <code>: <message> <hint>. A partial status with proof.nextStartRow means: continue from that row.
Limits
25,000 rows per Search Analytics call (the server auto-paginates past it up to max_rows). URL inspection: Google allows 600 per minute and 2,000 per day per property. The server paces batch inspection client-side (default 8 requests per second) and warns when a batch exceeds the daily quota; it does not track daily usage across calls, so keep your own count.
Verify
Each release lists the package version, the .mcpb sha256 and the production commit it was derived from in CHANGELOG.md. CI runs the tests and a clean install of the built wheel on every push.
Privacy Policy
This server runs locally, on your machine, under your own credentials. It collects no personal data, contains no telemetry, stores nothing persistently, and talks only to the vendor API it wraps. No third party, including Scalably, receives your data. Contact: hello@scalably.io. Canonical copy: https://scalably.io/connector-privacy.html
License
MIT. Copyright Scalably.