
Mcp Gsc
io.github.pijuszPublished by GitHub account pijuszv0.1.7Updated Oct 24, 2026
Google Search Console MCP server — query performance, sitemaps, indexing & more
Overview
Local MCP server that connects an assistant to Google Search Console for search performance queries, URL inspection, sitemaps and SEO reporting.
- What you can do
- List properties and show verification, ownership and permission details for each one. Query search analytics by query, page, country, device, date and search type, and export results to CSV. List and inspect sitemaps with status, indexed counts and errors. Inspect single URLs or batches of up to 10 for indexing status, crawl info and canonicals. Optional extended tools add period comparisons, top movers, quick wins, cannibalization, CTR anomalies, content decay and weekly SEO reports. Optional write tools add or delete sites, submit or delete sitemaps, and request indexing.
- When to use it
- Useful when you work with Google Search Console data and want an assistant to answer SEO questions in natural language: top queries, indexing checks, sitemap health, period comparisons or recurring SEO reports.
- Requirements
- Runs locally via npx (Node 22+) or Bun. Needs OAuth client credentials or a service account key from Google Cloud Console with the Search Console API enabled, passed through GOOGLE_GSC_CREDENTIALS_PATH. A one-time setup command opens a browser for OAuth consent and caches a refresh token. Network access to Google APIs is required.
Installation
In SourceWeft
- Open Mcp Gsc in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
mcp-gsc
Google Search Console MCP server — query search analytics, inspect URLs, manage sitemaps & more via natural language.
Built with Bun + TypeScript. Works with Claude, Cursor, and any MCP client.
Quick Start
1. Get Credentials
You need OAuth client credentials from Google Cloud Console.
-
Go to Google Cloud Console
-
Create a project (or select existing)
-
Enable the Google Search Console API:
- APIs & Services → Library → search "Google Search Console API" → Enable
-
Configure OAuth consent screen (if not done):
- APIs & Services → OAuth consent screen → External
- Fill in app name + your email, add scope
https://www.googleapis.com/auth/webmasters
-
Create credentials:
- APIs & Services → Credentials → Create Credentials → OAuth client ID
- Application type: Desktop app (allows localhost redirects automatically)
- Download the JSON file
-
Set the credentials path:
- Run setup to authorize:
This opens your browser for OAuth consent, saves a refresh token, verifies access to your GSC properties, and prints config snippets for your MCP client.
2. Add to Claude Code
That's it. Restart Claude Code and the tools are available.
Also works with
bunx mcp-gsc@latestif you have Bun. Requires Node 22+ when running vianpx.
Claude Desktop / Cursor
Add to your claude_desktop_config.json:
Codex CLI
Add to ~/.codex/config.toml (TOML, not JSON):
Codex defaults to a 10s startup timeout, which is often too short for a cold
npxfetch. Bumpstartup_timeout_sec(30 is safe) or install the package globally (npm i -g mcp-gsc) and usecommand = "mcp-gsc"instead.
Service Account (alternative)
For server-to-server auth without browser-based OAuth:
- Create a service account in Google Cloud Console
- Download the JSON key file
- In Google Search Console, add the service account email as a user for each property
- Point
GOOGLE_GSC_CREDENTIALS_PATHto the key file — auth type is auto-detected
Tools (25)
Core Tools (always available)
Sites
Search Analytics
Dimensions: query, page, country, device, date, searchAppearance, hour
Types: web, image, video, news, discover, googleNews
Note: searchAppearance cannot combine with query or page. hour requires data_state="hourly_all" (last 10 days only). Country codes are ISO 3166-1 alpha-3 (usa, gbr, deu).
Sitemaps
URL Inspection
Rate limits: 600/minute + 2,000/day per site (tracked automatically).
Export
Extended Tools (disabled by default)
Enable with GOOGLE_GSC_ENABLE_EXTENDED_TOOLS=true:
Reporting Suite
SEO Suite
Technical SEO Suite
Write Tools (disabled by default)
Enable with GOOGLE_GSC_ENABLE_WRITES=true:
Indexing API prerequisites. The last two use a different Google API to the rest of this server, so they need three things the other tools don't:
- Re-run
mcp-gsc setup— credentials created before this feature lack theauth/indexingscope. The tools say so explicitly if yours do.- Enable the Indexing API on your Google Cloud project — console.cloud.google.com/apis/library/indexing.googleapis.com
- Be a verified owner of the property in Search Console. Full-user access is not enough.
Google officially supports the Indexing API only for pages carrying
JobPostingorBroadcastEventstructured data, with a default quota of 200 URLs/day. It requests a crawl — it never guarantees indexing.
Configuration
Property resolution: You can pass bare domains like example.com — the server auto-resolves to sc-domain:example.com or https://example.com/ by matching against your verified properties.
Examples
Ask your AI assistant:
- "Show me my top 10 queries this month"
- "Find quick wins for example.com"
- "Which pages have declining traffic over the last 3 months?"
- "Check if these URLs are indexed: url1, url2, url3"
- "Compare this week's performance to last week"
- "Export all search analytics data to CSV for the last 28 days"
- "Run a weekly SEO report for my site"
- "Find keyword cannibalization issues"
Future Tool Ideas
- Content gap analysis (requires competitor data integration)
- Core Web Vitals integration (via PageSpeed Insights API)
- Multi-property comparison
- Search appearance deep analysis
- Integration with Google Analytics for conversion data
- Automated reporting schedules
Updates
Using npx @latest (recommended): You always get the latest version.
Using a binary: The server checks for new releases on startup and logs to stderr if outdated.
Development
Requires Bun.
License
MIT
Source: README.md at commit 4b24854
Tools
0Version history
1- v0.1.7LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts