Skip to main content
Glama
Google Search Console MCP Intel Engine

Google Search Console MCP Intel Engine

by surendranb

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


Related MCP server: Wingate SEO 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.

Available Tools

15 tools
check_for_updatesA
Read-onlyIdempotent

Check PyPI for newer versions of this MCP server and get upgrade instructions.

Inputs: no named parameters.

compare_performanceA
Read-onlyIdempotent

Compare search performance between two date ranges (Period-over-Period) with server-side delta calculations.

If prior_start/prior_end are omitted, the prior period is automatically computed with matching duration.

Args: current_start: Start of current period (YYYY-MM-DD) current_end: End of current period (YYYY-MM-DD) prior_start: Start of prior period (YYYY-MM-DD) (optional) prior_end: End of prior period (YYYY-MM-DD) (optional) dimensions: List of dimensions to compare (default: ['query']) site_url: Target site URL (optional) row_limit: Max items to return in comparative breakdown (default: 50) search_type: Type of search ('web', 'image', 'video', 'news', 'discover', 'googleNews', 'webMultimodal'; webMultimodal cannot be grouped by query)

Returns: Structured comparative summary, delta percentages, and top movers.

Inputs: current_end (required), current_start (required), site_url, prior_end, +4 more.

delete_sitemapB
DestructiveIdempotent

Delete a sitemap from Google Search Console.

Args: sitemap_url: Full URL of the sitemap to delete site_url: Target site URL (defaults to configured site)

Returns: Success message or error details.

Inputs: sitemap_url (required), site_url.

get_data_statusA
Read-onlyIdempotent

Inspect the publication frontier of Google Search Console data for a property.

Eliminates date-probing loops by returning the exact latest dates published by Google, the lag from wall clock, and whether fresh/preliminary data exists.

Args: site_url: Target site URL (defaults to configured site or verified property)

Returns: Dictionary with latest_final_date, latest_available_date, lag_days, and plain-English guidance.

Inputs: site_url.

get_search_analyticsA
Read-onlyIdempotent

Retrieve Google Search Console search analytics data.

Args: dimensions: List of dimensions from: country, device, page, query, searchAppearance, date, brandedClassification start_date: Start date in YYYY-MM-DD format (defaults to 30 days ago) end_date: End date in YYYY-MM-DD format (defaults to 3 days ago) filters: List of filter objects (e.g., [{"dimension": "country", "operator": "equals", "expression": "usa"}]). Filter by brandedClassification with operator "equals" and expression BRANDED or NON_BRANDED; that cannot be combined with a query filter in the same request. filter_lists: Multi-value filters, several exact values for one dimension in one request (e.g., [{"dimension": "country", "expressions": ["usa", "gbr", "deu"]}, {"dimension": "device", "expressions": ["MOBILE", "TABLET"]}]). Dimension must be country or device; a dimension cannot appear in both filters and filter_lists. search_type: Type of search ('web', 'image', 'video', 'news', 'discover', 'googleNews', 'webMultimodal'). webMultimodal covers Google Lens, Circle to Search, and image uploads, and cannot be grouped by query. row_limit: Maximum number of rows to return (max 25000) start_row: Starting row for pagination (0-based) summary_only: If True, returns only aggregated totals (Token Efficient) intent: Short plain-English description of what the user is trying to learn/accomplish. site_url: Target site URL (e.g. 'sc-domain:example.com' or 'https://example.com/'). If omitted, uses configured site. data_state: 'final' (default, verified data ~72h delay) or 'all' (includes preliminary data from last 24-48h). fresh_data: If True, shorthand for data_state='all' to inspect recent preliminary search data.

Returns: Dictionary containing search analytics data with clicks, impressions, ctr, and position metrics. A 'caveat' string accompanies an empty brandedClassification result: branded data is served only to eligible properties, and the caveat says whether the property is eligible.

Inputs: intent, filters, end_date, site_url, +9 more. Returns: result

get_sitemapsB
Read-onlyIdempotent

Get all sitemaps for the verified site.

Args: site_url: Target site URL (defaults to configured site)

Returns: List of sitemaps with their status and details.

Inputs: site_url.

inspect_urlA
Read-onlyIdempotent

Inspect index status, canonical URLs, and crawl health of a specific URL via Google URL Inspection API.

