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

> Google ships no Search Console MCP server. The community servers, the BigQuery route and hosted options compared, with OAuth setup, API limits and prompts.

Source: https://seofix.ai/blog/google-search-console-mcp  
Published: 2026-11-22  
Updated: 2026-11-02  
Author: SEOFix Team  
Category: Guides  
Tags: AI agents, Technical SEO, Guides  
Length: 1,969 words, 9 min read

*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](https://github.com/google/mcp) 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](https://developers.google.com/webmaster-tools/v1/api_reference_index) 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](https://developers.google.com/webmaster-tools/limits) and API reference:

| Limit | Value |
| --- | --- |
| Search Analytics rows per request | 1 to 25,000, default 1,000 ([`rowLimit`](https://developers.google.com/webmaster-tools/v1/searchanalytics/query)) |
| Search Analytics data exposed | "a maximum of 50K rows of data per day per search type" ([docs](https://developers.google.com/webmaster-tools/v1/how-tos/all-your-data)) |
| Search Analytics QPM | 1,200 per site, 1,200 per user |
| URL Inspection | 2,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"](https://developers.google.com/webmaster-tools/v1/how-tos/all-your-data). 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"](https://developers.google.com/webmaster-tools/v1/urlInspection.index/inspect). 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](https://developers.google.com/search/apis/indexing-api/v3/quickstart) [`JobPosting`](https://developers.google.com/search/apis/indexing-api/v3/quickstart) [or](https://developers.google.com/search/apis/indexing-api/v3/quickstart) [`BroadcastEvent`](https://developers.google.com/search/apis/indexing-api/v3/quickstart) [embedded in a](https://developers.google.com/search/apis/indexing-api/v3/quickstart) [`VideoObject`](https://developers.google.com/search/apis/indexing-api/v3/quickstart)["](https://developers.google.com/search/apis/indexing-api/v3/quickstart). Treat any tool that offers to "submit URLs to Google" for ordinary pages with suspicion.

## Option 1: mcp-gsc (community, local)

[mcp-gsc](https://github.com/AminForou/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](https://raw.githubusercontent.com/AminForou/mcp-gsc/main/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`):

```bash
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](https://github.com/saurabhsharma2u/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:

```bash
npx search-console-mcp setup
```

Then the client config:

```json
{
  "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](https://support.google.com/webmasters/answer/12917991): `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"](https://developers.google.com/search/blog/2023/02/bulk-data-export). 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](https://docs.cloud.google.com/bigquery/docs/use-bigquery-mcp)). 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](https://docs.cloud.google.com/bigquery/docs/reference/mcp) 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:

| Tool | What the agent gets |
| --- | --- |
| `get_search_pages` | Every page's 28-day clicks, impressions, CTR and position, plus the previous 28 days; sort by `change` for the biggest losses |
| `get_search_queries` | Searches per page, or which pages rank for a search (cannibalisation) |
| `get_url_status` | One URL's crawl findings, Google verdict and top 50 searches together |
| `get_index_triage` | Not-indexed pages grouped by URL pattern into "worth indexing", "low value", "duplicate", "excluded on purpose" |
| `inspect_urls` | Fresh 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](https://seofix.ai/help/mcp-tools-reference); how the connection and sync work is in [Connect Google Search Console](https://seofix.ai/help/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 want | Use |
| --- | --- |
| Ad-hoc questions about one or two sites, free, local | mcp-gsc |
| Google and Bing in one place | search-console-mcp |
| Every row, SQL, long history from now on | Bulk export + BigQuery MCP |
| GSC data joined with crawl issues, inside a fix workflow | A hosted tool such as SEOFix |
| Exactly two queries and nothing else | Your 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](https://seofix.ai/blog/search-console-validate-fix-vs-verify-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](https://code.claude.com/docs/en/mcp). 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](https://seofix.ai/blog/seo-mcp-servers) and [What is an MCP server for SEO](https://seofix.ai/blog/what-is-an-mcp-server-seo).
