Google Search Console MCP Server
Local, read-only Google Search Console MCP server. Quick Connect needs no Cloud project.
Google Search Console MCP scores 70 (Good), licensed Apache-2.0 and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Uncategorized. GitHub shows 5 stars. Package registries report about 106 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
70 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 70 comes from
22 + 20 + 7 + 10 + 4 + 7 = 70. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 7 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "sonnivasquez-gsc-mcp": { "command": "npx", "args": [ "-y", "@sonnivasquez/gsc-mcp@1.1.0" ], "env": { "GSC_AUTH_MODE": "", "GSC_ACCESS_MODE": "", "GSC_SITE_URLS": "", "GSC_KEY_FILE": "", "GSC_DATA_DIR": "", "GSC_EXPORTS": "", "GSC_HISTORY": "", "GSC_OAUTH_SECRETS_FILE": "", "GSC_OAUTH_CLIENT_ID": "", "GSC_OAUTH_CLIENT_SECRET": "YOUR_GSC_OAUTH_CLIENT_SECRET", "GSC_SCOPES": "", "GSC_ENABLE_WRITE": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
GSC_AUTH_MODE | Optional | oauth or service_account. Unset defaults to service_account. Set oauth for Quick Connect or your own OAuth client. |
GSC_ACCESS_MODE | Optional | readonly or full. full enables gsc_submit_url, gsc_submit_batch, and gsc_submit_sitemap. When unset, legacy GSC_SCOPES and GSC_ENABLE_WRITE apply and writes stay off unless both allow them. Setup refuses full access for Quick Connect. |
GSC_SITE_URLS | Optional | Property allowlist. JSON string array of exact Search Console property ids, a legacy comma-separated list, or all alone (or JSON ["all"]) for every current and future property. Property-scoped tools need an allowlist. |
GSC_KEY_FILE | Optional | Path to a service account JSON key. Required when GSC_AUTH_MODE is service_account, which is the default mode. |
GSC_DATA_DIR | Optional | Local state directory for OAuth tokens, datasets and opt-in audit history. Default is ~/.gsc-mcp. |
GSC_EXPORTS | Optional | Set to 1 to allow gsc_export_dataset and saved gsc_generate_report files on this machine. Any other value keeps local export disabled. |
GSC_HISTORY | Optional | Set to 1 for explicit local gsc_change_impact history actions. Independent of exports; no scheduler or notifications. |
GSC_OAUTH_SECRETS_FILE | Optional | Optional path to a Desktop OAuth client secrets JSON file. It takes precedence over GSC_OAUTH_CLIENT_ID and GSC_OAUTH_CLIENT_SECRET. Quick Connect does not need it. |
GSC_OAUTH_CLIENT_ID | Optional | Optional OAuth client id. Used with GSC_OAUTH_CLIENT_SECRET when GSC_OAUTH_SECRETS_FILE is unset. Quick Connect does not need it. |
GSC_OAUTH_CLIENT_SECRETSecret | Optional | Optional OAuth client secret paired with GSC_OAUTH_CLIENT_ID. Quick Connect does not need it. |
GSC_SCOPES | Optional | Legacy scope tier, readonly or full. Ignored when GSC_ACCESS_MODE is set. full alone does not enable writes. |
GSC_ENABLE_WRITE | Optional | Legacy write opt-in. Set to 1 together with GSC_SCOPES=full when GSC_ACCESS_MODE is unset. Ignored when GSC_ACCESS_MODE is set. |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Google Search Console MCP server

A local Google Search Console MCP server to compare search performance, find SEO opportunities, and check URL indexing status from your AI assistant using your own Google Search Console data.
GSC MCP is an open-source MCP server by Sonni Vasquez. It runs locally over stdio with Node.js or Bun and provides 34 tools. Google API requests run from your machine, with read-only Google access by default and access limited to the properties you select.
Website · npm package · Quickstart · Guía en español · Tool catalog
This is an independent project, not an official Google product.
Install with npx
The buttons and snippets below start the local stdio server with npx -y @sonnivasquez/gsc-mcp. They set GSC_AUTH_MODE=oauth and GSC_ACCESS_MODE=readonly. They do not sign you in to Google and they do not choose a property. Node.js 22 or newer is required. After the client starts the server, set GSC_SITE_URLS to your Search Console property and run gsc auth login or gsc setup. Quick Connect uses the shared read-only OAuth client shipped in this package, so you do not create a Google Cloud project for that path.
Claude Code
Replace sc-domain:example.com with your Search Console property id:
claude mcp add gsc-mcp -e GSC_AUTH_MODE=oauth -e GSC_ACCESS_MODE=readonly -e GSC_SITE_URLS=sc-domain:example.com -- npx -y @sonnivasquez/gsc-mcp
JSON config
Same command, for a client that reads mcpServers. Replace the example property:
{
"mcpServers": {
"gsc-mcp": {
"command": "npx",
"args": ["-y", "@sonnivasquez/gsc-mcp"],
"env": {
"GSC_AUTH_MODE": "oauth",
"GSC_ACCESS_MODE": "readonly",
"GSC_SITE_URLS": "sc-domain:example.com"
}
}
}
}
Why this one
Quick Connect is the path that skips creating a Google Cloud OAuth client. Custom OAuth and service accounts in this same server still use credentials you create. Both paths run locally.
| Quick Connect in this server | Your own Google credentials | |
|---|---|---|
| Google Cloud project | Not required. This package ships a shared read-only OAuth client. | Custom OAuth needs your client (GSC_OAUTH_SECRETS_FILE, or GSC_OAUTH_CLIENT_ID plus GSC_OAUTH_CLIENT_SECRET). A service account needs GSC_KEY_FILE. |
| Where it runs | Local stdio process. Google API requests run from your machine. | Same local process. |
| Default access | Read-only. Setup refuses full access for Quick Connect. | Read-only unless GSC_ACCESS_MODE=full. That mode enables gsc_submit_url, gsc_submit_batch, and gsc_submit_sitemap. |
| Tools | 34 gsc_* tools registered by the server. | The same 34 tools. |
| Also registered here | gsc_genai_conversation_queries, gsc_check_update_impact, and gsc_image_page_audit. | The same tools. |
gsc_genai_conversation_queries reads AI-conversation exhaust in query data. gsc_check_update_impact compares a drop window with confirmed ranking updates and reports temporal coincidence only. gsc_image_page_audit fetches your own pages and their image bytes.
What you can do
| SEO task | What GSC MCP returns | Example tools |
|---|---|---|
| Understand a traffic change | Clicks, impressions, CTR, average position and period comparisons by page or query | gsc_performance_overview, gsc_compare_periods, gsc_analyze_traffic_drop |
| Prioritize pages and queries | Candidates with low CTR, weak positions or declining traffic, using explicit thresholds | gsc_find_opportunities, gsc_content_decay |
| Review competing pages | Queries served by multiple pages on your site, with evidence for editorial review | gsc_detect_cannibalization, gsc_query_pages |
| Inspect indexing and sitemaps | Google's indexed view of selected URLs and registered sitemap states | gsc_inspect_urls, gsc_list_sitemaps |
| Compare segments | Brand terms, site folders, countries, devices, or web versus image search | gsc_analyze_segments, gsc_compare_web_image |
| Audit on-page images | Findings from downloading your own pages and their referenced images | gsc_image_page_audit |
| Audit a page or an index sample | Current HTTP HTML and exact-page queries, or indexed-view inspection from sitemap discovery | gsc_page_audit, gsc_indexing_audit |
| Review internal links | Bounded HTML link graph and literal suggestions | gsc_internal_link_audit |
| Evaluate changes or a migration | Observed before/after metrics and declared URL mappings | gsc_change_impact, gsc_migration_audit |
| Prepare reports | Markdown reports and optional local dataset exports | gsc_generate_report, gsc_export_dataset |
These are analysis tools. Opportunity and cannibalization results are candidates to review, not proof that a particular SEO change will improve rankings.
Search Analytics in 1.2.0
Version 1.2.0 extends gsc_search_analytics with three options for performance reports.
- Branded and non-branded traffic. Group or filter using Google's
brandedClassificationon eligible properties. - Web multimodal performance. Use
searchType: "webMultimodal"to see which pages earn clicks and impressions from Google Lens, Circle to Search, and image uploads in Google Search. - Multiple countries or devices. Use
filterListsto bring several markets or device types into one report.
Search Analytics examples · Input rules and coverage · Changelog
Get started
You need Node.js 22 or newer, npm or Bun, and a Google account with access to a Search Console property. Bun can install the package and run the MCP server; the global gsc CLI still requires Node.js.
npm install -g @sonnivasquez/gsc-mcp
gsc setup
Setup guides you through:
- Sign in to Google. Choose read-only Quick Connect, or use your own OAuth client or a service account.
- Choose properties. Select the Search Console properties this server may access.
- Connect your client. Review and approve the configuration preview. Setup preserves other MCP servers.
Quick Connect uses a shared Desktop OAuth application and needs no Google Cloud project setup. Complete Google sign-in in your browser. Never paste passwords, OAuth credentials or tokens into an AI chat.
Check your local installation and saved authentication state:
gsc doctor
gsc auth status
To check access with a minimal request to Google, run gsc auth status --online. Restart your MCP client if the tools do not appear.
Other installation options
With Bun as the package manager:
bun install -g @sonnivasquez/gsc-mcp
gsc setup
The shell installer installs the latest package globally and opens setup. It uses npm by default and does not use sudo:
curl -fsSL https://gscmcp.dev/install.sh | sh
To use Bun with the installer:
curl -fsSL https://gscmcp.dev/install.sh | sh -s -- --manager bun
Read the installer or follow the quickstart for details.
Supported clients
Guided setup supports Claude Desktop, Claude Code, Cursor, Codex, OpenCode and Pi. It can also print JSON for another compatible MCP client. GSC MCP uses local stdio, so the client must support launching a local server.
See client setup instructions. Use gsc setup --dry-run to preview changes or gsc setup --verbose for configuration details. OpenCode and Pi configuration is global.
Install with your AI agent
Copy this prompt into an agent that can run terminal commands. You complete Google sign-in yourself:
Install @sonnivasquez/gsc-mcp globally with npm, or Bun if I prefer, then run gsc setup.
Use read-only Quick Connect. Help me sign in to Google, choose my Search Console
properties and connect my MCP client while preserving other MCP servers.
Never ask me to paste credentials or tokens into chat. Verify with gsc doctor
and tell me whether I need to restart my client. Do not query Search Console
until I ask.
Try it with your site
After setup, ask your assistant to list the properties it can access. Use an exact property identifier such as sc-domain:example.com or https://example.com/ in subsequent requests.
The prompts below are examples, not measured results:
For sc-domain:example.com, compare the last 28 days with the previous period.
Show the pages with the largest observed click losses, including impressions,
CTR and average position. State the dates and coverage of the returned data.
Find queries for sc-domain:example.com with at least 500 impressions and CTR
below 2% in the last 28 days. Show their ranking pages and prioritize candidates
for a title and snippet review. Do not edit the site.
Inspect these three URLs on my selected property and show Google's indexed
status for each. Then list its registered sitemaps. Do not submit anything.
You can also ask for pages with sustained traffic declines, query overlap across your own pages, brand versus non-brand segments, or a Markdown performance report. Saving reports and exporting datasets require GSC_EXPORTS=1 in your MCP client's server environment. Restart the client after changing that environment.
On-demand website audits and change history
Version 1.1.0 adds gsc_page_audit, gsc_indexing_audit,
gsc_internal_link_audit, gsc_change_impact, and gsc_migration_audit.
They combine bounded HTTP HTML or sitemap reads with your own GSC data.
They do not render JavaScript or run in the background; client-rendered content
and links remain unknown. Continue batches
explicitly using nextCursor; sessions expire after 15 idle minutes.
GSC_HISTORY=1 enables explicit local change records and saved measurements,
independently of GSC_EXPORTS. Transient before/after analysis needs no history.
Results may be partial even when the scheduled work completes: check status,
coverage and warnings. Full evidence may require gsc_get_dataset. No alerts
service, scheduler or automatic captures are installed.
See audit inputs, limits, evidence pagination and examples.
These audits require version 1.1.0 or later. Check gsc_capabilities in the
running server after updating and restarting your MCP client.
Authentication and access
| Connection | Requirements | Access |
|---|---|---|
| Quick Connect | Browser sign-in with a Google account that can access the property | Read-only, using the shared OAuth application |
| Custom OAuth | Your own Google Cloud OAuth client and browser sign-in | Read-only, or full access after explicit configuration |
| Service account | Your own credentials file and permissions for the property | Read-only, or full access after explicit configuration |
Read-only access blocks Google write operations. Full access uses GSC_ACCESS_MODE=full and enables sitemap submission and eligible Indexing API URL notifications. Setup asks for separate confirmation before enabling writes. Quick Connect does not support full access.
URL Inspection reads Google's indexed view; it does not request indexing. Indexing API submissions have eligibility and permission requirements and do not guarantee indexing. See the credentials guide and tool catalog before enabling writes.
Choosing all properties also includes future properties and requires an explicit confirmation. Setup's --yes option does not enable writes, a sample query, or the optional agent skill.
Privacy and data limits
GSC MCP has no hosted MCP backend or product telemetry. OAuth tokens stay in your local data directory, ~/.gsc-mcp/ by default, or GSC_DATA_DIR. Quick Connect shares an OAuth application and its Google API quotas; it does not share your tokens or property access with the maintainer.
Website audits fetch selected pages, robots.txt and sitemaps directly from authorized properties. The image audit also fetches referenced images, including images served by external public hosts.
Tool responses go to your MCP client and may be sent to its AI provider. Local execution does not mean your Search Console data stays entirely on your machine. Review your client's retention and training settings and the privacy policy.
When interpreting results:
- Date presets such as
last_28_daysend three days before today in Pacific Time. This is a conservative product default, not a guarantee of Google's data availability. - Search Console returns limited rows and coverage. Missing rows are not necessarily zero traffic.
- Average position is an impression-weighted average, not a live rank tracker.
- Traffic drops and overlap with Google updates do not establish causation.
- URL Inspection does not trigger a live crawl or guarantee indexing.
- Alerts run on demand; GSC MCP does not continuously monitor your site.
Update or uninstall
On a global npm or Bun installation, gsc setup and gsc auth login can offer
updates in an interactive terminal. GSC MCP also checks during read requests.
Clients that support confirmation can ask before the request runs. Other
clients receive the notice with the result. To update from a chat notice,
run the suggested gsc update --to <version> command and reconnect the MCP server.
Set GSC_UPDATE_CHECK=0 to turn off automatic checks.
Check for a newer release without installing it:
gsc update --check
Run gsc update for an assisted reinstall and verification, or reinstall with your package manager. Check gsc --version and restart your MCP client after updating.
Uninstall with npm uninstall -g @sonnivasquez/gsc-mcp or bun remove -g @sonnivasquez/gsc-mcp. Removing the package does not revoke Google access or delete saved tokens. Follow the uninstall guide to remove local data or revoke access.
Documentation
- Quickstart · Guía rápida en español
- Tool catalog and response contracts
- Credentials and permissions
- Supported clients
- CLI commands
- Troubleshooting
- Privacy · Changelog · Roadmap
Development
npm ci
npm run typecheck:node
npm run test:node
For Bun, build with bun run build and run bun --test test. The package includes an optional Google Search Console MCP agent skill, available from setup with --install-skill.
License and attribution
Apache-2.0. Copyright Sonni Vasquez.
If this server helps, star the repo: https://github.com/sonnivasquez/gsc-mcp
Frequently asked questions
What is Google Search Console MCP Server?
Local, read-only Google Search Console MCP server. Quick Connect needs no Cloud project.
How do I install Google Search Console MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Google Search Console MCP Server runs locally from the npm package @sonnivasquez/gsc-mcp with the command npx -y @sonnivasquez/gsc-mcp@1.1.0.
Is Google Search Console MCP Server free and open source?
Yes. Google Search Console MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Google Search Console MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Google Search Console MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is Google Search Console MCP Server's trust score calculated?
Google Search Console MCP Server scores 70 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.