# Google Search Console MCP: an MCP server by Scalably

Canonical: https://scalably.io/mcp/gsc-mcp
Source: https://github.com/scalably-io/gsc-mcp
Registry: https://registry.modelcontextprotocol.io/v0.1/servers/io.scalably%2Fgsc-mcp/versions/1.0.1
Provenance: derived from `container/tools/gsc-mcp/server.py` at `ef174fc3` (2026-08-31) in the private ScalablyAI repository
Integrity: sha256 of the raw README served at https://scalably.io/mcp/gsc-mcp.md is eeaccbafedb5b1d094250dcbdd612f0d2aa0d262b39ebd8c4f819faf73bdcd0a. Verify: curl -s https://scalably.io/mcp/gsc-mcp.md | shasum -a 256
This is the machine-readable representation of the page at the canonical URL. Same facts, denser format.

## Direct answer
Read-only Google Search Console MCP: Search Analytics, sitemaps, URL inspection. 5 tools.

Search Console queries, sitemaps and URL inspection for every SEO client.

## Install
- Claude Code: `claude mcp add gsc -e GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json -- uvx scalably-gsc-mcp`
- Codex: `codex mcp add gsc --env GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json -- uvx scalably-gsc-mcp`
- Claude Desktop: download `gsc-mcp.mcpb` from the latest GitHub release and open it.

## Environment
| Variable | Required | Secret | Purpose |
|---|---|---|---|
| `GOOGLE_APPLICATION_CREDENTIALS` | yes | no | Path to a Google service-account JSON file with the Search Console read-only scope; share each property with the service account email |
| `GSC_LOG_LEVEL` | no | no | Log level, default INFO |

## Tools
| Tool | Description |
|---|---|
| `gsc_list_sites` | List the Search Console properties the service account can read |
| `gsc_query_search_analytics` | Query Search Analytics with filters, auto-pagination and hourly data |
| `gsc_list_sitemaps` | List sitemaps for a property or read one sitemap |
| `gsc_inspect_url` | Inspect one URL's index status |
| `gsc_batch_inspect_urls` | Inspect many URLs with client-side throttling |

## Setup
1. In Google Cloud, create or pick a project and enable the Google Search Console API on it (APIs and Services, Library).
2. Create a service account in that project and download its JSON key.
3. 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.

## 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.

## 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.

## Reliability
- CI: https://github.com/scalably-io/gsc-mcp/actions/workflows/validate.yml
- Release 1.0.1
- Verified 2026-08-31
- Each of ours started as an internal ScalablyAI MCP server. We stripped the internal envelope, the auth wrapper and client dispatch that only make sense inside our own platform, and kept the tool surface. Every release runs through a clean-install CI job, publishes under the io.scalably namespace with trusted publishing so no long-lived token ever leaves our CI, and registers on the official MCP registry.

## Related
- Also in seo: [DataForSEO MCP](https://scalably.io/mcp/dataforseo-mcp), [DataForSEO MCP Server](https://scalably.io/mcp/dataforseo-mcp-server)
- Read more: [AI agents for SEO: 5,329 tasks at 98% over four months](https://scalably.io/blog/ai-agents-for-seo), [What is an MCP server? A clear explainer for developers](https://scalably.io/blog/what-is-an-mcp-server), [How to build an MCP server in Python (production guide)](https://scalably.io/blog/how-to-build-mcp-server-python)
