Skip to content

/ GSC MCP Server

A Google Search Console MCP server, done right.

Google does not publish an official MCP server for Search Console. That SEO Agent is one, and it is open source: it gives Claude Code or Cursor direct, read-only access to your real Search Console data through a dedicated set of tools. You run it on your own machine and log in with your own Google account, so your AI queries your live GSC data itself, with no CSV exports and nothing to sign up for.

Works in:Claude CodeCursorRuns locallyRead-only
All
the dedicated Search Console tools your AI can call: performance, indexing, sitemaps, and detection
That SEO Agent MCP server
Read-only
Google OAuth scope (webmasters.readonly). The server cannot submit URLs, change properties, or write anything
Google OAuth, read-only scopes
25,000
rows per query through the Search Console API, against the 1,000-row cap in the GSC interface
Google Search Console API, query limits
2
clients confirmed: Claude Code and Cursor, plus any client that connects to a local HTTP address
Streamable HTTP transport, MCP standard

01

Is there an official Google Search Console MCP server?

No. Google does not publish an MCP server for Search Console. What exists is two separate things: the Search Console API, a REST interface you script against, and MCP (the Model Context Protocol), the open standard Anthropic released in November 2024 for letting AI assistants call live tools instead of relying on what you paste into the chat. A Search Console MCP server is the bridge between them: a server that speaks MCP to your AI and calls the Search Console API on your behalf.

That SEO Agent is that bridge, built around Search Console from the start rather than bolted on. It exposes the whole of Search Console as read-only tools, alongside Google Analytics 4, PageSpeed, and a live crawler. When you ask your AI about your rankings, it calls the right tool and answers from your current data, not from a training-cutoff guess.

You could build your own. The Search Console API is open and the MCP SDKs are public. But a production server means handling Google OAuth and token refresh, scoping it to read-only, respecting rate limits, paginating past the interface's 1,000-row cap, and writing each tool by hand. That SEO Agent has done all of that already, and it is open source: clone it, start it, and connect once.

The access is strictly read-only. The server authenticates with your Google account using read-only OAuth scopes (webmasters.readonly for Search Console), so it can read your performance and indexing data but cannot submit URLs for indexing, change a property, or alter anything in your account.

2024
the year Anthropic open-sourced MCP. It is an open standard, and many AI clients now support it
anthropic.com, Model Context Protocol
The standard is open, but this server listens on your own machine, so only clients that connect from it can reach it.

Connect your Search Console to your AI in three steps

02

The Search Console tools your AI can call

Each tool maps to a real Search Console capability, exposed so your AI can call it directly. Grouped by what they do.

Performance & queries
gsc_search_analyticsgsc_hourly_performancegsc_search_appearancegsc_page_query_mapgsc_page_valuegsc_discover_performancegsc_branded_splitgsc_device_gapgsc_country_opportunity
Indexing & coverage
gsc_inspect_urlgsc_bulk_url_inspectiongsc_index_coverage_analysisgsc_sites_health_checkgsc_crawl_freshnessgsc_list_properties
Sitemaps
gsc_list_sitemapsgsc_get_sitemap
Detection & opportunities
gsc_detect_anomaliesgsc_detect_lost_queriesgsc_detect_quick_winsgsc_detect_cannibalizationgsc_detect_trendsgsc_content_decaygsc_detect_featured_snippetsgsc_serp_features_gapgsc_rich_results

These are part of That SEO Agent's full toolset, which also covers Google Analytics 4, PageSpeed, crawling and on-page technical SEO.

1
One prompt. Live Search Console data.
From Claude Code or Cursor, ask: "Pull the top 50 queries for yourdomain.com over the last 28 days, flag the ones on page two, and tell me which lost clicks versus last month." The agent calls gsc_search_analytics, gsc_detect_quick_wins, and gsc_detect_lost_queries against your real data and answers, no export, no pasting, no 1,000-row ceiling.
That SEO Agent, Search Console tools

03

How the connection works

That SEO Agent is an open-source MCP server that runs on your machine and speaks Streamable HTTP on a loopback address. There is no Python environment to maintain. Your AI client connects to that address once, and the connection persists across sessions while the server is running, so you are not re-authenticating every time you open a chat.