Args: url: Absolute URL to inspect (must belong to the verified site) site_url: Verified property URL (defaults to configured site or inferred from url host)

Returns: Structured inspection result including indexing verdict, coverageState, lastCrawlTime, canonical URLs, and mobile usability.

Inputs: url (required), site_url.

list_available_dimensionsA
Read-onlyIdempotent

List all available GSC dimensions with their descriptions.

Returns: List of dimension objects with api_name and description.

Inputs: no named parameters.

list_available_metricsA
Read-onlyIdempotent

List all available GSC metrics with their descriptions.

Returns: List of metric objects with api_name and description.

Inputs: no named parameters.

list_gsc_sitesA
Read-onlyIdempotent

List all sites verified in Google Search Console.

Returns: List of verified sites with their permission levels.

Inputs: no named parameters.

list_sitesA
Read-onlyIdempotent

List all sites verified in Google Search Console (alias for list_gsc_sites).

Returns: List of verified sites with their permission levels.

Inputs: no named parameters.

setup_gsc_accessA
Idempotent

Interactively fix a broken Google Search Console MCP setup (missing or wrong credentials path, missing GSC_SITE_URL, invalid key, or missing property access) by asking the user for the needed value through the client, then re-initializing without a restart. Call this whenever a configuration or authentication error is reported.

Inputs: no named parameters.

skill_readA
Read-onlyIdempotent

Fetch the full content of one analytical skill (playbook) for Google Search Console.

Args: skill_id: The skill id from skills_list (e.g., "brand_visibility.md" or "gsc_setup")

Returns: The full skill content with title, description, and playbook steps.

Inputs: skill_id (required).

skills_listA
Read-onlyIdempotent

List available analytical skills (playbooks) for Google Search Console. Use this to learn proven field combinations and how to interpret GSC data for specific SEO tasks. Fetch the full playbook with skill_read.

Inputs: no named parameters.

submit_sitemapB
Idempotent

Submit a sitemap to Google Search Console.

Args: sitemap_url: Full URL of the sitemap to submit site_url: Target site URL (defaults to configured site)

Returns: Success message or error details.

Inputs: sitemap_url (required), site_url.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 15 tools

    Disambiguation4/5

    Most tools target clearly distinct resources or operations (analytics vs. URL inspection vs. sitemap CRUD vs. skills playbooks). The one real overlap is list_sites and list_gsc_sites, which are literal aliases of each other, though the description explicitly flags this. compare_performance partially overlaps with doing two get_search_analytics calls, but its delta-computation purpose is distinct enough.

    Naming Consistency4/5

    Predominantly consistent snake_case verb_noun naming (get_search_analytics, inspect_url, submit_sitemap, delete_sitemap, check_for_updates). Deviations are skills_list and skill_read, which use noun_verb ordering instead, breaking the pattern. Still readable and predictable overall.

    Tool Count4/5

    15 tools sits at the top of the well-scoped band and each maps to a real GSC capability (analytics, comparison, inspection, sitemaps, discovery). Four of them are support/meta tools (skills_list, skill_read, check_for_updates, setup_gsc_access) and the redundant list_sites alias, making the set slightly heavier than the core domain requires.

    Completeness4/5

    Strong lifecycle coverage: search analytics with filters/pagination, period comparison, data freshness status, URL inspection, and full sitemap get/submit/delete. Minor gaps remain β€” no batch URL inspection for multiple URLs and no batch sitemap operations β€” but nothing that blocks typical SEO workflows.

    Maintenance

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Professional Google Search Console MCP server providing 40+ SEO tools for performance analysis, content decay, CTR opportunities, and more, enabling real search data in clients like Cursor and Claude.
      40
      17 npm
      6
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables natural-language, read-only analysis of your own Google Search Console and Google Analytics 4 data, including search performance, engagement, sitemap health, ranking opportunities, and deterministic SEO audits through MCP clients like ChatGPT.
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI assistants and MCP clients to analyze Google Search Console SEO data in plain English, including search analytics, URL inspection, sitemaps, indexing requests, hourly performance, CSV export, and computed SEO insights.
      38
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables Claude, ChatGPT, Cursor, and other MCP clients to query Google Search Console, GA4, PageSpeed Insights, and live SERPs through 38 read-only SEO tools for quick wins, content decay, indexing, Core Web Vitals, AI traffic, and conversion analysis.
      2
      MIT