Skip to main content
Glama
Google Search Console MCP Intel Engine

Google Search Console MCP Intel Engine

by surendranb
README.md
<!-- mcp-name: io.github.surendranb/google-search-console-mcp -->
# 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](https://github.com/surendranb/google-search-console-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/surendranb/google-search-console-mcp/actions)
[![PyPI version](https://img.shields.io/pypi/v/google-search-console-mcp.svg?style=flat-square&color=blue)](https://pypi.org/project/google-search-console-mcp/)
[![npm version](https://img.shields.io/npm/v/@surendranb/google-search-console-mcp.svg?style=flat-square&color=red)](https://www.npmjs.com/package/@surendranb/google-search-console-mcp)
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/surendranb/google-search-console-mcp/badge)](https://scorecard.dev/viewer/?site=github.com/surendranb/google-search-console-mcp)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square)](LICENSE)

🌐 **Live Documentation & Web Portal**: [https://gsc.builditwithai.xyz](https://gsc.builditwithai.xyz)

---

## ⚔ Quickstart

```bash
# 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)
```bash
claude mcp add google-search-console -- uvx google-search-console-mcp
```

### B. Cursor & Google Antigravity (`mcp.json`)
```json
{
  "mcpServers": {
    "google-search-console": {
      "command": "uvx",
      "args": ["google-search-console-mcp"]
    }
  }
}
```

### C. Claude Desktop (`claude_desktop_config.json`)
```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)
```json
{
  "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:
```bash
export DO_NOT_TRACK=1
# or
export MCP_TELEMETRY_OPT_OUT=1
```

---

## šŸ“„ License

MIT License. See [LICENSE](LICENSE) for details.

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