Authentication has one layer, and it is between you and Google. You create an OAuth client of your own, grant it read-only access to Search Console and GA4, and log in once from the terminal; the server refreshes the token internally from then on. There is no second layer between your MCP client and the server, because the server is listening on your own loopback address — nothing to key, nothing to authorize. Your Google credentials stay with Google, and the tokens stay in a local file.

Because the transport is the standard MCP Streamable HTTP, the same connection works in Claude Code, Cursor and any other client that opens the connection from your machine. There is no separate build per client: one server, one local address.

Once connected, your AI reads each tool's description from the MCP layer and decides which to call on its own. You ask a question in plain language; it picks the right Search Console tool, fetches your live data, and reasons over it.

1
connection, persistent across sessions while the server is running. No per-conversation setup and no re-auth
That SEO Agent, open-source MCP server
Streamable HTTP is the standard MCP transport, so the same URL works across Claude Code and Cursor.

04

Connect Search Console in three steps

STEP 01
Connect your Google account
Create a Desktop-app OAuth client in Google Cloud Console, enable the Search Console and Analytics Data APIs on it, and log in once from the terminal. The command prints the two read-only scopes it asks for and what stops working without each. Your site registers automatically the first time your agent audits it.
STEP 02
Point your AI client at it
Point your client at the address the server prints on startup: one command for Claude Code, or one JSON block for a client that prefers config. There is no key to paste and no browser grant, because the address is on your machine.
STEP 03
Ask about your data
Ask: "What are my top queries this month, and which pages are slipping?" Your AI calls the right Search Console tools and answers from your live data. No exports, no copy-pasting, no 1,000-row cap.
Sources and references
Official documentation
Model Context Protocol — official documentationmodelcontextprotocol.io
Introducing the Model Context Protocol — Anthropicanthropic.com
Search Console API — Google Developersdevelopers.google.com
Standards and APIs
Search Console API usage limits — Google Developersdevelopers.google.com
Google API OAuth 2.0 scopes (read-only)developers.google.com
MCP transports — Streamable HTTP specificationmodelcontextprotocol.io
/ FAQ

Common questions about a GSC MCP server

Does Google offer an official Search Console MCP server?

No. Google publishes the Search Console API (a REST interface) but not an MCP server. To connect Search Console to an AI assistant over MCP, you either build a server that wraps the API yourself, or run an open-source one like That SEO Agent, which exposes read-only Search Console tools your AI can call directly.

Is the connection read-only? Can it change anything in my Search Console?

It is strictly read-only. The server authenticates with read-only OAuth scopes (webmasters.readonly for Search Console, analytics.readonly for GA4). It can read your performance, indexing, and sitemap data, but it cannot submit URLs for indexing, modify a property, or write anything to your account.

Which AI clients can I use it with?

Any client that connects from your own machine: Claude Code, Cursor, or any local HTTP MCP client. Claude Desktop (stdio only), claude.ai and ChatGPT connect from their vendors' clouds and cannot reach a loopback address.

Do I need to run a local server or write code?

You run a local server, but you do not write code. That SEO Agent is open source: clone it, run `cd mcp && pnpm install && pnpm build && pnpm start`, and point your AI client at the loopback address it prints. You log in to Google once and the server refreshes the token from then on.

How is this different from just using the Search Console API?

The Search Console API is a REST interface you have to script against, parse, and feed into your AI yourself. An MCP server exposes those capabilities as tools your AI calls on its own, in plain language, as part of answering your question. You skip the scripting, the export step, and the work of explaining the data to the model.

Does it get past the 1,000-row limit in the Search Console interface?

Yes. The Search Console interface caps exports at 1,000 rows, but the API returns up to 25,000 rows per query. Because the agent queries the API directly, your AI works with up to 25,000 rows instead of a truncated UI export.

/ GSC MCP Server

Connect Search Console to your AI.

Read-only tools. One connection. Your live data.

Read the docs

Run it, log it into your own Google account, and query your real Search Console data from Claude Code or Cursor.