mcp-gsc-advanced
mcp-gsc-advanced
Built by Artur Ferreira @ The GEO Lab ยท ๐ @TheGEO_Lab ยท LinkedIn ยท Reddit
MCP server for advanced Google Search Console analysis โ keyword cannibalization detection, page-level query deep dive, and rank change tracking.
Extends basic GSC data into actionable SEO intelligence.
Tools
Tool | Description |
| Find queries where 2+ pages compete โ severity scoring, impressions split, consolidation recommendations |
| All queries driving traffic to a specific page โ sorted by impressions with CTR and position |
| Period-over-period position changes โ finds significant gains and losses |
Features
โ GEO-native โ built alongside the GEO Brand Citation Index, tracking brand visibility across ChatGPT, Perplexity, and Gemini
Install
# Claude Code (service account key file)
claude mcp add gsc-advanced \
-e GOOGLE_SERVICE_ACCOUNT_KEY=/path/to/service-account.json \
-e GSC_SITE_URL=https://yoursite.com/ \
-- npx mcp-gsc-advanced
# Or in .mcp.json
{
"mcpServers": {
"gsc-advanced": {
"command": "npx",
"args": ["mcp-gsc-advanced"],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "/path/to/service-account.json",
"GSC_SITE_URL": "https://yoursite.com/"
}
}
}
}Authentication
Requires a Google service account with Search Console access.
Option A: Set GOOGLE_SERVICE_ACCOUNT_KEY to the path of your service account JSON file.
Option B: Set GOOGLE_CLIENT_EMAIL and GOOGLE_PRIVATE_KEY env vars directly.
Then add the service account email as a Full user in Google Search Console.
Usage
> detect keyword cannibalization on my site
> what queries drive traffic to /geo-stack/ page?
> show rank changes in the last 7 daysAttributions & Licence
Built and maintained by Artur Ferreira @ The GEO Lab.
Email: artur@thegeolab.net
Best Practice Attribution
This MCP server was built following the open source Best Practice Approach โ reading community work for inspiration, then writing original content, and crediting every source.
Based on:
Model Context Protocol specification by Anthropic
MCP SDK (MIT)
GSC analysis concepts inspired by:
Google Search Console API โ official documentation
Aleyda Solรญs โ GSC cannibalization detection methodology
Kevin Indig / Growth Memo โ GSC query analysis for AI search
Dependencies:
googleapis โ Google APIs Node.js client (Apache 2.0)
All server code is original writing. No files were copied or adapted from any source. MIT licence.
Found this useful? โญ Star the repo and connect: ๐ thegeolab.net ยท ๐ @TheGEO_Lab ยท LinkedIn ยท Reddit
Related Repos
claude-code-mcps โ All 5 MCP servers in one collection
mcp-seo-auditor โ On-page SEO audit + JSON-LD validation
mcp-serp-intel โ SERP weak spots, PAA trees, intent comparison
mcp-common-crawl โ Free backlink discovery via Common Crawl
mcp-gsc-advanced โ GSC cannibalization, rank changes
mcp-wordpress-setup โ WordPress MCP server setup guide
Licence
MIT โ see LICENSE
Built and maintained by Artur Ferreira @ The GEO Lab ยท MIT License