原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Google Search Console

作者:onlymoein版本 1.4.0i★ –i在你的电脑上运行
注册名称io.github.onlymoein/google-search-console-mcp

安装

概览

作者提供的说明(英文原文)

Search Console analytics, hourly data, URL inspection and sitemaps, with guards for API quirks.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: GSC_SERVICE_ACCOUNT_FILE, GSC_ENABLE_WRITES

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "google-search-console": {
      "command": "uvx",
      "args": [
        "open-gsc-mcp"
      ],
      "env": {
        "GSC_SERVICE_ACCOUNT_FILE": "your-value",
        "GSC_ENABLE_WRITES": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add google-search-console --env GSC_SERVICE_ACCOUNT_FILE=your-value --env GSC_ENABLE_WRITES=your-value -- uvx open-gsc-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "google-search-console": {
      "command": "uvx",
      "args": [
        "open-gsc-mcp"
      ],
      "env": {
        "GSC_SERVICE_ACCOUNT_FILE": "your-value",
        "GSC_ENABLE_WRITES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "google-search-console": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "open-gsc-mcp"
      ],
      "env": {
        "GSC_SERVICE_ACCOUNT_FILE": "your-value",
        "GSC_ENABLE_WRITES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

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

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 onlymoein 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 5694 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 5694 个服务器的 62% 更新
  • 基础检查结果等于或优于此分类中其他 5694 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Google Search Console 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.4.0)于24天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

Up-to-date docs for AI agents

作者:upstash广泛使用↓ 97.3万/周★ 6.4万前天更新

电脑或云端

Codebase Memory

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

作者:DeusData广泛使用↓ 1.8万/周★ 4.8万22天前更新

在你的电脑上运行

Exa

Connect AI agents to Exa for web search, content fetching, and multi-step research.

作者:exa-labs正在增长★ 52132个月前更新

在云端运行✓ exa.ai

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Google Search Console MCP Server

A local Model Context Protocol server that connects AI assistants (Claude Code, Claude Desktop, Cursor and any other MCP client) to the Google Search Console API. Ask about clicks, queries, pages, indexing and sitemaps in plain language; the server turns that into correct API calls and returns structured data.

It runs on your machine and talks to Google; the only other site it reads is your own, during an indexing audit. It stores your login and your audits' progress, nothing else.

Unofficial. This project is not affiliated with or endorsed by Google. You use your own

Google Cloud credentials and are responsible for your usage under Google's terms.

Why this one

  • It catches the API's traps. Google answers many bad requests with an empty result instead of an error: an invalid regex, a two-letter country code, hourly data older than ten days, a range in the future. Other combinations fail with a terse 400. Every one of these is checked before the call and explained in plain words. The rules are verified against the live API, not copied from blog posts.
  • It explains changes, not just numbers. explain_change splits a rise or fall by page, query, country, device and search appearance, separates lost impressions from a lower click-through rate, and lines the change up with Google's published updates.
  • Full indexing audits. Google's API does not expose the Page indexing report's URL lists, so audit_indexing rebuilds them: it inspects every sitemap URL within the daily quota, carries on where it stopped the next day, and can check each live page against what Google last saw.
  • Everything the API can do, with guard rails. Reads and writes are both on: it can add and remove properties and submit and remove sitemaps. Changes need the property's exact name, and the tools that make them are marked as writes (deletes as destructive), which clients can use to ask before running them. Turn writes off with GSC_ENABLE_WRITES=0.
  • Structured output. Every tool declares an output schema, rows come back as named fields, and every analytics result includes the exact request sent to Google.
  • Full API coverage: search analytics (all search types, filters, data states, pagination), hourly data, search appearances, URL inspection (single and concurrent batch), sitemaps and properties, plus a dedicated tool for each search surface (Discover, Images, video, Google News, the News tab) that only accepts what that surface supports.
  • Built on the current stack: MCP Python SDK 2.x (protocol 2026-07-28 and older clients alike) and an async client, so batch inspection runs concurrently.

Quick start

You need uv and a Google account with access to at least one Search Console property.

  1. Create an OAuth client in Google Cloud (about five minutes, once):
  2. Open console.cloud.google.com and create or pick a project.
  3. APIs & Services > Library: enable the Google Search Console API.
  4. Google Auth Platform > Branding: fill in an app name and your email.
  5. Google Auth Platform > Audience: choose External, add your Google account as a test user, then click Publish app so the status is In production. *Skip this and Google expires your login every 7 days.*
  6. Google Auth Platform > Clients > Create client: type Desktop app. Download the JSON and keep it outside any repository, for example ~/.config/open-gsc-mcp/client_secret.json.
  1. Sign in (opens a browser once; the server itself never does):
   uvx open-gsc-mcp@latest auth login --client-file ~/.config/open-gsc-mcp/client_secret.json

Google shows "Google hasn't verified this app" because the app is yours and unreviewed; choose Advanced > Go to (your app). When it finishes, the command lists the properties it can see.

  1. Add the server to your client (below), restart the client, and ask something like *"Which queries lost the most clicks this month on example.com?"*

Client configuration

Claude Code

claude mcp add --scope user gsc -- uvx open-gsc-mcp@latest

Claude Desktop: edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):

{

"mcpServers": { "gsc": { "command": "uvx", "args": ["open-gsc-mcp@latest"] } } }

If Claude Desktop reports that uvx cannot be found, use its absolute path (which uvx on macOS and Linux, where uvx on Windows).

Cursor: add the same mcpServers block to ~/.cursor/mcp.json.

@latest makes uvx check for a new release each time the client starts the server. Without it, uvx keeps running the version it cached the first time. To upgrade only when you choose, pin a version instead, such as open-gsc-mcp@1.2.0.

To pass settings, add an env object to the server entry, or -e NAME=value to claude mcp add. Paths must be absolute: clients start the server from an arbitrary working directory.

Service account (headless)

For servers, CI or shared machines, use a service account instead of a personal login:

  1. In Google Cloud, IAM & Admin > Service Accounts: create one, then Keys > Add key > JSON. (Some organizations block key creation by policy.)
  2. In Search Console, Settings > Users and permissions > Add user: add the service account's email to each property, with Full or Restricted permission.
  3. Point the server at the key:
   claude mcp add --scope user gsc -e GSC_SERVICE_ACCOUNT_FILE=/abs/path/key.json -- uvx open-gsc-mcp@latest

When GSC_SERVICE_ACCOUNT_FILE is set it takes precedence over any OAuth login.

Tools

ToolWhat it does
list_sitesProperties this account can access, with exact site_url and permission level.
get_siteOne property's type and permission level.
query_search_analyticsClicks, impressions, CTR and position by query, page, country, device, date or search appearance; any search type; filters; final or all data; paging.
query_hourly_analyticsThe same, by hour, for the last ~10 days. Reports where incomplete hours start.
query_discover_analyticsGoogle Discover by page, country or date. No query, device or position, so the tool doesn't offer them.
query_image_analyticsGoogle Images: queries, pages and positions within image results.
query_video_analyticsThe Videos tab of Google Search.
query_google_news_analyticsGoogle News (news.google.com and the app) by page, country, device or date. No query or position.
query_news_tab_analyticsThe News tab of Google Search, with queries and positions.
list_search_appearancesRich results and other result features the property had: step one of Google's two-step appearance query.
query_search_appearanceStep two: one appearance broken down by query, page, country, device or date.
compare_periodsTwo equal-length periods: totals and per-key changes, absolute and percent, biggest movers first.
explain_changeWhy traffic moved between two periods: which pages, queries, countries, devices and search appearances account for it, how much came from impressions versus click-through rate, and Google updates in or near the periods.
inspect_urlIndex status, coverage, canonical (Google's versus yours), crawl, robots.txt and rich results for one URL.
batch_inspect_urlsUp to 50 URLs concurrently, with progress, per-URL errors and a verdict summary. Stops cleanly when the quota runs out.
audit_indexingEvery sitemap URL, inspected over as many calls and days as it takes and grouped by index status with likely fixes; canonical conflicts, indexed pages with no impressions, pages missing from the sitemaps; optionally a live check of each page.
list_sitemaps, get_sitemapSubmitted sitemaps with errors, warnings, pending state and URL counts.

query_news_analytics from 1.1.0 is deprecated: calls still work and go to the new news tool its source selects, until it is removed in 2.0.0.

Four tools make changes: submit_sitemap, delete_sitemap, add_site and delete_site. They accept only a property's exact site_url, and a sitemap must belong to that property. They are annotated as writes (deletes as destructive) and tell the model to confirm with you first, but the server does not ask you itself: whether you see a prompt depends on your client's permission settings. These four are every change Google's API allows: it cannot request indexing, remove URLs from search, or manage users and settings. Set GSC_ENABLE_WRITES=0 for a server without them.

Sites can be given as sc-domain:example.com, https://www.example.com/, a bare example.com, or any URL on the site. Anything but the exact property is resolved against your real property list, to the property that contains it; results then say so, and for a page URL they note that they cover the whole property.

Prompts: weekly_report, indexing_audit and content_opportunities are ready-made workflows with concrete dates and exact tool calls.

Indexing audits save their progress locally, so each audit_indexing call carries on where the last one stopped. Inspections take a few seconds each, so a call covers about 50 URLs; for a large site, run uvx open-gsc-mcp@latest audit sc-domain:example.com in a terminal (or daily from cron) to use the full 2,000 a day, then ask your assistant about the results.

Configuration

VariableDefaultPurpose
GSC_SERVICE_ACCOUNT_FILEunsetService account key; when set, it is used instead of OAuth.
GSC_OAUTH_CLIENT_FILEunsetOAuth client JSON, so auth login needs no --client-file.
GSC_TOKEN_FILEper-user config dirWhere auth login saves the login (mode 0600).
GSC_ENABLE_WRITES1Set to 0 to leave out the four tools that make changes; auth login then asks only for read access.
GSC_LOG_LEVELINFODEBUG also logs every HTTP request. Logs go to stderr.
GSC_DATA_DIRper-user data dirWhere indexing audits keep their progress (one SQLite file, owner-only).

Command line:

uvx open-gsc-mcp@latest              # run the MCP server over stdio (what clients do)

uvx open-gsc-mcp@latest auth login # sign in; --read-only to grant reads only, --no-browser over SSH uvx open-gsc-mcp@latest auth status # which credentials are used, and do they work uvx open-gsc-mcp@latest auth logout # revoke and delete the saved login uvx open-gsc-mcp@latest audit SITE # inspect up to a day's 2,000 sitemap URLs; --fetch-pages

API behavior handled for you

Google's behaviorWhat the server does
searchAppearance cannot be grouped with any other dimension (400).Rejects it and points to the two-step pattern.
notEquals/notContains on searchAppearance return the rows you meant to exclude (a confirmed Google bug).Rejects them with an explanation.

| Discover and Google News have no query data (400) and no position; Discover has no device data (40

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx