# Google Search Console

> Google Search Console is an open-source MCP server for web search and scraping. Search Console analytics, URL inspection and sitemap tools with guards for API quirks. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, Linux, macOS, Windows
- **Repository:** https://github.com/onlymoein/google-search-console-mcp
- **MCP Registry name:** io.github.onlymoein/google-search-console-mcp
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping), [marketing and SEO](https://ai-powered.com/categories/marketing-and-seo), [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-11-23

## About

This is an unofficial local server for the Google Search Console API. It runs on your machine, signs in with your own Google Cloud OAuth client or a service account, and stores only your login and the progress of audits. Many bad Search Console requests return an empty result instead of an error, such as an invalid regex, a two-letter country code, hourly data older than ten days or a future date range. The server checks for these first and explains them.

Beyond raw queries it can compare two periods, explain why traffic moved by page, query, country, device and search appearance, and rebuild Page indexing URL lists by inspecting every sitemap URL within the daily quota and resuming the next day. Separate tools cover Discover, Images, Video, Google News and the News tab.

Writes such as adding sites and submitting or deleting sitemaps are on by default and can be turned off with GSC_ENABLE_WRITES=0. Install it from PyPI with uvx.

## Features

- **Quirk guards:** Rejects requests Google would answer with empty data and explains why.
- **Change explanation:** Splits traffic shifts by page, query, country, device and appearance.
- **Indexing audits:** Rebuilds indexing URL lists across days within the quota.
- **Surface-specific tools:** Dedicated queries for Discover, Images, Video and News.
- **Optional write controls:** Writes can be disabled with an environment variable.
- **Structured output:** Every tool declares an output schema and echoes the request sent.

## Good for

- Find queries that lost the most clicks this month
- Work out why traffic dropped after an update
- Audit which sitemap URLs are indexed
- Inspect many URLs at once
- Submit a new sitemap

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add google-search-console-mcp -- uvx open-gsc-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

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

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "google-search-console-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "open-gsc-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add google-search-console-mcp -- uvx open-gsc-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.google-search-console-mcp]
command = "uvx"
args = ["open-gsc-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

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

Or run: gemini mcp add -s user google-search-console-mcp uvx -- open-gsc-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

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

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

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

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "google-search-console-mcp": {
      "command": "uvx",
      "args": [
        "open-gsc-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

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

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

From the tool list in its README, going by the names, 14 of 16 tools read data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `list_sites` (name suggests: reads): Lists accessible properties with their permission level.
- `get_site` (name suggests: reads): Returns one property's type and permission level.
- `query_search_analytics` (name suggests: reads): Queries clicks, impressions, CTR and position with filters.
- `query_hourly_analytics` (name suggests: reads): Hourly data for roughly the last ten days.
- `query_discover_analytics` (name suggests: reads): Discover analytics by page, country or date.
- `query_image_analytics` (name suggests: reads): Google Images analytics.
- `query_video_analytics` (name suggests: reads): Videos tab analytics.
- `query_google_news_analytics` (name suggests: reads): Google News analytics.
- `query_news_tab_analytics` (name suggests: reads): News tab analytics.
- `list_search_appearances` (name suggests: reads): Lists rich results and features a property had.
- `query_search_appearance` (name suggests: reads): Breaks one appearance down by query, page, country, device or date.
- `compare_periods`: Compares two equal-length periods.
- `explain_change` (name suggests: reads): Explains why traffic moved between two periods.
- `inspect_url` (name suggests: reads): Index status, canonical and crawl details for one URL.
- `batch_inspect_urls` (name suggests: reads): Inspects up to 50 URLs concurrently.
- `audit_indexing`: Rebuilds Page indexing URL lists from sitemaps.

## FAQ

### Is Google Search Console official?

No. The README says it is not affiliated with or endorsed by Google.

### How does Google Search Console authenticate?

With an OAuth login from open-gsc-mcp auth login, or a service account file set in GSC_SERVICE_ACCOUNT_FILE.

### Why publish the OAuth app?

The README says skipping it makes Google expire your login every seven days.

### Can Google Search Console change my account?

It can add or remove properties and sitemaps unless writes are disabled.

### Is Google Search Console free?

Yes. Google Search Console is open source, so you can use and self-host it for free.

### How do I add Google Search Console to Claude Code?

Run this command in your terminal: claude mcp add google-search-console-mcp -- uvx open-gsc-mcp

### What are the best alternatives to Google Search Console?

The closest alternatives to Google Search Console are Scrapling MCP Server, Agent-Native Analytics, Firecrawl MCP Server, Douyin_TikTok_Download_API and dashboard-icons.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Firecrawl MCP Server](https://ai-powered.com/mcp/firecrawl-mcp-server): Firecrawl MCP Server is a freemium MCP server for web search and scraping.
- [Douyin_TikTok_Download_API](https://ai-powered.com/mcp/douyin-tiktok-download-api): Douyin_TikTok_Download_API is an open-source MCP server for web search and scraping.
- [dashboard-icons](https://ai-powered.com/mcp/dashboard-icons): dashboard-icons is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [SearXNG Search](https://ai-powered.com/mcp/searxng-search): SearXNG Search is an open-source MCP server for web search and scraping.
- [TryPost](https://ai-powered.com/mcp/trypost): TryPost is a paid MCP server for marketing and seo.

---
Source: https://ai-powered.com/mcp/google-search-console-7
