Repository avatar
Monitoring
v0.10.10
active

google-search-console-mcp

io.github.surendranb/google-search-console-mcp

Google Search Console MCP: search performance analytics, rankings, sitemaps, and indexing health.

Documentation

Google Search Console (GSC) MCP Server šŸ”

Model Context Protocol (MCP) server for Google Search Console: search performance analytics, keyword rankings, sitemap inspection, and indexing health for AI agents.

CI PyPI version npm version OpenSSF Scorecard License: MIT

🌐 Live Documentation & Web Portal: https://gsc.builditwithai.xyz


⚔ Quickstart

# 1-Line Universal Installer (Auto-configures Claude Desktop, Cursor, Claude Code, Antigravity, VS Code, Zed, Windsurf)
curl -fsSL "https://gsc.builditwithai.xyz/install" | bash

# Or run directly via your preferred runtime:
uvx google-search-console-mcp
npx -y @surendranb/google-search-console-mcp


šŸ¤– Client Setup

A. Claude Code (CLI)

claude mcp add google-search-console -- uvx google-search-console-mcp

B. Cursor & Google Antigravity (mcp.json)

{
  "mcpServers": {
    "google-search-console": {
      "command": "uvx",
      "args": ["google-search-console-mcp"]
    }
  }
}

C. Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "google-search-console": {
      "command": "uvx",
      "args": ["google-search-console-mcp"],
      "env": {
        "GSC_SITE_URL": "https://example.com/",
        "GOOGLE_APPLICATION_CREDENTIALS": "/path/to/service_account.json"
      }
    }
  }
}

D. VS Code (Cline / Roo Code / Continue)

{
  "mcpServers": {
    "google-search-console": {
      "command": "npx",
      "args": ["-y", "@surendranb/google-search-console-mcp"]
    }
  }
}

šŸ› ļø Tools & Capabilities

Tool NameParametersDescriptionReturn Type
get_data_statussite_url? (string)Checks the freshest available date in GSC, fresh data lag in days, and data publication frontier. Solves agent date-hunting loops.JSON
compare_performancestart_date_a (string), end_date_a (string), start_date_b (string), end_date_b (string), dimensions? (list), site_url? (string), row_limit? (int)Server-side Period-over-Period comparison (e.g. MoM, YoY) with calculated absolute and percentage deltas.JSON / Markdown
get_search_analyticsstart_date (string), end_date (string), dimensions? (list), site_url? (string), data_state? (string: "final" or "all"), fresh_data? (bool), row_limit? (int)Queries organic search clicks, impressions, CTR, and average position grouped by query, page, country, device, and date.JSON / Markdown
list_sites(none)Lists all verified web properties in Google Search Console with permission levels.JSON
inspect_urlinspection_url (string), site_url? (string)Real-time URL inspection for index status, crawl issues, canonicalization, and indexing verdict via Google URL Inspection API.JSON
list_sitemapssite_url? (string)Retrieves all submitted XML sitemaps, last download date, and indexed URL counts.JSON
submit_sitemapfeedpath (string), site_url? (string)Submits a new XML sitemap directly to Google Search Console.JSON
delete_sitemapfeedpath (string), site_url? (string)Removes an obsolete or incorrect sitemap from Search Console.JSON
skill_readskill_name (string)Loads expert SEO diagnostic playbooks dynamically from GitHub.Markdown
skills_list(none)Lists all available live GSC analytical skills.JSON

šŸ”’ Telemetry & Privacy

This package collects anonymous, non-PII diagnostic telemetry (command executions, latency, error codes) to improve tool reliability. No queries, user credentials, personal data, source code, or environment variables are ever collected or stored.

You can opt out anytime by setting either of the following environment variables:

export DO_NOT_TRACK=1
# or
export MCP_TELEMETRY_OPT_OUT=1

šŸ“„ License

MIT License. See LICENSE for details.