Skip to content
MCP server

Google Search Console

Search Console analytics, URL inspection and sitemap tools with guards for API quirks

Runs locally

Google Search Console is an open-source MCP server for web search and scraping. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted, Linux
Runs
Locally
Version
1.4.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.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.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "google-search-console-mcp": {
      "command": "uvx",
      "args": [
        "open-gsc-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • GSC_SERVICE_ACCOUNT_FILEAbsolute path to a service account JSON key. Leave unset to use the OAuth login from `open-gsc-mcp auth login`.
  • GSC_ENABLE_WRITESSet to 0 to leave out the submit/delete sitemap and add/delete site tools.

About Google Search Console

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.

Tools this server provides (16)

Taken from the project documentation; the running server may differ.

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_sitesName suggests: reads
Lists accessible properties with their permission level.
get_siteName suggests: reads
Returns one property's type and permission level.
query_search_analyticsName suggests: reads
Queries clicks, impressions, CTR and position with filters.
query_hourly_analyticsName suggests: reads
Hourly data for roughly the last ten days.
query_discover_analyticsName suggests: reads
Discover analytics by page, country or date.
query_image_analyticsName suggests: reads
Google Images analytics.
query_video_analyticsName suggests: reads
Videos tab analytics.
query_google_news_analyticsName suggests: reads
Google News analytics.
query_news_tab_analyticsName suggests: reads
News tab analytics.
list_search_appearancesName suggests: reads
Lists rich results and features a property had.
query_search_appearanceName suggests: reads
Breaks one appearance down by query, page, country, device or date.
compare_periods
Compares two equal-length periods.
explain_changeName suggests: reads
Explains why traffic moved between two periods.
inspect_urlName suggests: reads
Index status, canonical and crawl details for one URL.
batch_inspect_urlsName suggests: reads
Inspects up to 50 URLs concurrently.
audit_indexing
Rebuilds Page indexing URL lists from sitemaps.

What it does

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

Pricing

Open source

Open source; uses your own Google Cloud credentials

More servers for the same service

Google Search Console 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.

How AIPoweredBot checks servers