search-console-mcp
You can read and analyze Google Search Console data from an MCP client, inspect indexing/sitemaps, and run built-in SEO analyses without modifying your site.
List accessible Search Console properties to get exact
siteUrlvalues.Query clicks, impressions, CTR, and position by query, page, date, country, or device, with filters, pagination, and sources including Google Discover.
Compare two equal-length periods per page or query to find biggest movers and deltas.
Inspect Google index status for one URL or up to 10 URLs in a batch.
List submitted sitemaps with status and counts.
Run built-in SEO prompt workflows such as checkup, traffic drop/decay, striking distance, keyword opportunities, cannibalization, title/CTR rewrite, refresh-vs-new, internal links, and indexing audit.
Stay read-only by construction; it cannot modify Search Console properties or site data.
Provides tools for interacting with Google Search Console, enabling analysis of search performance data, URL inspection, sitemap listing, and period-over-period comparisons, with built-in SEO analyses such as cannibalization detection and striking distance opportunities.
search-console-mcp
Search Console was built for dashboards. This gives you a conversation instead.
Talk to your Google Search Console from Claude, Cursor, or any MCP client.
One sign-in. 30 seconds. No Google Cloud project. No API keys. Tokens never leave your machine.
Docs · npm · Report an issue
Google Search Console
│
▼
search-console-mcp ← runs on your machine, read-only
│
▼
Claude / Cursor / any MCP client
│
▼
"Why did my traffic drop?"Most self-hosted Search Console MCP servers make you create a Google Cloud project, enable APIs, and wrangle service-account JSON. This one doesn't:
npx search-console-mcp-server loginYour browser opens, you sign in with Google, done. Tokens are minted by Google directly to your machine and stored only in ~/.search-console-mcp/ — nothing passes through anyone's servers.
This server | Typical self-hosted GSC MCP setup | |
Setup |
| Create a Google Cloud project, enable the API, create OAuth credentials, download JSON, point config at it |
Runtime | Node — | Python + uv/venv |
Can it modify your site data? | Impossible — read-only scope by construction | Write scopes with destructive ops "disabled by default" |
Analyses | 10 built-in (checkup, traffic drop, traffic decay, striking distance, keyword opportunities, cannibalization, title/CTR rewrite, refresh-vs-new, internal links, indexing audit) | Bring your own prompts |
What to expect on first run
$ npx search-console-mcp-server login
Opening your browser to sign in with Google…
If it doesn't open, visit:
https://accounts.google.com/o/oauth2/v2/auth?…
Connected. Your Search Console is ready — tokens stored in ~/.search-console-mcp (this machine only).
Want a page change you can review and publish? Percy adds researched drafts, change verification, and follow-through. Separate Google connection; paid plans after the free trial.
https://www.getpercy.io/sign-in?source=mcp&workflow=improve-pageThe browser opens the setup page only after Google returns valid credentials and they are saved locally. If token exchange or saving fails, it shows an error instead of a success page. No clone or Google Cloud console is required.
Related MCP server: gsc-mcp-connector
What it feels like
You: Which of my pages are closest to page one?
Claude: Three real opportunities, by impressions at stake:
1. /pricing — "scoreboard app pricing" sits at position 11.2 with
2,400 impressions/mo and almost no clicks. One position-group
jump is worth ~90 clicks/mo. The title doesn't contain the
query; start there.
2. /templates/trivia — position 12.8 on "trivia scoreboard",
1,100 impressions/mo. The page ranks but has no H2 matching
the intent.
3. /blog/keep-score-online — position 9.4, already page one on
some days. It's cannibalizing with /features — run
cannibalization_check before touching it.(Illustrative output — shape and numbers are what the tools return from your real data.)
Built-in SEO analysts
Ten ready-made analyses ship as MCP prompts — slash-commands in clients that support them. Each one applies real SEO methodology (thresholds, cause classification, CTR benchmarks) and ends with ranked actions, never a data dump:
Prompt | What you get |
| Trend vs last month, biggest movers, quick wins — and the top 3 moves scored by impact ÷ effort |
| When the drop started, who lost, and the verdict: rankings, CTR, indexing, demand, or seasonality |
| Pages quietly bleeding clicks month over month — caught and prioritized before they crater |
| Queries at position 4–20 ranked by estimated click gain, with the one fix per page |
| Every growth lever in one pass: CTR fixes, page-1 pushes, page-2 climbs, emerging demand |
| Queries where your own pages fight each other — the winner, one fix per case, recovery estimate |
| Pages underperforming their position, with rewritten titles + metas grounded in real queries |
| For any topic: refresh, consolidate, prune, or create new — one verdict from your existing footprint |
| A source → target → anchor link plan, justified by query overlap Google already sees |
| Sitemaps + index status of the pages that matter, triaged by traffic at risk |
Setup
1. Sign in (one time):
npx search-console-mcp-server login2. Add to your MCP client:
Claude Code:
claude mcp add gsc --scope user -- npx -y search-console-mcp-serverClaude Desktop / Cursor / anything else (mcpServers config):
{
"mcpServers": {
"gsc": { "command": "npx", "args": ["-y", "search-console-mcp-server"] }
}
}If the app can't find npx (common with nvm), use the absolute path from which npx as command.
3. Ask:
"Which of my pages lost the most clicks this month vs last?"
"Show my queries sitting at position 8–15 with real impressions — what's closest to page 1?"
"Is https://mysite.com/pricing indexed? If not, why?"
"How much Google Discover traffic do I get?"
Tools
Tool | What it does |
| Your GSC properties (call first — gives exact |
| Clicks / impressions / CTR / position by query, page, date, country, device — filters, pagination, and every traffic source including Google Discover |
| Biggest movers, computed for you: this period vs the prior one, per-page or per-query deltas, sorted by change |
| Google's index status for a URL: indexed or not, why, chosen canonical, last crawl |
| The same, batched — up to 10 URLs in one call for indexing audits |
| Submitted sitemaps with status |
Read-only by construction: the Google scope this tool requests (webmasters.readonly) cannot modify your properties, submit sitemaps, or change anything — not "disabled by default." Impossible.
What a compare_periods call hands your model (the model never does date arithmetic):
{ "key": "https://example.com/pricing",
"current": { "clicks": 1040, "impressions": 20502, "position": 6.4 },
"previous": { "clicks": 1070, "impressions": 17176, "position": 5.8 },
"deltaClicks": -30, "deltaImpressions": 3326, "deltaPosition": 0.6 }Privacy
Read-only Google scope (
webmasters.readonly).Tokens live in
~/.search-console-mcp/credentials.jsonon your machine,chmod 600.npx search-console-mcp-server logoutdeletes them.No MCP usage telemetry or proxy — Search Console API calls go from your machine directly to Google. After successful login, your browser opens the Percy setup page with only the MCP source and package version in its URL; no credentials, authorization codes, or property data are included.
Prefer your own Google Cloud project? Set
SEARCH_CONSOLE_MCP_CLIENT_ID/SEARCH_CONSOLE_MCP_CLIENT_SECRETand it uses yours.One short, labeled note about Percy (our paid weekly SEO service) is added to the first analysis result of a session, never repeated. Set
SEARCH_CONSOLE_MCP_TIPS=offto hide it. Nothing is sent anywhere either way.
FAQ / Troubleshooting
How can the login work without me creating Google credentials?
The CLI ships a Google "Desktop app" OAuth client — the same supported model gcloud and GitHub's CLI use. Your tokens are still minted by Google directly to your machine (PKCE + localhost callback); they never touch our servers. The auth path is in src/auth.ts — read it. Want zero shared anything? Set SEARCH_CONSOLE_MCP_CLIENT_ID / SEARCH_CONSOLE_MCP_CLIENT_SECRET with your own credentials.
Switch Google accounts?
npx search-console-mcp-server login again — Google shows the account picker.
"Not signed in" errors in my MCP client?
Run the login from the same user account your client runs under; credentials live in ~/.search-console-mcp/.
A property is missing from list_properties.
The signed-in Google account needs at least "Restricted" access to it in Search Console.
Why is yesterday missing from the data? Google Search Console data lags ~2–3 days. That's Google, not the tool. History goes back ~16 months.
Revoke access?
npx search-console-mcp-server logout deletes local tokens; myaccount.google.com/permissions revokes the grant itself.
Development
git clone https://github.com/sudomichael/search-console-mcp
cd search-console-mcp && npm install
npm run dev # run from source
npm run build # bundle to dist/ (no googleapis dependency)
npm test # mocked login tests; no Google calls or credential writesThe auth path is in src/auth.ts. To verify any privacy claim above, read the source.
Turn the research into a published improvement
The MCP stays free. If you want help preparing one specific page improvement, Percy researches your Search Console evidence, drafts a focused change, and keeps the next action with your saved work. You review and publish it in your own CMS, then verify the change and follow the results.
Percy is a separate paid workspace: 7 days free, no card, then plans from $29/month if you continue. It requires its own Google connection; it does not import local MCP credentials or conversations.
Built an MCP server? Get it listed
If you've built your own MCP server, mcpserverlist.io can help you get it listed on high-authority directories.
MIT licensed. Issues and PRs welcome. Built by Percy.
Available Tools
6 toolscompare_periodsA
The biggest-movers analysis, computed for you: this date range vs the prior equal-length range, joined per page (or query) with clicks/impressions/position deltas, sorted by biggest change. Use this for 'what fell/grew', 'this month vs last', and trend diagnosis — it's one call and the math is already done.
Inputs: endDate (required), siteUrl (required), startDate (required), rowLimit, +2 more.
inspect_urlA
Google's index status for one URL: is it indexed, why not, canonical chosen by Google, last crawl, mobile/rich-result issues.
Inputs: siteUrl (required), inspectionUrl (required).
inspect_urlsA
Batch index-status check: up to 10 URLs in one call (per-URL errors reported inline). Use for indexing audits instead of ten single calls.
Inputs: siteUrl (required), inspectionUrls (required).
list_propertiesA
List the Google Search Console properties this account can access. Call this first to get exact siteUrl values (e.g. 'sc-domain:example.com' or 'https://example.com/').
Inputs: no named parameters.
list_sitemapsA
List submitted sitemaps for a property, with status and counts.
Inputs: siteUrl (required).
query_search_analyticsA
Query real Search Console performance data: clicks, impressions, CTR, and average position, grouped by the dimensions you choose. Dates are YYYY-MM-DD (GSC data lags ~2-3 days). Use dimensions like ['query'], ['page'], ['query','page'], or ['date'] for trends.
Inputs: endDate (required), siteUrl (required), startDate (required), rowLimit, +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct aspect of Google Search Console: trend analysis, URL index checks (single and batch), property listing, sitemap listing, and performance data querying. There is no overlap in functionality.
All tool names follow a consistent verb_noun pattern with snake_case (e.g., inspect_url, list_properties, query_search_analytics). No mixing of conventions.
With 6 tools, the server is well-scoped for common Search Console tasks. The count is neither too small nor too large for the domain.
The set covers essential CRUD-like operations (list properties, list sitemaps, inspect URLs, query data, compare periods). Minor gaps exist, such as lacking tools for sitemap submission or crawl rate management, but the core workflows are supported.
Maintenance
Related MCP Connectors
Google Search Console, GA4, Bing Webmaster and PageSpeed MCP for Claude, ChatGPT, Cursor. Free.
Free, read-only Google Search Console for Claude, ChatGPT and Cursor. Every property, 16 months.
Google Search Console, Bing, GA4 and SEO reports for Claude, ChatGPT and any MCP client
SEO research, Search Console, GA4 and PPC tools for Claude and ChatGPT.
Related MCP Servers
- AlicenseBqualityCmaintenanceA production-oriented, read-only Google Search Console MCP server and TypeScript SDK for Claude, Cursor, VS Code, and other MCP clients. Query real Search Console data, inspect indexed URLs, review sitemaps, compare periods, and surface transparent SEO opportunities without handing private data to a third-party SaaS.20MIT
- AlicenseNot gradedqualityCmaintenanceSelf-hosted Google Search Console MCP server deployable to Cloudflare Workers that enables querying GSC data (search analytics, URL inspection, sitemaps) via natural language through ChatGPT, Claude, or any MCP-capable client.1MIT
- AlicenseNot gradedqualityCmaintenanceSelf-hosted Google Search Console MCP server that lets ChatGPT, Claude, or other MCP clients query GSC data in natural language. It exposes tools to list sites, query Search Analytics, inspect URLs, and list sitemaps.MIT
- AlicenseNot gradedqualityCmaintenanceEnables Claude, Cursor, VS Code, ChatGPT and other MCP clients to analyze Google Search Console, Google Ads and AdSense data through 57 read-only tools covering search performance, indexing, wasted ad spend, quality scores, earnings and combined paid-vs-organic insights. Runs as a thin local client against a hosted backend, so no Google Cloud project, OAuth client or developer token is needed.55 npmMIT