Google Search Console by Get MCP Ads
This is a read-only Google Search Console MCP server for investigating search performance, indexing, and sitemaps through 20 analytical tools.
List and inspect Search Console properties, permissions, and credential health.
Query Search Analytics for clicks, impressions, CTR, and position across queries, pages, countries, devices, dates, search appearances, and search types.
Filter, sort, paginate, and validate metric/dimension/search-type combinations.
Inspect single or bulk URLs (up to 10 per call) for indexing, crawl, mobile usability, AMP, and rich results.
Review sitemaps, sitemap health, indexation totals, and sitemap deltas against a baseline.
Compare performance across web, image, video, news, Discover, and Google News.
Check data freshness and monitor indexation freshness.
Analyze rich-result/search-appearance trends.
Detect query cannibalization, cluster queries by intent, and find losses/gains between periods.
Build large-site URL Inspection sampling plans and indexation watchlists.
Read reference resources for metrics, dimensions, filters, compatibility rules, recipes, and playbooks.
Perform no writes: the server exposes only read-only tools and uses read-only credentials.
Provides read-only tools for Google Search Console, enabling investigation of search performance, queries, pages, indexing, and sitemaps, plus SEO analyses such as cannibalization detection, query clustering, wins/losses between periods, and indexation watchlists.
Google Search Console MCP server
Bring your search performance into the conversation.
Investigate queries, pages, indexing and sitemaps through a read-only MCP server.
Watch the film · What's new · Install · Tool reference · Try hosted getmcpads

