Skip to main content

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 Name Parameters Description Return Type
get_data_status site_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_performance start_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_analytics start_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_url inspection_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_sitemaps site_url? (string) Retrieves all submitted XML sitemaps, last download date, and indexed URL counts. JSON
submit_sitemap feedpath (string), site_url? (string) Submits a new XML sitemap directly to Google Search Console. JSON
delete_sitemap feedpath (string), site_url? (string) Removes an obsolete or incorrect sitemap from Search Console. JSON
skill_read skill_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.

Metadata

Release files for google-search-console-mcp 0.11.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for google-search-console-mcp 0.11.1
File Size Uploaded Provenance Actions
google_search_console_mcp-0.11.1.tar.gz 190.7 kB Without provenance Details for google_search_console_mcp-0.11.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for google-search-console-mcp 0.11.1
File Interpreter ABI Platform Actions
google_search_console_mcp-0.11.1-py3-none-any.whl Python 3 none any Details for google_search_console_mcp-0.11.1-py3-none-any.whl

Total release size: 228.6 kB

Release files / google_search_console_mcp-0.11.1.tar.gz

Download URL google_search_console_mcp-0.11.1.tar.gz
Size 190.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2ee08d37ab08d0d505dc0be1c4dfa16376bcedab8feba81fc70bb82c6df56b21
BLAKE2b-256 checksum
How to use checksums
b4688b8992056797b14cf918f390022f7b763df20d5f4c96a7109b947ab7bc1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / google_search_console_mcp-0.11.1-py3-none-any.whl

Download URL google_search_console_mcp-0.11.1-py3-none-any.whl
Size 37.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0b576ea897f99ef7dfa3fd981e073621b8446a45b21bace28bb61e3570ee88d
BLAKE2b-256 checksum
How to use checksums
29c953f7762171fb0756b033d76b2a8b579d9098d4a098ee325f2ea2fafb0b7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for google-search-console-mcp 0.11.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page