A Google Search Console MCP server is the interface an agent uses to read Search Console. Google ships Search Console and the Search Analytics API. It does not ship an MCP server. A model cannot log into search.google.com, and it should not be handed a 1,000-row CSV.
SiteLine hosts one. The Search Console server is https://siteline.tools/mcp/search-console. It is read-only, it answers from an imported warehouse, and Cursor, Claude Desktop and Claude Code call it over HTTPS. There is no Python process to run beside the editor.
This page is that server: what it returns, the ten tools, and the setup for Cursor and Claude. Every other client dialect is in MCP setup for agents. Prompts are in how to query Search Console with MCP. The product page is /mcp.
What the SiteLine server does
The server is registered as Search Console Analytics, version 1.1.0. It reads the warehouse SiteLine already imported with Google's webmasters.readonly scope. The agent cannot submit a sitemap, request indexing, add users, or change Search Console settings.
On connect, SiteLine backfills the roughly 16 months Google still holds, then keeps those days while you subscribe. Imports refresh every 4 hours and re-import the latest 7 days, including fresh rows Google has not finalised. Storage is up to 25,000 rows per day per report: one Search Analytics API page. The second page, rows 25,001–50,000, is not requested. Anonymised queries are never rows. That is past the 1,000-row export, and it is still not the whole property.
Two HTTPS servers, both on the same credential, both scoped to one team:
| Server | URL | Units |
|---|---|---|
| Search Console | https://siteline.tools/mcp/search-console |
clicks, impressions, CTR, position, query, page |
| Analytics | https://siteline.tools/mcp/analytics |
pageviews, visitor-days, events, goals |
They are two unit systems. Clicks are not sessions. One OAuth grant or one bearer token can authorise both. If you only add Search Console, the agent will invent on-site numbers.
Every Search Console response includes data_from, data_through and import_status, plus a notes line. Dates after data_through are unpublished, not zero. There is also a siteline://sites resource (the properties and the dates each one holds) and an investigate-traffic-drop prompt that walks the tools in the order that rules out a reporting lag before it looks for a real drop.
The ten tools
Start with list-sites. Every other tool takes the site identifier it returns. That identifier is not a domain string you type from memory.
| Tool | What it answers |
|---|---|
list-sites |
Properties this connection's team can read, with data_from and data_through for each. |
get-import-status |
Whether the last import succeeded, and whether a backfill is still running. Call this before you treat a quiet day as a traffic collapse. |
get-site-overview |
Headline clicks, impressions, CTR and position for a range. The only whole-site figures. |
get-time-series |
Those same site totals by day, week or month, so you can date a change. Weekly and monthly buckets re-derive CTR and position from the sums. They do not average the daily ratios. |
get-top-results |
Ranked queries, pages, countries or devices. A sample of named rows. Not a site total. |
get-movers |
Biggest gainers and losers between two periods, for query, page, country or device. |
get-striking-distance |
Queries that already earn impressions and rank just off the positions that earn clicks. |
get-queries-for-page |
Queries that brought people to one page. Pass the page URL exactly as get-top-results returned it. |
get-pages-for-query |
Pages that ranked for one query. This is how you see two URLs competing for the same query. |
get-search-appearance |
Totals per rich-result type. Rows overlap, because one result can carry several appearances. Do not sum them. |
get-striking-distance defaults to positions 4 through 20, at least 50 impressions, and the top 500 queries by impressions (the scan cannot exceed 1,000). Position on a row is an impressions-weighted average over the range, so a query averaging 8 may have ranked 3 on some days and 15 on others. Discover and Google News have no queries and no position, and the tool refuses them.
get-movers compares the current period with the previous period unless you ask for the previous year. It scans the top 250 current-period rows by impressions (maximum 1,000) and returns 20 by default. A query that had traffic and then vanished can fall outside that scan. Raise scan, or narrow the dates, if you need to be sure. A positive position change means the ranking improved, because a lower position number is better.
get-queries-for-page and get-pages-for-query return at most 500 rows, 25 by default. Google withholds rare anonymised queries, so the query rows for a page will not sum to that page's own totals.
The analytics server is a different tool list: list-analytics-sites, get-analytics-overview, get-analytics-timeseries, get-analytics-breakdown, get-analytics-goals and get-analytics-realtime. A Search Console tools/list will never include those names.
Connect it in Cursor
Cursor does not use the Claude.ai OAuth connector. It wants a bearer token in ~/.cursor/mcp.json. Confirm the keys against your Cursor version; the block below is the shape the SiteLine settings screen shows.
- Register. The trial is 7 days with no card to start. Connect Search Console with
webmasters.readonlyand wait untilget-import-statussays the backfill is finished. - Open Settings → API & MCP Keys (
/settings/api-tokens). Name the token, pick the team, and create it. Copy the token once. It is stored against that team. It does not follow the site you have open in the browser, and it cannot see another team's properties. The ability on the token isgsc:read. - Put the Search Console URL in Cursor's MCP config. Add the analytics URL as a second server when you want pageviews. Same token, different name.
{
"mcpServers": {
"siteline": {
"type": "http",
"url": "https://siteline.tools/mcp/search-console",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
},
"siteline-analytics": {
"type": "http",
"url": "https://siteline.tools/mcp/analytics",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}
- Start a new agent chat and ask it to call
list-sites, thenget-import-status. If the client shows nothing, prove the token before you debug Cursor's JSON:
curl -X POST https://siteline.tools/mcp/search-console \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
You should see list-sites and get-site-overview. A 401 is a bad token. A 402 is a subscription that is not active: fix billing, do not retry the same call. A client that omits Accept: application/json, text/event-stream can get a 406 even when this curl succeeds. Field-by-field notes for the editor are in MCP for Cursor.
Connect it in Claude Desktop
Claude Desktop is the app with a connector UI. Claude Code is the CLI. They do not share a config file.
OAuth, when Desktop offers a custom connector. This is the path the settings screen marks as recommended for Claude.ai, and it is the same family for Desktop.
- On API & MCP Keys, copy
https://siteline.tools/mcp/search-console. The screen shows that URL. It does not show a client id. - In Claude Desktop, add a custom connector and paste the URL. Menu names move. Look for Connectors, Custom connector, or Add MCP server.
- Approve the screen SiteLine sends you back to. The app is listed under Connected apps. Revoke it there.
- Repeat with
https://siteline.tools/mcp/analyticsif you want on-site numbers.
SiteLine publishes OAuth discovery documents and POST /oauth/register, so the connector registers itself. You do not create an OAuth client by hand. The scope issued for that grant is mcp:use. Do not paste a bearer token into the chat.
Bearer token, when this build of Desktop wants JSON instead. Use the same mcpServers block as Cursor. The settings screen labels that JSON "Claude Desktop or Cursor". Prefer OAuth when both paths are available, so the secret is not sitting in a file. The click path is Claude Desktop Search Console MCP.
Connect it in Claude Code
Claude Code does not pick up a Claude.ai or Desktop connector. It wants the bearer token on a remote HTTP server. The settings screen shows this command, and the flags move, so check claude mcp add --help on your version before you trust it:
claude mcp add --transport http siteline https://siteline.tools/mcp/search-console \
--header "Authorization: Bearer YOUR_TOKEN"
claude mcp add --transport http siteline-analytics https://siteline.tools/mcp/analytics \
--header "Authorization: Bearer YOUR_TOKEN"
Create the token on API & MCP Keys, the same way as for Cursor. Put it in an environment variable rather than a committed config when the build allows it. The longer Claude Code notes are in Claude Code Search Console MCP. Both Claudes side by side: MCP for Claude.
Other ways to get an MCP for Google Search Console
| Option | How it works | Trade-off |
|---|---|---|
| Local open-source server | A process on your machine that calls the Search Console API with your own Google credentials | Free, but you run it, create the Google Cloud credentials, and keep it current. Only reachable from clients that can start a local process. |
| Hosted, live API | A remote server that forwards each question to Google | Nothing to install. Still bound by Google's API limits and the 16-month window. |
| Hosted, imported warehouse (SiteLine) | Imports your Search Console data and exposes it as remote MCP | Works from connector UIs such as Claude.ai and ChatGPT. Keeps history past 16 months while you subscribe. Costs a subscription. |
All three sit on the same Search Analytics data. The Search Analytics API returns at most 25,000 rows per request (default 1,000) and does not guarantee every row. Google also documents a 50,000-row daily ceiling and the privacy filtering of anonymised queries. If you are weighing the API against MCP, read Search Console API vs MCP.
Rules a model must follow
- Totals come from
get-site-overview. Breakdown rows never sum to the site, because Google withholds rare anonymised queries and only the top rows per day are stored. - Never average position or CTR. Both are already weighted. CTR is a fraction of 1:
0.0412is 4.12%. - Web search type unless you name another. Discover and Google News have no queries, and position is null, not 0.
- Do not subtract analytics visitors from Search Console clicks.
What it does not fix
- The 16-month window at Google (Performance report). SiteLine backfills what Google still holds, then keeps those days while you subscribe. It cannot recover days Google has already dropped. Check your own exposure with the data expiry calculator.
- Anonymised queries. They are absent from query reports. Page and site totals can be higher.
- Discover and Google News: no queries, no position.
MCP is included on Starter ($4.99/mo, 1M events), Growth ($19.99/mo, 10M), and Scale ($99.99/mo, then $2.99 per extra 1M). It is not an add-on, and tool calls are not the billable unit. Events are pageviews and custom events. Pricing and quotas. The trial is 7 days, no card to start: register.
Where to go next
/guides/gsc-mcp, /guides/search-console-mcp-server, /guides/mcp-for-google-search-console and /guides/mcp-for-search-console-data redirect here.
- MCP setup for agents
- How to query Search Console with MCP
- Client pages: ChatGPT, Claude, Claude Desktop, Claude Code, Cursor
- Search Console API vs MCP
- Combine GSC with cookieless analytics
FAQ
What is a Google Search Console MCP server?
A Google Search Console MCP server gives an AI client tools to list your properties and read clicks, impressions, queries and pages. Google does not ship one. SiteLine's is the HTTPS server at /mcp/search-console.
Is a Google Search Console MCP the official Google product?
No. Google ships Search Console and the Search Analytics API. An MCP server is something a client such as Cursor or Claude can call. SiteLine imports via the read-only API and exposes that warehouse as MCP.
Should I run a local MCP for Google Search Console or use a hosted one?
Local servers are free and keep credentials on your machine, but need setup and only work in clients that can start a process. Hosted servers work from connector UIs and need no install. SiteLine is hosted and also keeps history beyond Google's 16 months while you subscribe.
Does it include on-site analytics?
Yes, as a second server at /mcp/analytics, not as extra columns on a Search Console row. Cookieless pageviews, events, goals, and a live view. Do not merge the two totals into one "organic traffic" number.
Can the agent change rankings or request indexing?
No. Read-only tools, read-only Google scope (webmasters.readonly).
Why did the agent say traffic fell to zero yesterday?
It ignored data_through. Yesterday is usually unpublished in Search Console. Check get-import-status before you rewrite a title.
Do I pay extra for the MCP?
No. It is on every paid tier. See pricing. A lapsed subscription is why a call returns 402, not a reason to retry the same token.