Search Console MCP
Integrates with Google's Search Console, GA4, and AdSense APIs to retrieve search performance, analytics, and ad revenue data for unified SEO and revenue analysis.
Provides tools for AdSense earnings reports, payments, account alerts, and multi-account revenue reporting via OAuth.
Provides tools for querying Search Console performance data, resolving properties, managing sites and sitemaps, and running SEO analyses such as quick wins, cannibalization, and anomaly detection.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Search Console MCP find quick wins for mysite.com over the last 28 days"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Copia segura mantenida por Chaska Developer Technologies. Origen: saurabhsharma2u/search-console-mcp 2.1.4 (licencia MIT, aviso original en
LICENSE). Cambios (verparche-chaska.diff): (1) la herramientastarRepositoryya no ejecutagh repo starni abre el navegador; (2)utils/update.jsya no consulta npm, no se autoactualiza ejecutando comandos y no inyecta la "SYSTEM NOTICE" en las respuestas al agente. Las actualizaciones se hacen a mano tras revisar el código. (3) Se eliminó el ID y el secreto de OAuth de Google que el original traía incrustados (la sesión pasaba por la aplicación de su autor). Ahora debes crear tu propio cliente OAuth de tipo Aplicación de escritorio en Google Cloud y definirGOOGLE_CLIENT_IDyGOOGLE_CLIENT_SECRET; sin ellos no inicia sesión. Estado: revisado en cuarentena, sin probar contra cuentas reales todavía. Uso bajo tu responsabilidad. Mejoras propuestas al proyecto original: opciones--no-updatey--no-star, y quitar el texto "SYSTEM NOTICE" de las salidas de herramientas.
🔍 Search Console MCP
Google Search Console + Bing Webmaster Tools + GA4 + AdSense — in one context window.
Stop exporting CSVs. Start asking your AI agent questions about your site's traffic, rankings, and revenue.
📚 Docs · Quick Start · Tools · Backward Compatibility · Security
⚡ What's New in v2.1.4
🎯 Correct-property resolution (
#110): Accounts with multiple verified properties sharing one hostname (locale subfolders like/en-gb/+/de-de/, the root property, and thesc-domain:property) could get analytics data silently returned for the wrong property — whichever colliding property the resolver happened to touch first. Resolution is now exact by property type and path; bare-domain queries rank deterministically (sc-domain:› root), and truly ambiguous requests fail with the list of matching properties instead of guessing. With thanks to Alcip for the outstanding root-cause analysis in #110.🔐 Explicit write authorization for GSC mutation tools (
#113):sitemaps_submit,sitemaps_deleteand site-management calls now require an explicit webmasters write scope, offered as an inline re-authorization flow in the CLI when a tool first needs it. The server stays read-only by default at setup; you opt into write capabilities explicitly. Credit to chase-weiser88 for surfacing the missing write scope in #84.🛡️ SSE transport secured & deprecated (
#114): SSE mode now binds to127.0.0.1by default (--host=/MCP_HTTP_HOSTto override), requires a bearer token (--token=/MCP_HTTP_TOKEN, auto-generated if unset), never sends wildcard CORS, and rejects forged non-loopback Host headers (DNS-rebinding guard). SSE mode is deprecated and will be removed in the next release — prefer the default stdio transport.🪲
find_quick_winsprompt typing (#112):min_impressionswas declared as a number, but MCP clients must send prompt arguments as strings — so every use errored withexpected number, received string. It is now string-typed and coerced internally (1000default preserved).
🤖 GenAI Query Insights (
genai_query_insights): Surfaces likely generative-AI / AI-Mode / conversational "fanout" queries across Google and Bing. This is custom heuristic logic — no official API is provided by Google or Bing for GenAI citation data, so it flags prompt verbs, follow-ups, acknowledgements, and conversational phrasing on the regular query data both engines already return. See docs →🪲
analytics_queryfix:rowLimitis now honored instead of being silently ignored (previously always returned up to 1000 rows);limitremains as a backward-compatible alias.
💰 Google AdSense Integration: Earnings reports, payments and account alerts via
setup --engine=adsense. Enabling AdSense requires you to approve a separateadsense.readonlyOAuth scope; your existing GSC, Bing, and GA4 configuration remains unchanged until you opt in.🔐 OAuth-only AdSense auth: The AdSense Management API supports user OAuth only — setup now validates access live and rejects unsupported service-account configs with actionable guidance. Multi-account users get explicit publisher-account selection with full pagination (>100 accounts).
📊
adsense_reportupgrades: CustomstartDate/endDatenow override presetdateRanges, plus a neworderByparameter (-ESTIMATED_EARNINGS) for sorted revenue reports.🧪 End-to-end MCP test suite: The built server binary is now tested over stdio and SSE exactly like an MCP host would drive it — handshake, tool schemas, error envelopes, and multi-account resource behavior (11 e2e tests wired into CI).
💰 Google AdSense Integration: Earnings reports, payments and account alerts via
setup --engine=adsense. Enabling AdSense requires you to approve a separateadsense.readonlyOAuth scope; your existing GSC, Bing, and GA4 configuration remains unchanged until you opt in.🔐 OAuth-only AdSense auth: The AdSense Management API supports user OAuth only — setup now validates access live and rejects unsupported service-account configs with actionable guidance. Multi-account users get explicit publisher-account selection with full pagination (>100 accounts).
📊
adsense_reportupgrades: CustomstartDate/endDatenow override presetdateRanges, plus a neworderByparameter (-ESTIMATED_EARNINGS) for sorted revenue reports.🧪 End-to-end MCP test suite: The built server binary is now tested over stdio and SSE exactly like an MCP host would drive it — handshake, tool schemas, error envelopes, and multi-account resource behavior (11 e2e tests wired into CI).
📦 MCPB One-Click Bundle Support (
.mcpb): Drag and drop bundle installation for Claude Desktop.⚡ Parallel Fetch Engine (
engine: "all"): Multi-engine queries fetch Google, Bing, and GA4 concurrently with 50%+ lower latency.🔄 100% Backward Compatibility: All ~96 legacy tool names continue to work seamlessly via our fallback router. Read Backward Compatibility Guide →
Related MCP server: seoskill
Why this exists
Site data lives in four different silos. Answering one question — "did my ad revenue drop because of a traffic dip or a lower RPM?" — usually means logging into four dashboards, exporting four CSVs, and doing VLOOKUPs by hand.
Search Console MCP puts GSC, Bing, GA4, and AdSense behind one set of tools your AI agent can call directly, and does the analysis (cannibalization, anomaly detection, revenue attribution) before the data ever reaches your context window.
Before | After | |
Data | 4 dashboards, manual exports | 1 unified context |
Analysis | Manual VLOOKUPs & pivot tables | Deterministic SEO + revenue math, server-side |
Accounts | Constant re-login | 20+ accounts, auto-resolved per site |
Insight | Raw rows, agent guesses | Curated signals (opportunity scores, anomalies) |
⚡ Quick Start
npx search-console-mcp setupThis opens your browser, authorizes your Google account, and stores your credentials securely (see Security). Then add it to your MCP client config (Claude Desktop, Cursor, Antigravity, etc.):
{
"mcpServers": {
"search-console": {
"command": "npx",
"args": ["search-console-mcp"]
}
}
}Restart your client — and try one of the prompts below.
💬 Try it
Paste these straight into your agent:
"My traffic dropped this week vs. last. Find exactly when it started and which pages are responsible."
"Find keywords for example.com ranking positions 8–15 with 1,000+ impressions — my best quick wins."
"Check for keyword cannibalization — are two of my pages competing for the same query?"
"Run
seo_auditon my top pages: which have high search visibility but poor CTR?"
"Run a full SEO health check (
site_health_check), segmented by Brand vs Non-Brand.""Fetch my top 5 pages by impressions and run
pagespeed_analyze— any correlation with declining rankings?""Compare Google vs Bing performance for the last 30 days (
compare_engines) — where is Bing winning?""Submit my latest URLs to Google and IndexNow using
indexing_submitwithmethod: "index_now"."
🔌 Connect your accounts
Platform | Method | Setup |
Google Search Console | OAuth (recommended) |
|
Google Search Console | Service Account | Set |
Bing Webmaster Tools | API Key |
|
Google Analytics 4 | Service Account |
|
Google AdSense | OAuth (read-only) |
|
Manage everything from the CLI:
npx search-console-mcp accounts list
npx search-console-mcp accounts add-site --account=you@company.com --site=example.com
npx search-console-mcp accounts remove --account=you@company.comWhen your agent queries a site, the server auto-resolves which account owns it — no manual switching. Multi-account docs →
AdSense cannot use service accounts, and config files are machine-encrypted — so authorize once on any machine with a browser and transfer the grant:
# 1. On your laptop (after setup --engine=adsense):
npx search-console-mcp adsense-export
# 2. On the server (prints a ready-to-run command on step 1):
npx search-console-mcp adsense-import --token='...' --publisher-id='accounts/pub-...'The token is stored encrypted on the server and auto-refreshes — no browser needed again. Setup over SSH also works directly: when no browser is detected, setup prints the authorization URL plus ssh -L 3000:localhost:3000 port-forward instructions instead of failing.
🖥️ Run tools from the CLI
Search Console MCP also exposes registered MCP tools as direct CLI commands. Use the run subcommand to list tools, inspect tool-specific arguments, and print results as JSON, CSV, or an ASCII table:
# List registered tools
npx search-console-mcp run --help
# Show options for one tool
npx search-console-mcp run analytics_query --help
# Run an SEO audit with JSON output
npx search-console-mcp run seo_audit --siteUrl=https://example.com --type=quick_wins
# Print array results as CSV or a table
npx search-console-mcp run analytics_query --siteUrl=https://example.com --startDate=2026-06-01 --endDate=2026-06-30 --dimensions=date,query --format=csv
npx search-console-mcp run sites_list --engine=all --format=tableCreate a service account in the Google Cloud Console
Generate a JSON key
Add the service account email as a user in Search Console with "Full" or "Restricted" access
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/key.json"
🛠 Tools (Fluent Domain Architecture)
Search Console MCP v2.0 features 7 Fluent Domain Tools that handle all SEO, Analytics, Inspection, and Indexing operations cleanly:
Fluent Tool | Parameters / Actions | Description |
|
| Lists verified sites across search engines in parallel |
|
| Adds or removes site properties |
|
| Configures multi-account profiles |
|
| Fetches sitemap status and indexing state |
|
| Submits sitemaps to GSC & Bing |
|
| Removes sitemaps |
|
| Multi-engine search & GA4 analytics query |
|
| Analyzes period deltas, trend shifts, and drop causes |
|
| Statistical detection of traffic spikes/drops |
|
| Google URL inspection & Bing URL info |
|
| Core Web Vitals and PageSpeed Insights audits |
|
| Instantly indexes URLs via IndexNow or Google/Bing API |
|
| Checks remaining indexing quota & URL status |
|
| Comprehensive automated SEO audits |
|
| Keyword volumes and related keyword stats |
|
| One-shot site performance & technical audit |
|
| Side-by-side Google vs Bing performance breakdown |
|
| Flags likely generative-AI / conversational queries (custom heuristic, no official API) |
Google AdSense Tools
Tool | Parameters | Description |
|
| Lists configured or discoverable AdSense publisher accounts |
|
| Earnings, impressions, clicks, CTR & RPM with dimension breakdowns. Custom dates override |
|
| Outstanding payments and account alerts (policy issues, payment holds) |
Note:
accountIdrefers to the configured profile ID (e.g.adsense_2, as shown byaccounts_manage), not a publisher resource name likeaccounts/pub-123.
All legacy tool names (bing_sites_list, seo_quick_wins, sitemaps_get, bing_index_now, indexing_submit_url, opportunity_matrix, etc.) continue to work transparently via our fallback router.
Read our complete Backward Compatibility & Migration Guide →
🔒 Security
OS keychain first — tokens stored in macOS Keychain, Windows Credential Manager, or Linux Secret Service
AES-256-GCM fallback — encrypted with a key derived from your machine's hardware ID; a stolen file is useless on another device
Minimal storage — only
refresh_tokenandexpiry_dateare persisted, atmode 600Silent refresh — tokens renew automatically in the background
License
MIT · Contributing guide · Backward Compatibility Guide
If this saves you a spreadsheet, consider ⭐ starring the repo.
Available Tools
25 toolsaccounts_manageC
Manage Google Search Console service accounts and site permissions.
Inputs: action (required), email, siteUrl, accountId.
adsense_accountsA
List configured AdSense publisher accounts, or discover all publisher accounts the authorized user has access to.
Inputs: mode, accountId.
adsense_payments_alertsB
Outstanding AdSense payments and account alerts (policy issues, payment holds).
Inputs: accountId.
adsense_reportB
Google AdSense earnings & performance report: estimated earnings, impressions, clicks, CTR and RPM with dimension breakdowns.
Inputs: endDate, metrics, orderBy, rowLimit, +4 more.
analytics_advancedC
Google Analytics 4 (GA4) e-commerce, realtime metrics, user behavior, and conversion funnels.
Inputs: metricType (required), propertyId (required), endDate, startDate.
analytics_anomaliesB
Detect search traffic anomalies across Google and Bing.
Inputs: siteUrl (required), engine, endDate, startDate, +1 more.
analytics_compareB
Period-over-period search performance comparisons, trends, and traffic drop attributions.
Inputs: siteUrl (required), mode, engine, endDate, +3 more.
analytics_queryB
Unified search performance query replacing single-dimension tools. Supports queries, pages, countries, devices, and search appearances.
Inputs: siteUrl (required), engine, endDate, filters, +3 more.
compare_enginesB
Cross-engine performance matrix comparing Google Search Console vs Bing Webmaster Tools.
Inputs: siteUrl (required), limit, endDate, dimension, +1 more.
diagnosticsA
Run connectivity diagnostics for all connected accounts. Use this to troubleshoot '0 results' or authentication issues.
Inputs: no named parameters.
genai_query_insightsA
Detect likely generative-AI / AI-Mode / conversational fanout queries across Google and Bing. Because neither search engine exposes generative-AI citation data via its public API yet, this matches heuristic patterns (prompt verbs, follow-ups, conversational phrasing) on regular query-level performance data; it is an undercount, not an official report.
Inputs: siteUrl (required), days, engine, includePages, +1 more.
get_startedA
Start here. Returns a complete map of this server's capabilities, active platforms, and recommended workflows. Call this once at the beginning of any session.
Inputs: no named parameters.
indexing_statusA
Check notification status for Google Indexing API or remaining daily Bing submission quota.
Inputs: siteUrl (required), url, type, engine.
indexing_submitB
Submit URL(s) for indexing via Google Indexing API, Bing URL submission, or IndexNow protocol.
Inputs: urls (required), key, host, engine, +3 more.
inspection_inspectB
Inspect indexing, canonical, and crawl status for single or batch URLs on Google or Bing.
Inputs: urls (required), siteUrl (required), engine.
pagespeed_analyzeB
Run PageSpeed Insights & Core Web Vitals performance analysis for a page.
Inputs: url (required), cwvOnly, category, strategy.
schema_validateA
Validate structured data (JSON-LD, Microdata, RDFa) for a given webpage URL.
Inputs: url (required).
seo_auditB
Specialized SEO intelligence analysis (recommendations, quick wins, cannibalization, striking distance, lost queries, low CTR, brand vs nonbrand).
Inputs: type (required), siteUrl (required), engine, brandKeywords, +1 more.
seo_keywords_researchC
Keyword performance stats, related query expansion, and search volume estimates.
Inputs: keywords (required), type, engine, country, +2 more.
site_health_checkC
Comprehensive health audit across Google Search Console and Bing Webmaster Tools.
Inputs: level, engine, siteUrl.
sitemaps_deleteA
Delete a sitemap from Google Search Console or Bing Webmaster Tools.
Inputs: feedUrl (required), siteUrl (required), engine.
sitemaps_listB
List submitted XML sitemaps and status for a site.
Inputs: siteUrl (required), engine, feedUrl.
sitemaps_submitB
Submit a new XML sitemap to Google Search Console and/or Bing Webmaster Tools.
Inputs: feedUrl (required), siteUrl (required), engine.
sites_listA
List verified web properties across Google Search Console, Bing Webmaster Tools, or GA4.
Inputs: engine.
sites_manageB
Add or delete a web property from Google Search Console or Bing Webmaster Tools.
Inputs: action (required), siteUrl (required), engine.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Most tools have clearly distinct resource+action scopes (sitemaps vs sites vs indexing vs AdSense), but a few boundaries blur: seo_audit vs site_health_check vs diagnostics all sound like 'check the site for problems', and analytics_query vs analytics_advanced could be confused when a GA4 user reaches for generic performance data. The consolidated analytics_query also explicitly replaced earlier single-dimension tools, so agents may wonder which analytics entry point to pick.
The dominant pattern is a domain prefix plus verb (sites_list, sitemaps_submit, analytics_query, indexing_status), but several tools break it: get_started, compare_engines, diagnostics, site_health_check, and the awkward inspection_inspect. Readable overall, yet the mix of noun_verb, verb_noun, and bare-noun names means an agent cannot reliably infer a name from an intent.
25 tools sits at the heavy end of the scale, and the surface spans four distinct platforms (Search Console, Bing, GA4, AdSense) plus PageSpeed and indexing APIs. Each tool has plausible purpose, but the count is large enough that discovery relies on get_started rather than on the tool list itself; a few analytics/audit tools could be consolidated.
Coverage is broad: properties, sitemaps, indexing submission and status, URL inspection, performance analytics, GA4 e-commerce, AdSense earnings and alerts, keyword research, and cross-engine comparison. Minor gaps remain around recrawl/URL-removal requests, structured-data generation (only validation exists), and any export/reporting operations, but core SEO workflows have no dead ends.
Maintenance
Related MCP Connectors
Search Console, Google Analytics and keyword data for your AI agent.
SEO data your AI can cite: Search Console, GA4, keywords, backlinks, SERPs and AI visibility.
AI visibility, Google rankings, Search Console and site audit data for your SEO agent.
Real SEO data for AI assistants: page audits, Keyword Planner volumes, Search Console history.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to access self-hosted SEO data and workflows, including keyword research, rank tracking, competitor insights, backlinks, site audits, and AI visibility.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to run SEO audits and reporting over a user's own Search Console, Google Analytics, Bing, and keyword/competitor provider data, including page/index status, traffic comparisons, backlinks, and local crawl/internal-link analysis.3,243 npm649Apache 2.0
- AlicenseNot gradedqualityCmaintenanceGives AI agents access to your own Google Search Console data — search performance, URL inspection, sitemaps and ranked SEO reports — using your own credentials, read-only by default. Ships ready-made analyses such as quick wins, traffic drops, content decay, cannibalization and CTR outliers, plus scheduled weekly report summaries.MIT

zaDojo MCPofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents to research keywords, inspect live Google SERPs and Maps results, analyze competitors and backlinks, audit sites, track rankings, and read Google Search Console and Analytics data without Google Cloud setup. It also tracks and audits brand visibility and citations across ChatGPT, Gemini, Perplexity, Claude and Google AI Overviews.2MIT