原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Google Search Console

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

安装方法

What it does

Search Console: 18 read-only SEO tools plus a white-label HTML audit in English or Italian.

  • Connects 在你的电脑上运行
  • Account or key Needs GSC_CLIENT_SECRET, GSC_REFRESH_TOKEN
  • Category 搜索与 AI 记忆

安装

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

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 Google Search Console 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

让 AI 帮你安装

把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude 安装 MCP server Google Search Console,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "google-search-console": { "command": "uvx", "args": [ "mcp-google-search-console" ], "env": { "GSC_CLIENT_SECRET": "your-value", "GSC_REFRESH_TOKEN": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) GSC_CLIENT_SECRET, GSC_REFRESH_TOKEN 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Google Search Console 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 注册并创建 Google Search Console 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Google Search Console 网站 ↗

  3. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  4. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "google-search-console": {
          "command": "uvx",
          "args": [
            "mcp-google-search-console"
          ],
          "env": {
            "GSC_CLIENT_SECRET": "your-value",
            "GSC_REFRESH_TOKEN": "your-value"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 退出 Claude 再重新打开

  6. 试一试

    用 Google Search Console 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Google Search Console,或回答中出现 Google Search Console 的工具名称,就表示连接成功

4 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • GSC_CLIENT_ID 来自 Google Cloud Console 中桌面应用凭据的 OAuth 客户端 ID。
    查看英文原文OAuth client ID from a Desktop app credential in Google Cloud Console.
  • GSC_SERVICE_ACCOUNT_FILE 服务账户 JSON 密钥文件的路径,可替代 OAuth 使用
    查看英文原文Path to a service account JSON key, as an alternative to OAuth.
  • GSC_REPORT_LANGUAGE 生成的 HTML 审计报告的语言:en 或 it。默认为 en。
    查看英文原文Language of the generated HTML audit report: en or it. Defaults to en.
  • GSC_DATA_STATE 数据的默认新鲜度:all(包括当天的部分数据)或 final
    查看英文原文Default freshness of the data: all (includes today's partial data) or final.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 Google Search Console

Google Search Console 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 Google Search Console 的应用

  • 需要 Google Search Console 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 Google Search Console 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要 Google Search Console 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要 Google Search Console 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)

B · 搜索与 AI 记忆 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 Google Search Console 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server Google Search Console,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user google-search-console --env GSC_CLIENT_SECRET=your-value --env GSC_REFRESH_TOKEN=your-value -- uvx mcp-google-search-console 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) GSC_CLIENT_SECRET, GSC_REFRESH_TOKEN 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Google Search Console 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 注册并创建 Google Search Console 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Google Search Console 网站 ↗

  3. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  4. 粘贴这条命令并按 Enter

    claude mcp add --scope user google-search-console --env GSC_CLIENT_SECRET=your-value --env GSC_REFRESH_TOKEN=your-value -- uvx mcp-google-search-console

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Claude Code 中输入 /mcp

    应能看到 Google Search Console 在列表中并显示已连接

  6. 试一试

    用 Google Search Console 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Google Search Console,或回答中出现 Google Search Console 的工具名称,就表示连接成功

4 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • GSC_CLIENT_ID 来自 Google Cloud Console 中桌面应用凭据的 OAuth 客户端 ID。
    查看英文原文OAuth client ID from a Desktop app credential in Google Cloud Console.
  • GSC_SERVICE_ACCOUNT_FILE 服务账户 JSON 密钥文件的路径,可替代 OAuth 使用
    查看英文原文Path to a service account JSON key, as an alternative to OAuth.
  • GSC_REPORT_LANGUAGE 生成的 HTML 审计报告的语言:en 或 it。默认为 en。
    查看英文原文Language of the generated HTML audit report: en or it. Defaults to en.
  • GSC_DATA_STATE 数据的默认新鲜度:all(包括当天的部分数据)或 final
    查看英文原文Default freshness of the data: all (includes today's partial data) or final.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 Google Search Console 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server Google Search Console,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "google-search-console": { "command": "uvx", "args": [ "mcp-google-search-console" ], "env": { "GSC_CLIENT_SECRET": "your-value", "GSC_REFRESH_TOKEN": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) GSC_CLIENT_SECRET, GSC_REFRESH_TOKEN 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Google Search Console 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 注册并创建 Google Search Console 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Google Search Console 网站 ↗

  3. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 Google Search Console 的设置中,GSC_CLIENT_SECRET, GSC_REFRESH_TOKEN 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Cursor 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Google Search Console 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Google Search Console,或回答中出现 Google Search Console 的工具名称,就表示连接成功

4 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • GSC_CLIENT_ID 来自 Google Cloud Console 中桌面应用凭据的 OAuth 客户端 ID。
    查看英文原文OAuth client ID from a Desktop app credential in Google Cloud Console.
  • GSC_SERVICE_ACCOUNT_FILE 服务账户 JSON 密钥文件的路径,可替代 OAuth 使用
    查看英文原文Path to a service account JSON key, as an alternative to OAuth.
  • GSC_REPORT_LANGUAGE 生成的 HTML 审计报告的语言:en 或 it。默认为 en。
    查看英文原文Language of the generated HTML audit report: en or it. Defaults to en.
  • GSC_DATA_STATE 数据的默认新鲜度:all(包括当天的部分数据)或 final
    查看英文原文Default freshness of the data: all (includes today's partial data) or final.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 Google Search Console 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server Google Search Console,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "google-search-console": { "type": "stdio", "command": "uvx", "args": [ "mcp-google-search-console" ], "env": { "GSC_CLIENT_SECRET": "your-value", "GSC_REFRESH_TOKEN": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) GSC_CLIENT_SECRET, GSC_REFRESH_TOKEN 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Google Search Console 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 注册并创建 Google Search Console 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Google Search Console 网站 ↗

  3. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 Google Search Console 的设置中,GSC_CLIENT_SECRET, GSC_REFRESH_TOKEN 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 VS Code 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Google Search Console 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Google Search Console,或回答中出现 Google Search Console 的工具名称,就表示连接成功

4 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • GSC_CLIENT_ID 来自 Google Cloud Console 中桌面应用凭据的 OAuth 客户端 ID。
    查看英文原文OAuth client ID from a Desktop app credential in Google Cloud Console.
  • GSC_SERVICE_ACCOUNT_FILE 服务账户 JSON 密钥文件的路径,可替代 OAuth 使用
    查看英文原文Path to a service account JSON key, as an alternative to OAuth.
  • GSC_REPORT_LANGUAGE 生成的 HTML 审计报告的语言:en 或 it。默认为 en。
    查看英文原文Language of the generated HTML audit report: en or it. Defaults to en.
  • GSC_DATA_STATE 数据的默认新鲜度:all(包括当天的部分数据)或 final
    查看英文原文Default freshness of the data: all (includes today's partial data) or final.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Google Search Console 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user google-search-console --env GSC_CLIENT_SECRET=your-value --env GSC_REFRESH_TOKEN=your-value -- uvx mcp-google-search-console

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "google-search-console": {
      "command": "uvx",
      "args": [
        "mcp-google-search-console"
      ],
      "env": {
        "GSC_CLIENT_SECRET": "your-value",
        "GSC_REFRESH_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "google-search-console": {
      "command": "uvx",
      "args": [
        "mcp-google-search-console"
      ],
      "env": {
        "GSC_CLIENT_SECRET": "your-value",
        "GSC_REFRESH_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "google-search-console": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-google-search-console"
      ],
      "env": {
        "GSC_CLIENT_SECRET": "your-value",
        "GSC_REFRESH_TOKEN": "your-value"
      }
    }
  }
}

需要你填写的值

  • GSC_CLIENT_ID env
    来自 Google Cloud Console 中桌面应用凭据的 OAuth 客户端 ID。
    查看英文原文OAuth client ID from a Desktop app credential in Google Cloud Console.
  • GSC_CLIENT_SECRET 机密 必填 env
    与 GSC_CLIENT_ID 配对的 OAuth 客户端密钥。
    查看英文原文OAuth client secret paired with GSC_CLIENT_ID.
  • GSC_REFRESH_TOKEN 机密 必填 env
    来自 mcp-google-search-console auth 的 OAuth 刷新令牌。
    查看英文原文OAuth refresh token, from `mcp-google-search-console auth`.
  • GSC_SERVICE_ACCOUNT_FILE env
    服务账户 JSON 密钥文件的路径,可替代 OAuth 使用
    查看英文原文Path to a service account JSON key, as an alternative to OAuth.
  • GSC_REPORT_LANGUAGE env
    生成的 HTML 审计报告的语言:en 或 it。默认为 en。
    查看英文原文Language of the generated HTML audit report: en or it. Defaults to en.
  • GSC_DATA_STATE env
    数据的默认新鲜度:all(包括当天的部分数据)或 final
    查看英文原文Default freshness of the data: all (includes today's partial data) or final.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

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

一览

每周下载量i
245/周
连接方式
在你的电脑上运行
最新版本i
4.0.0
发布到注册中心i
2026年11月14日
代码最后更新i
2026年11月14日
作者
acamolese
软件包
pypi: mcp-google-search-console
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • ✓ 通过

    仍在维护

    代码最后更新于前天

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

已公开的漏洞(OSV.dev)

OSV.dev 中没有 mcp-google-search-console@4.0.0 的记录

只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

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

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

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

常见问题

Google Search Console 安全吗?

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

它需要哪些密钥或代码?

你需要填写:GSC_CLIENT_SECRET, GSC_REFRESH_TOKEN

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:OpenSEO, Exa, Mockserver, Microsoft Learn MCP, Docs

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

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

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

作者:every-app广泛使用★ 2.8万前天更新

在云端运行✓ everyapp.com

Exa

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

作者:exa-labs广泛使用★ 52342个月前更新

在云端运行✓ 服务方 · exa.aiPopNx 团队已实际试用

Mockserver

Mock, record/replay, verify and chaos-test any HTTP, REST, gRPC or LLM dependency over MCP.

作者:mock-server正在增长★ 501120天前更新

在你的电脑上运行✓ 服务方 · mock-server.com

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

作者:MicrosoftDocs广泛使用★ 199212个月前更新

在云端运行✓ 服务方 · microsoft.comPopNx 团队已实际试用

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

作者:proxysoul正在增长★ 16142个月前更新

在云端运行✓ empryo.com
  • OpenSEO — 在云端运行,无需安装 · 不需要密钥
  • Exa — 在云端运行,无需安装 · 不需要密钥 · 在 Claude 的目录中
  • Mockserver — 需要安装在电脑上 · 不需要密钥
  • Microsoft Learn MCP — 在云端运行,无需安装 · 不需要密钥 · 在 Claude 的目录中
  • Docs — 在云端运行,无需安装 · 不需要密钥

作者的 README

打开 README

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

Google Search Console MCP

English · Italiano

Seventeen read-only tools over the Google Search Console API, plus a deterministic white-label HTML audit report an agency can put its own name on and send to a client, in English or Italian.

Regenerate that report from committed synthetic data, with no credentials:

python scripts/render_sample_report.py --lang en --open

Install

Claude Code
/plugin marketplace add acamolese/google-search-console-mcp

/plugin install google-search-console@acamolese

The plugin brings the MCP server, five skills (weekly review, cannibalisation check, indexing audit, content opportunities, white-label client audit) and a config prompt for the three credentials.

Claude Desktop

Download google-search-console.mcpb from the latest release and open it. It needs uv installed. Or edit the config file directly:

{

"mcpServers": { "google-search-console": { "command": "uvx", "args": ["mcp-google-search-console"], "env": { "GSC_CLIENT_ID": "...", "GSC_CLIENT_SECRET": "...", "GSC_REFRESH_TOKEN": "..." } } } }

Cursor, Codex, Gemini CLI, Zed

Any MCP client takes the same three lines: command uvx, argument mcp-google-search-console, and the three GSC_* environment variables.

# Codex

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

Gemini CLI

gemini mcp add google-search-console uvx mcp-google-search-console

Docker
docker build -t mcp-gsc .

docker run --rm -p 127.0.0.1:8765:8765 \ -e GSC_CLIENT_ID -e GSC_CLIENT_SECRET -e GSC_REFRESH_TOKEN \ -v "$PWD/reports:/reports" mcp-gsc

The container speaks streamable HTTP on /mcp. It has no authentication of its own: keep it on loopback or behind a reverse proxy.

Authentication

The OAuth scope is webmasters.readonly and nothing else. No tool in this server can modify a property, a sitemap or anything else in Search Console.

Credentials are resolved in this order:

  1. GSC_AUTH_MODE if set (oauth, service_account, adc)
  2. GSC_SERVICE_ACCOUNT_FILE or GSC_SERVICE_ACCOUNT_JSON
  3. GSC_CLIENT_ID + GSC_CLIENT_SECRET + GSC_REFRESH_TOKEN
  4. A token file in ~/.config/mcp-google-search-console/
  5. Application Default Credentials
OAuth, once
  1. In Google Cloud Console, enable the Google Search Console API and create an OAuth client of type Desktop app.
  2. Export the client, or save the downloaded JSON as ~/.config/mcp-google-search-console/oauth_credentials.json:
   export GSC_CLIENT_ID="...apps.googleusercontent.com"

export GSC_CLIENT_SECRET="..." uvx mcp-google-search-console auth

  1. The browser flow prints the three export lines for a stateless setup, and also stores a token at ~/.config/mcp-google-search-console/token.json with 0600 permissions.

On a headless machine, run auth on your laptop and copy the three environment variables across. --no-browser prints the URL instead of opening one, but still needs a local redirect.

Service account

Grant the service account's email read access to the property in Search Console, then point the server at the key:

export GSC_SERVICE_ACCOUNT_FILE=/path/to/key.json

or, for a container:

export GSC_SERVICE_ACCOUNT_JSON='{"type":"service_account",...}'

Check it works
uvx mcp-google-search-console doctor

Prints the auth mode in use, when the token expires, how many properties the account can read, and the defaults every tool applies. Secrets are masked. Exits 1 when nothing resolves, which is the answer to most "the server won't start" reports.

Tools

ToolWhat it answers
gsc_sitesWhich properties can this account read, and in what exact format
gsc_site_detailsPermission level and type for one property
gsc_queryThe Search Analytics report, with filters, dimensions and pagination
gsc_performance_overviewIs the site up or down, against the previous period
gsc_compare_periodsWhat changed between two periods, ranked by click delta
gsc_quick_winsQueries close enough to the top that a push would pay off
gsc_ctr_gapsPages that rank but are not clicked
gsc_cannibalizationQueries where several pages compete against each other
gsc_traffic_dropsPages that lost clicks, with a likely cause for each
gsc_content_decayPages sliding down month after month
gsc_alertsWhat moved sharply enough to be worth a message today
gsc_portfolioEvery property at a glance, worst first
gsc_indexing_issuesWhich of these URLs are indexed, and why not
gsc_inspect_urlFull URL Inspection for one page
gsc_sitemapsWhich sitemaps Google knows about, with errors and warnings
gsc_doctorWhat is configured, and does the API answer
gsc_auditThe full HTML report

Three prompts wrap the workflows that repeat: gsc_weekly_report, gsc_indexing_audit, gsc_content_opportunities.

Why this server

HereTypical GSC MCP server
Client-ready reportSelf-contained HTML, English or Italian, white-labelnone
AnalysisCannibalisation, CTR gaps, decay, drop diagnosis, run server-sideraw rows, analysed by the model
ThresholdsAdapt to the size of the propertyfixed, or none
Datesperiod="last_month", days=28, resolved server-sideexplicit dates only
FreshnessdataState=all by default, matching the UIfinal only
AuthOAuth, service account, ADCOAuth only
OutputTSV by default, roughly a third of the tokens of pretty JSONjson.dumps(indent=2)
ErrorsGoogle's reason plus what to do about itbare HTTP status
Tests280+, on both mcp majors, three operating systemsusually none

Report customisation

Colours, logo, report name, brand terms and thresholds come from a JSON file. Pass branding_path, or place it at ~/.config/mcp-google-search-console/branding.json to apply it everywhere:

{

"brand_name": "Your Agency", "logo": "logo.png", "brand_terms": ["clientbrand", "client brand"], "colors": { "primary": "#2b6cb0", "primary_dark": "#1a365d" }, "thresholds": { "min_impressions": 200 } }

A local logo is base64-encoded into the document. A remote one is only kept if allow_external_fonts is true, because the report is otherwise guaranteed to contain no external URL at all: no CDN, no font service, nothing that phones home when a client opens it.

brand_terms matters more than it looks. Without it, the first label of the domain is used as the brand, which is wrong for abbreviations, holding companies and invented names, and it silently mislabels the brand/non-brand split. The report says when it had to guess.

Quotas and limits

  • 16 months of daily data. Anything older is not available at any price.
  • Hourly data: the last 10 days only.
  • URL Inspection: 600 per minute and 2,000 per day per property. This is the limit that bites on a large site.
  • Search Analytics: 1,200 queries per minute per site. Responses are cached in memory for 6 hours (1 hour for inspections); no_cache=true bypasses it.
  • Rows: 25,000 per API call. Tools default to 100 and cap at 1,000, with start_row for pagination; the cap is reported in the response, never applied silently.

Environment variables

VariableDefaultPurpose
GSC_CLIENT_ID, GSC_CLIENT_SECRET, GSC_REFRESH_TOKENStateless OAuth
GSC_SERVICE_ACCOUNT_FILE, GSC_SERVICE_ACCOUNT_JSONService account
GSC_AUTH_MODEautoForce oauth, service_account or adc
GSC_REPORT_LANGUAGEenReport language: en or it
GSC_DATA_STATEallall includes today's partial data, final does not
GSC_CACHE_TTL_SECONDS21600Response cache TTL; 0 disables it
GSC_INSPECT_CONCURRENCY5Parallel URL inspections
GSC_LOG_LEVELWARNINGLogging, always to stderr
MCP_TRANSPORT, MCP_HOST, MCP_PORTstdioTransport

Troubleshooting

`spawn uvx ENOENT` — the client cannot find uvx on its PATH. GUI apps do not inherit a shell PATH. Use the absolute path: which uvx gives it, typically /Users/you/.local/bin/uvx.

`403 forbidden` on every call — almost always the property format. A domain property is sc-domain:example.com; a URL-prefix property is https://example.com/, trailing slash included. gsc_sites returns the exact strings.

`401 invalid_grant` — the refresh token was revoked or expired. Google expires refresh tokens for OAuth apps still in "testing" after seven days; publish the app, or re-run auth.

`403 quotaExceeded` — the daily URL Inspection quota is gone. It resets tomorrow; nothing retries past it.

Empty report on a small site — check the thresholds in the response meta. They adapt to the property, but the floors (50 impressions, 10 clicks) still apply. Pass thresholds to lower them.

Anything else — run doctor and include its output in the issue.

Security

  • Read-only scope, requested and never widened.
  • Token files are written atomically with 0600 permissions. Credentials supplied through the environment are never written to disk.
  • gsc_doctor masks the client ID and never returns a token.
  • No telemetry, no analytics, no request to any host other than Google's API.

See SECURITY.md for the reporting policy.

Development

uv venv && uv pip install -e ".[dev]"

ruff check src tests scripts && ruff format --check src tests scripts pytest -q --cov=google_search_console_mcp python scripts/sync_versions.py python scripts/render_sample_report.py --lang it --open

Tests never hit the network. Live tests exist behind -m live and require GSC_LIVE_TESTS=1 plus credentials; they never run in CI.

Releases: see docs/RELEASING.md. Decisions not covered by the code are logged in docs/DECISIONS.md.

License

MIT. Chart.js 4.5.1 is vendored under src/google_search_console_mcp/static/, also MIT, with its licence alongside.