Guides

Google Search Console MCP: the options, the auth, and what to ask your agent

Google has no official Search Console MCP server. Here are the ways to give a coding agent your GSC data anyway, how auth works for each, the API limits they all share, and the questions worth asking.

By SEOFix TeamPublished Updated
1,969 words · 9 min readMarkdown
Google Search Console MCP: the options, the auth, and what to ask your agent

Checked on 2 November 2026. SEOFix is our product. Community projects change often; each claim links to the project's own repo or Google's docs.

Google does not publish a Search Console MCP server. Its official list of Google MCP servers covers BigQuery, Cloud SQL, Maps, Google Analytics and others, but not Search Console. So a "Google Search Console MCP" is one of four things: a community server that calls the Search Console API with your Google credentials, Google's official BigQuery MCP server reading your Search Console bulk export, a hosted SEO tool that syncs your GSC data and exposes it over its own MCP server, or a small server you write yourself. All of them sit on the same API, so they share its limits, and those limits shape what you can ask.

What the Search Console API can and can't give an agent

Before picking a server, know what's underneath. The Search Console API has four resources:

  • Search Analytics: one query method for clicks, impressions, CTR and position, grouped by query, page, country, device, date and so on.
  • Sitemaps: list, get, submit, delete.
  • Sites: list, get, add, delete.
  • URL Inspection: index.inspect, one URL per call.

There's no endpoint for the Page indexing report itself, the chart of "Crawled, currently not indexed", "Duplicate without user-selected canonical" and the rest. An agent asked "why are my pages not indexed?" can only rebuild that picture by inspecting URLs one at a time.

The limits, from Google's usage limits page and API reference:

LimitValue
Search Analytics rows per request1 to 25,000, default 1,000 (rowLimit)
Search Analytics data exposed"a maximum of 50K rows of data per day per search type" (docs)
Search Analytics QPM1,200 per site, 1,200 per user
URL Inspection2,000 per day and 600 per minute, per site
Data freshness"typically available after 2-3 days"

Two practical consequences. First, on a large site the 50K-rows-per-day ceiling means rare queries go missing from page-by-query data. Google's docs say that when you group by page and query, "some data may be dropped". Second, 2,000 inspections a day is plenty for checking a fix on 50 URLs and nowhere near enough to inspect a 200,000-page site. Ask the agent to sample by template, not to inspect everything.

URL Inspection also reports Google's last indexed view of the page. Google's reference says it "cannot test the indexability of a live URL". An agent that inspects a URL ten minutes after your deploy is reading the old crawl.

And none of these servers can make Google index a page faster. The Indexing API exists, but Google says it "can only be used to crawl pages with either JobPosting or BroadcastEvent embedded in a VideoObject". Treat any tool that offers to "submit URLs to Google" for ordinary pages with suspicion.

Option 1: mcp-gsc (community, local)

mcp-gsc by Amin Foroutan is the most widely used community server: MIT-licensed, Python, about 2,100 GitHub stars, version 0.4.1 released in September 2026. It runs locally over stdio and talks to the Search Console API with your credentials. It isn't affiliated with Google.

Its tools cover the whole API: list_properties, get_search_analytics, get_advanced_search_analytics, compare_search_periods, get_search_by_page_query, inspect_url_enhanced, batch_url_inspection (up to 10 URLs at once), check_indexing_issues, sitemap listing and management, and a get_capabilities tool that reports auth status. The README counts 20 tools.

Auth. Two methods:

  1. OAuth with your Google account. In Google Cloud Console, enable the Search Console API, create an OAuth client of type Desktop app, and download the JSON. On first use a browser window opens for consent and the token is cached.
  2. Service account. Create a service account and a JSON key, then add the service account's email as a user on your Search Console property. Good for shared or automated setups.

One thing the README doesn't put up front: the server requests the full read-write scope. In its source, SCOPES = ["https://www.googleapis.com/auth/webmasters"] (gsc_server.py), not webmasters.readonly. That's needed for its sitemap and site-management tools. The destructive ones (add_site, delete_site, delete_sitemap) stay disabled unless you set GSC_ALLOW_DESTRUCTIVE=true. Leave that off.

