Sandbox
@surendranb/google-search-console-mcp

MCP server for Google Search Console

This server plugs Google Search Console into MCP clients so agents can query search analytics, inspect URLs, list sites, and manage sitemaps. It ships with setup helpers, telemetry, and client config files for common tools like Claude Code and Cursor.

38 starsβ€’9 forksβ€’Pythonβ€’Updated 26d ago
Who it's for

Builders who want their agent to use Google Search Console data inside Claude Code, Cursor, Windsurf, or another MCP client.

What it delivers

You can check search performance and indexing health from your agent instead of switching to Search Console manually.

What it does

Search analytics queries

Runs `get_search_analytics` to return clicks, impressions, CTR, and average position by query, page, country, device, or date.

URL inspection

Runs `inspect_url` to check index status, crawl issues, canonicalization, and mobile usability for a page.

Sitemap management

Lists, submits, and deletes sitemaps with `list_sitemaps`, `submit_sitemap`, and `delete_sitemap`.

Site listing

Uses `list_sites` to show verified properties and permission levels in Search Console.

SEO playbooks

Loads live diagnostic guides with `skill_read` and lists them with `skills_list`.

Client setup files

Includes plugin and config files for Claude, Cursor, Gemini, and other MCP clients.

How to get it

  1. 1Run
    # 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
  2. 2Run
    claude mcp add google-search-console -- uvx google-search-console-mcp

README

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_search_analyticssite_url (string), start_date (string), end_date (string), dimensions (list), 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_urlsite_url (string), inspection_url (string)Real-time URL inspection for index status, crawl issues, canonicalization, and mobile usability.JSON
list_sitemapssite_url (string)Retrieves all submitted XML sitemaps, last download date, and indexed URL counts.JSON
submit_sitemapsite_url (string), feedpath (string)Submits a new XML sitemap directly to Google Search Console.JSON
delete_sitemapsite_url (string), feedpath (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.

Files in the repo

Repository payloadβ€’29 top-level entries
  • .claude-plugin
  • .github
  • .well-known
  • docs
  • npm
  • skills
  • tests
  • website
  • .gitignore
  • AGENTS.md
  • gemini-extension.json
  • gsc_dimensions.json
  • gsc_filters.json
  • gsc_mcp_server.py
  • gsc_metrics.json
  • gsc_setup_flow.py
  • gsc_telemetry.py
  • LICENSE
  • llms.txt
  • logo.svg
  • pyproject.toml
  • README.md
  • requirements.txt
  • ROADMAP.md
  • run_queries.py
  • SECURITY.md
  • server.json
  • smithery.yaml
  • uv.lock

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More connectors

Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface

86k

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph β€” average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

43k

Universal provider proxy for OpenAI Codex & Claude Code β€” use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code

14k
okf-memory/
okf-agent-memory

Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300Β΅s in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.

547
tirth8205/
code-review-graph

Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.

31k
2akouwu/
reverify

Stop your AI from making things up β€” it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is the proving ground. MCP server + CLI.

1.1k