Skip to main content
Glama
arturseo-geo

mcp-gsc-advanced

by arturseo-geo

mcp-gsc-advanced

Built by Artur Ferreira @ The GEO Lab ยท ๐• @TheGEO_Lab ยท LinkedIn ยท Reddit

Version Licence Claude Code

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

detect_cannibalization

Find queries where 2+ pages compete โ€” severity scoring, impressions split, consolidation recommendations

page_queries

All queries driving traffic to a specific page โ€” sorted by impressions with CTR and position

rank_changes

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 days

Attributions & 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:

GSC analysis concepts inspired by:

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

Licence

MIT โ€” see LICENSE


Built and maintained by Artur Ferreira @ The GEO Lab ยท MIT License