The film shows hosted getmcpads with sample data. Its MCP Apps, from creative galleries and alerts to Google Sheets exports and bulk launches, belong to the hosted product. This repository provides the standalone native API tools.
20 read tools · Read-only by design.
Run locally with your own platform credentials and a client that supports stdio MCP, such as Claude Desktop, Claude Code or Cursor. Your requests go directly to the platform. For managed connections, including supported ChatGPT setups, use the hosted option.
What's new
v2.1.2: Maintainer metadata update · November 8, 2026
List the getmcpads team as maintainer in
package.json, the README andSOURCE_SYNC.md.No change to tools, parameters, descriptions or runtime behaviour.
Earlier releases
Version | Date | Highlights |
2.1.1 | October 26, 2026 | Zod 4 security update |
2.1.0 | October 23, 2026 | Site allowlist and revoked-token handling |
2.0.1 | September 23, 2026 | Public repository restored |
2.0.0 | September 20, 2026 | Gateway sync and security fixes |
1.1.0 | September 13, 2026 | Platform capability sync and quality contracts |
1.0.2 | August 30, 2026 | Announce the package version over MCP. |
1.0.1 | August 30, 2026 | Add |
1.0.0 | August 29, 2026 | First open-source release |
Source synchronization: SOURCE_SYNC.md.
Upgrade notes
Requires Node.js 22.23.4, 24.22.1 or 26.12.1, or a newer release of one of these lines. Older releases lack the October 2026 security fixes, and the server prints a warning on stderr when it starts on one. CI covers Node 22, 24 and 26.
This release makes no breaking change to the configuration. One change is announced for 3.0.0: GSC_SITE_URLS is optional in 2.x and becomes required. When set, every tool is limited to the listed properties, and GSC_SITE_URL must be one of them. When unset, the server starts as before and prints one line on stderr recommending it. The 20 tools, their schemas and the bounded reporting limits are unchanged.
Related MCP server: Google Ads by Get MCP Ads
Install this release
This is a GitHub source release. npm and MCP Registry versions are published separately. The commands below select this exact version; unpinned npx examples later in this document select the version currently available on npm.
git clone --branch v2.1.2 --depth 1 https://github.com/get-mcp-ads/google-search-console-mcp-server.git
cd google-search-console-mcp-server
npm ci
npm run buildConfigure your MCP client to run node with the absolute path to dist/cli.js and the platform credentials documented below.
Prefer a managed connection? Use Google Search Console with hosted getmcpads. Connect your account, select the data your assistant may access and use the hosted MCP connection. See the site for current features and plans.
What you get
20 read tools | Search Analytics, sites, sitemaps, URL Inspection, and analyses built on top of them |
SEO analyses, not just an API wrapper | Cannibalisation detection, query clustering, wins and losses between periods, indexation watchlists, large-site sampling plans |
7 resources | Live catalogues the model can read: metrics, dimensions, filters, compatibility rules, 8 workflow recipes, read-only playbooks |
Quota guardrails | Every URL Inspection call is capped at 10 URLs, so one exploratory question cannot burn a day of quota |
No writes at all | Not a flag, a property of the code. See below |
What it does beyond fetching rows
Search Console answers questions about rows. Most real questions are about change: which queries did we lose, which pages compete for the same term, is indexing drifting.
These tools do that work rather than leaving it to the model:
Tool | Question it answers |
| Which pages compete for the same query |
| What we won and lost between two periods |
| Which queries belong to the same intent |
| How web, image, video and news differ |
| How rich results evolve |
| Which URLs changed indexing verdict |
| Which URLs to inspect, when you cannot inspect them all |
One thing to know before you trust a number
Search Console returns a top N, not a site total.
When you query with a dimension such as query or page, the API returns the highest
ranked rows up to your row limit, ordered by clicks. Summing the clicks of those rows does
not give you the site total: the long tail is missing, and on a large site it can be most
of the traffic.
To get a real total, query without dimensions. To compare periods, compare like with like: same dimensions, same row limit, same search type.
gsc_query_search_analytics reports what it actually returned, and gsc_validate_query
checks a combination before it runs. But the arithmetic mistake is yours to avoid, and it is
the most common one in Search Console analysis.
Two other limits worth carrying in your head:
Roughly 16 months of history. Anything older is gone, not slow.
Data settles over about three days.
gsc_get_data_freshnesstells you what is final.
Read-only, and why it stays that way
There are no write tools, and no environment variable that adds any. The Search Console API can submit and delete sitemaps, add and remove properties, and request indexing. This server exposes none of that.
The scope it asks for reflects that: webmasters.readonly, not webmasters. Even if the
model tried, the token cannot write.
Our ad platform servers, where writes make sense, do have them, guarded by a mandatory preview: Meta Ads · Google Ads · TikTok Ads
The hosted version at getmcpads.com keeps the same rule: Search Console stays read-only there too.
Getting credentials
Three values, obtained once.
1. OAuth client
In a Google Cloud project, enable the Google Search Console API, then create an OAuth client under APIs & Services → Credentials. Choose Desktop app for local use. Note the client ID and client secret.
2. Refresh token
Run the OAuth consent flow once, signed in as a Google account that owns or can read your
properties, and keep the refresh token. Request webmasters.readonly and nothing more.
📖 Google OAuth for installed apps
The refresh token does not expire. Use an OAuth client dedicated to this server so you can revoke it on its own.
For a quick trial you can set GSC_ACCESS_TOKEN to a short-lived token instead, but it
expires within the hour and is useless for daily work.
If setting up an OAuth client is more than you want to do for one property, getmcpads.com handles the consent flow for you and gives you the same tools behind a hosted endpoint.
3. Site URL, optional
Set GSC_SITE_URL to avoid passing it on every call. Both property forms work:
Property type | Value |
URL-prefix |
|
Domain |
|
List what you can reach with gsc_list_sites, and run gsc_health_check as your first
call. It verifies the credentials without printing any secret.
Setup
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"search-console": {
"command": "npx",
"args": ["-y", "@getmcpads/google-search-console-mcp-server"],
"env": {
"GSC_CLIENT_ID": "your-client-id",
"GSC_CLIENT_SECRET": "your-client-secret",
"GSC_REFRESH_TOKEN": "your-refresh-token",
"GSC_SITE_URLS": "sc-domain:example.com"
}
}
}
}Restart Claude Desktop. Ask it: "which queries did we lose last month?".
Claude Code
claude mcp add search-console --env GSC_CLIENT_ID=... --env GSC_CLIENT_SECRET=... --env GSC_REFRESH_TOKEN=... -- npx -y @getmcpads/google-search-console-mcp-serverCursor
.cursor/mcp.json in your project, same shape as the Claude Desktop config above.
From source
git clone https://github.com/get-mcp-ads/google-search-console-mcp-server.git
cd google-search-console-mcp-server
npm install && npm run build
cp .env.example .env # then fill in your credentials
npm startConfiguration
Variable | Default | Meaning |
| none | OAuth client ID |
| none | OAuth client secret |
| none | From the consent flow |
| none | Alternative to the three above, expires within the hour |
| none | Optional default property |
| unset | Recommended. Comma-separated properties every tool is limited to, written exactly as Search Console shows them. Unset, every property the credentials reach is available. Required in 3.0.0 |
|
|
|
Either the three OAuth values, or GSC_ACCESS_TOKEN. The server refuses to start with neither.
npm run doctorTools
Every tool is listed below. See server-card.json for complete parameter and output schemas.
Tool | Purpose |
| List all Google Search Console properties accessible with the current credentials. |
| Get one Search Console property and its exact permission level (read-only sites.get). |
| Verify Google Search Console read-only authentication, visible properties, configured default site, and permission levels without exposing tokens. |
| Query Google Search Console Search Analytics. |
| Inspect a URL for Google indexing status, crawl info, mobile usability, AMP, and rich results. |
| Inspect multiple URLs with a conservative sequential limit and normalized URL Inspection results. |
| List sitemaps submitted for a Search Console property, including processing status and submitted/indexed counts. |
| Get one submitted sitemap by full feed path, including type, fetch state, warnings/errors, and submitted/indexed content totals. |
| Return an enriched read-only sitemap health summary with status totals, submitted/indexed content counts, warnings, and errors. |
| Compare performance across Search Console search types: web, image, video, news, discover, and Google News. |
| Detect the most recent date with Search Analytics data by querying recent daily rows. |
| Read-only monitoring snapshot for Search Analytics freshness, sitemap indexation totals, and an optional small URL Inspection sample. |
| Read-only sitemap delta tracker. |
| Analyze structured data and rich-result trend signals via the Search Analytics searchAppearance dimension when GSC exposes it. |
| Build a read-only URL Inspection sampling plan for large sites from sitemap risk signals and Search Analytics page performance. |
| Read-only URL Inspection watchlist for critical URLs. |
| Compare two periods for query or page performance and return click/impression/CTR/position deltas. |
| Cluster Search Console queries by simple tokens and intent signals: brand/non-brand, question, category, and topic tokens. |
| Detect queries where multiple pages compete for clicks/impressions in Search Analytics query-page rows. |
| Validate a Search Console metric/dimension/search type combination before executing it. |
URI | Contents |
| What this server exposes, and which tool to run first |
| The 8 Search Analytics metrics, raw and derived |
| The 7 dimensions and where they are valid |
| The 5 filter operators and their accepted values |
| Which dimensions work with which search types and data states |
| 8 step-by-step workflows |
| Monitoring playbooks and their invariants |
Security
The client secret and refresh token are never logged, at any log level, or written to disk.
A revoked refresh token is reported once. When Google answers
invalid_grant, every later call returns the same message with the steps to authorize again, and the server stops asking Google for a token until it restarts.Properties can be limited. With
GSC_SITE_URLSset, a call naming another property is refused before any request, andgsc_list_siteslists only the allowed properties.Three hosts are contacted, and only three:
searchconsole.googleapis.comandwww.googleapis.comfor the API,oauth2.googleapis.comfor the token refresh. A test fails the build if a fourth host appears in the source.No fetch follows a redirect. Every outbound call sets
redirect: "error", so a redirect cannot forward a bearer token or client secret to another host. A test fails the build if any fetch omits this.The scope is
webmasters.readonly. The token itself cannot write.No telemetry. The server makes no network call other than to Google.
Full policy: SECURITY.md.
Looking for a managed, multi-platform version?
Try hosted Search Console if you want to use this source without operating a local server. getmcpads also connects advertising, Search Console and GA4 through one MCP URL. Source availability and plan limits are listed on the site; connecting an account is still required.
Follow the Search Console connection guide.
Select the account or property your assistant may read.
Try a read-only review: “Find which pages and queries account for a change in organic clicks. State missing data and do not change anything.”
See the current hosted tool catalogue and pricing before choosing a paid plan. This Apache 2.0 adapter remains independently useful with your own credentials.
Contributing
Issues and pull requests are welcome. See CONTRIBUTING.md. Please read SECURITY.md before reporting anything security-related.
Licence
Apache License 2.0. See also NOTICE.
Google and Google Search Console are trademarks of Google LLC. This project is not affiliated with, endorsed by, or sponsored by Google LLC. It is an independent client of a public API.
MCP contracts and desktop bundle
Every tool declares read/write annotations, parameter descriptions and a structured output schema. Successful calls expose the payload as structuredContent.result; errors retain isError: true. The generated server card contains definitions only.
Run npm run bundle -- /path/to/output to build a .mcpb desktop bundle from the current catalog. Credentials are entered locally during installation. This server remains read-only.
More from getmcpads
Meta Ads · Google Ads · Google Analytics 4 · TikTok Ads · Pinterest Ads · X Ads
Maintained by the getmcpads team at getmcpads. Questions: hello@getmcpads.com.
Available Tools
20 toolsgsc_analyze_search_appearance_trendsgsc analyze search appearance trendsBRead-onlyIdempotent
Analyze structured data and rich-result trend signals via the Search Analytics searchAppearance dimension when GSC exposes it.
Inputs: topN, limit, sortBy, siteUrl, +6 more. Returns: result
gsc_bulk_inspect_urlsgsc bulk inspect urlsARead-onlyIdempotent
Inspect multiple URLs with a conservative sequential limit and normalized URL Inspection results. Quota: 2000 requests/day/property.
Inputs: urls (required), siteUrl, languageCode, continueOnError. Returns: result
gsc_cluster_queriesgsc cluster queriesBRead-onlyIdempotent
Cluster Search Console queries by simple tokens and intent signals: brand/non-brand, question, category, and topic tokens.
Inputs: limit, siteUrl, dateRange, brandTerms, +5 more. Returns: result
gsc_compare_search_typesgsc compare search typesBRead-onlyIdempotent
Compare performance across Search Console search types: web, image, video, news, discover, and Google News.
Inputs: siteUrl, dateRange, datePreset, searchTypes. Returns: result
gsc_detect_cannibalizationgsc detect cannibalizationCRead-onlyIdempotent
Detect queries where multiple pages compete for clicks/impressions in Search Analytics query-page rows.
Inputs: topN, limit, siteUrl, minPages, +5 more. Returns: result
gsc_find_losses_gainsgsc find losses gainsBRead-onlyIdempotent
Compare two periods for query or page performance and return click/impression/CTR/position deltas.
Inputs: topN, limit, sortBy, siteUrl, +6 more. Returns: result
gsc_get_data_freshnessgsc get data freshnessBRead-onlyIdempotent
Detect the most recent date with Search Analytics data by querying recent daily rows.
Inputs: siteUrl, searchType, lookbackDays. Returns: result
gsc_get_sitegsc get siteARead-onlyIdempotent
Get one Search Console property and its exact permission level (read-only sites.get).
Inputs: siteUrl. Returns: result
gsc_get_sitemapgsc get sitemapARead-onlyIdempotent
Get one submitted sitemap by full feed path, including type, fetch state, warnings/errors, and submitted/indexed content totals.
Inputs: feedpath (required), siteUrl. Returns: result
gsc_get_sitemap_healthgsc get sitemap healthBRead-onlyIdempotent
Return an enriched read-only sitemap health summary with status totals, submitted/indexed content counts, warnings, and errors.
Inputs: siteUrl. Returns: result
gsc_health_checkgsc health checkARead-onlyIdempotent
Verify Google Search Console read-only authentication, visible properties, configured default site, and permission levels without exposing tokens.
Inputs: siteUrl. Returns: result
gsc_indexation_watchlistgsc indexation watchlistARead-onlyIdempotent
Read-only URL Inspection watchlist for critical URLs. Inspects up to 10 URLs and returns alert/review/ok assessments without storing state.
Inputs: urls (required), siteUrl, languageCode, continueOnError. Returns: result
gsc_inspect_urlgsc inspect urlARead-onlyIdempotent
Inspect a URL for Google indexing status, crawl info, mobile usability, AMP, and rich results. Quota: 2000 requests/day/property.
Inputs: url (required), siteUrl, languageCode. Returns: result
gsc_list_sitemapsgsc list sitemapsBRead-onlyIdempotent
List sitemaps submitted for a Search Console property, including processing status and submitted/indexed counts.
Inputs: siteUrl, sitemapIndex. Returns: result
gsc_list_sitesgsc list sitesARead-onlyIdempotent
List all Google Search Console properties accessible with the current credentials.
Inputs: no named parameters. Returns: result
gsc_monitor_indexation_freshnessgsc monitor indexation freshnessBRead-onlyIdempotent
Read-only monitoring snapshot for Search Analytics freshness, sitemap indexation totals, and an optional small URL Inspection sample.
Inputs: siteUrl, inspectUrls, searchTypes, languageCode, +2 more. Returns: result
gsc_plan_large_site_samplinggsc plan large site samplingARead-onlyIdempotent
Build a read-only URL Inspection sampling plan for large sites from sitemap risk signals and Search Analytics page performance.
Inputs: siteUrl, dateRange, pageLimit, datePreset, +5 more. Returns: result
gsc_query_search_analyticsgsc query search analyticsARead-onlyIdempotent
Query Google Search Console Search Analytics. Returns clicks, impressions, CTR, and average position for queries, pages, countries, devices, dates, and search appearances. Use gsc://metrics, gsc://dimensions, gsc://filters, and gsc://compatibility for available fields and rules.
Inputs: limit, filters, metrics, orderBy, +10 more. Returns: result
gsc_track_sitemap_deltasgsc track sitemap deltasARead-onlyIdempotent
Read-only sitemap delta tracker. Fetches the current sitemap snapshot and compares it to an agent-provided baseline; no state is written.
Inputs: siteUrl, baseline, includeUnchanged, minAbsIndexedDelta. Returns: result
gsc_validate_querygsc validate queryBRead-onlyIdempotent
Validate a Search Console metric/dimension/search type combination before executing it.
Inputs: dateRange, dimensions, searchType. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Most tools have distinct purposes, especially the core site, analytics, URL inspection, and sitemap tools. There is some overlap among the monitoring/freshness helpers, such as get_data_freshness, monitor_indexation_freshness, get_sitemap_health, and health_check, but descriptions provide enough distinction.
All tools use a consistent gsc_ snake_case prefix with mostly predictable verb_noun or verb_object phrasing. Minor exceptions like gsc_health_check are still readable and fit the same convention.
The server exposes 20 tools, which is on the heavy side for a Search Console integration. Many are useful read-only analytics helpers, but several specialized monitoring/analysis tools could likely be consolidated.
The surface covers the major read-only GSC workflows: properties, Search Analytics, URL Inspection, sitemaps, freshness, and comparisons. Gaps are minor for an explicitly read-only server, though sitemap/property write operations and some higher-level reporting conveniences are absent.
Maintenance
Related MCP Connectors
Read-only Google Search Console MCP server for AI assistants.
Hosted MCP server for GA4, Google Ads and Search Console. Google OAuth, nothing to install.
Hosted Google Search Console MCP server, with each action switched on or off per account.
Hosted, read-only Google Search Console MCP: performance, comparisons, URL inspection, sitemaps.
Related MCP Servers
- AlicenseAqualityFmaintenanceLegacy MCP server for Google Search Console data, now superseded by the unified google-seo-mcp-claude-code suite.14MIT
- AlicenseAqualityBmaintenanceSelf-hosted Google Ads MCP server: 35 read tools and 10 opt-in, preview-first write tools. Maintained source relocated from getmcpads-com/google-ads-mcp-server; npm package remains @getmcpads/google-ads-mcp-server.35122 npm1Apache 2.0
- AlicenseBqualityBmaintenanceSelf-hosted Meta Ads MCP server with 41 read tools and 23 opt-in, preview-first write tools. Maintained source relocated from getmcpads-com/meta-ads-mcp-server; npm package remains @getmcpads/meta-ads-mcp-server.42470 npmApache 2.0
- AlicenseNot gradedqualityBmaintenanceSelf-hosted Pinterest Ads MCP server with 28 read tools and 25 opt-in, preview-first write tools. Maintained source relocated to get-mcp-ads/pinterest-ads-mcp-server; npm package remains @getmcpads/pinterest-ads-mcp-server.117 npmApache 2.0