Setup in Claude Code (install uv first; the README recommends uvx):

claude mcp add --transport stdio --scope user gsc \
  --env GSC_OAUTH_CLIENT_SECRETS_FILE=/full/path/to/client_secrets.json \
  -- uvx mcp-search-console

For Cursor, Codex and Claude Desktop, the README has config blocks. GUI apps don't read your shell profile, so it tells you to use the full path to uvx (find it with which uvx); "spawn uvx ENOENT" means you didn't.

Row limits in practice. The basic analytics tools cap row_limit at 500. get_advanced_search_analytics goes up to the API's 25,000 per call and returns a next_start_row for paging. If an answer looks thin, ask the agent which tool it called and with what limit.

Data state. By default it requests dataState: "all", which matches the Search Console UI and includes fresh, still-changing data. Set GSC_DATA_STATE=final if you want only finalised days.

Where it's good: free, local, your data never leaves your machine except to Google, and it covers every API method. Where it's weaker: you maintain the Google Cloud project and the Python runtime, and the agent gets raw rows with no join to your crawl data.

Option 2: search-console-mcp (community, local, multi-engine)

search-console-mcp by Saurabh Sharma is a TypeScript server, MIT-licensed, that combines Search Console with Bing Webmaster Tools, GA4 and AdSense. Setup is an npx command that runs the Google OAuth flow in your browser:

npx search-console-mcp setup

Then the client config:

{
  "mcpServers": {
    "search-console": {
      "command": "npx",
      "args": ["search-console-mcp"]
    }
  }
}

It groups features into a smaller set of "fluent" tools (analytics_query, analytics_compare, inspection_inspect, seo_audit, site_health_check, compare_engines and more), keeps about 96 legacy tool names working, and can run any tool from the command line with npx search-console-mcp run. Its changelog says the server is read-only at setup and asks for the write scope only when a sitemap or site-management tool first needs it.

Two cautions. Its indexing_submit tool offers a "standard" method through the Google API; for anything that isn't a job posting or a livestream, Google's Indexing API isn't meant for it (see above). Its genai_query_insights tool is, in the README's words, "custom heuristic logic", since Google provides no API for AI Mode data. Read its output as a guess.

Where it's good: Google and Bing side by side in one session. Where it's weaker: a larger surface to review, and the same raw-API limits as option 1.

Option 3: BigQuery bulk export plus Google's BigQuery MCP server (official parts)

If you need every row and don't want to page through an API, this is the only route built entirely from Google products. It has two pieces.

Search Console bulk data export writes your performance data to BigQuery once a day. It creates three tables: searchdata_site_impression, searchdata_url_impression and ExportLog, by default in a dataset called searchconsole. Google's announcement says the export "is not affected by the daily data row limit". It starts from the day you set it up; there's no backfill of older data.

The BigQuery remote MCP server is run by Google at https://bigquery.googleapis.com/mcp over Streamable HTTP with OAuth (docs). It's enabled when the BigQuery API is enabled, and your account needs the roles/mcp.toolUser, roles/bigquery.jobUser and roles/bigquery.dataViewer roles. Its tools include list_dataset_ids, get_table_info, execute_sql_readonly and execute_sql.

Give the agent execute_sql_readonly and deny execute_sql, which runs any statement including DELETE and CREATE. With that in place you can ask questions the API answers badly, for example clicks by URL template:

Using execute_sql_readonly on the searchconsole dataset: sum clicks and impressions
from searchdata_url_impression for the last 28 days of data, grouped by URL template
(replace numeric ids and slugs after /jobs/ with [slug]). Aggregate before you sort,
because rows repeat per day. Show the top 15 templates.

Where it's good: complete data, SQL, Google-run infrastructure. Where it's weaker: a Google Cloud project with billing, no historical backfill, and no URL Inspection data: the export covers performance only.

Option 4: a hosted tool that already syncs GSC

Several SEO platforms read Search Console into their own database and expose it over their own MCP server, so the agent doesn't need a Google Cloud project or a local runtime. SEOFix is one. You connect Search Console once in the browser with Google's read-only scope (webmasters.readonly), it syncs daily on paid plans (weekly on Free), and the agent reads the data through SEOFix's MCP tools:

ToolWhat the agent gets
get_search_pagesEvery page's 28-day clicks, impressions, CTR and position, plus the previous 28 days; sort by change for the biggest losses
get_search_queriesSearches per page, or which pages rank for a search (cannibalisation)
get_url_statusOne URL's crawl findings, Google verdict and top 50 searches together
get_index_triageNot-indexed pages grouped by URL pattern into "worth indexing", "low value", "duplicate", "excluded on purpose"
inspect_urlsFresh inspection of 1 to 20 URLs, from the property's daily budget

The difference from options 1 to 3 is the join. Each page's Search Console figures sit next to what the crawler found on that page, so "these 1,840 job pages lost 30% of clicks, and they all have a canonical pointing at the home page" is one question, not three exports. The daily URL Inspection budget is still Google's 2,000 per property and is shared with the nightly sync. Tool details are in the MCP tools reference; how the connection and sync work is in Connect Google Search Console.

Where it's weaker: your data lives with a vendor, the sync runs at most once a day, and you see what the vendor chose to store (SEOFix keeps 28 and 90-day windows, not years of history).

Option 5: write a small one yourself

If you only need two or three queries, a 100-line server using the official MCP SDK for your language and the Google API client is reasonable. Request webmasters.readonly, expose only the tools you need, and return aggregated results instead of raw rows. Then the scope, the tool list and the output size are all yours to decide.

Which to choose

You wantUse
Ad-hoc questions about one or two sites, free, localmcp-gsc
Google and Bing in one placesearch-console-mcp
Every row, SQL, long history from now onBulk export + BigQuery MCP
GSC data joined with crawl issues, inside a fix workflowA hosted tool such as SEOFix
Exactly two queries and nothing elseYour own server

What to ask a Search Console MCP server

These work with any of the options, with tool names adjusted.

Traffic drop by template, not by page:

Compare the last 28 days with the 28 days before for example.com, by page.
Group pages by URL pattern (/jobs/[slug], /blog/[slug], ...) and show the patterns
that lost the most clicks. For the worst one, list 5 sample URLs and their top queries.

Indexing, sampled:

Inspect 10 URLs from each of these patterns: /jobs/[slug], /companies/[slug].
Report coverage state, Google-selected canonical vs user-declared canonical, and last
crawl date. Stop if you hit the inspection quota. Don't inspect more than 30 URLs.

Cannibalisation:

Find queries in the last 28 days where two or more of my URLs each got 50+ impressions.
For each, show the URLs, their positions and clicks. Don't suggest redirects yet.

Did the fix reach Google yet:

For these 5 URLs I fixed on 20 October, show last crawl time from URL Inspection.
If Google hasn't crawled them since the fix, say so and don't draw conclusions.

Without that check, an agent will happily report "still not indexed" about a page Google last crawled before your fix. Search Console's own Validate Fix flow has the same lag; we explained the difference between that and an instant recheck in Validate Fix vs verify the fix.

Security notes specific to GSC servers

  • Scopes. Prefer read-only (webmasters.readonly) unless you need sitemap or site management. A read-write token on a laptop can remove properties.
  • Service account keys. A JSON key file is a long-lived credential. Keep it outside the repo, and give the service account access only to the properties it needs.
  • Shared configs. Claude Code stores user and local scope servers in ~/.claude.json, and a project .mcp.json is meant to be committed. Put file paths and keys in the first, never the second.
  • Quota. An agent looping over URL Inspection can spend the property's 2,000 daily inspections in minutes, and those are shared with any other tool using the same property. Put a cap in the prompt.

If you want Search Console and crawl data in the same agent session, with fix tasks ranked by traffic, run npx seofix connect and connect Search Console from the app. The first audit, up to 500 pages, is free. For a broader look at SEO MCP servers beyond Search Console, see SEO MCP servers for site audits, compared and What is an MCP server for SEO.

ShareXLinkedIn