Google Search Console MCP

io.scalably由 scalably.io 发布v1.0.1更新于 Oct 24, 2026

Read-only Google Search Console MCP: Search Analytics, sitemaps, URL inspection. 5 tools.

概览

AI 生成的概览

本地运行的只读 MCP 服务器,让助手查询 Google Search Console 的资源、搜索分析、站点地图和网址索引状态。

可以做什么
列出服务账号可读取的 Search Console 资源,并列出某资源的站点地图或读取单个站点地图。按筛选条件查询搜索分析数据,支持按小时数据和超过 25,000 行上限的自动分页。检查单个网址的索引状态,或以客户端限流方式批量检查多个网址。所有工具返回带状态、摘要、结果、凭据和警告的结构化 JSON,部分结果会指出继续的位置。
适用场景
适合 SEO 和站点运营场景,让助手直接获取 Google Search Console 的搜索表现、站点地图和索引数据,无需手动导出。适用于只读的报告与诊断,而不是在 Search Console 中做修改。
运行要求
通过 stdio 在本地运行,可用 uvx 从 PyPI 包安装,或使用 Claude Desktop 的 .mcpb 包。需要一个启用 Search Console API 的 Google Cloud 项目和服务账号 JSON 密钥,其路径通过 GOOGLE_APPLICATION_CREDENTIALS 指定。每个要查询的 Search Console 资源都需共享给该服务账号邮箱。可选变量可设置日志级别、重试退避和 API 基础地址。
安装前请注意
需要 Google 服务账号私钥文件,应妥善保护,正常使用时切勿设置仅用于测试的 GSC_TEST_ACCESS_TOKEN。访问为只读,但把资源共享给服务账号即意味着该资源数据可被助手读取。网址检查有配额限制(每资源每分钟 600 次、每天 2,000 次),且服务器不跨调用统计每日用量,需自行计数。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Google Search Console MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Google Search Console MCP

Read-only MCP server for Google Search Console. Five tools cover the read surface: properties, Search Analytics (filters, auto-pagination past the 25,000-row cap, hourly data), sitemaps, URL inspection, batch inspection with throttling. We run this server in production for every SEO client.

Install

Claude Code:

bash
claude mcp add gsc -e GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json -- uvx scalably-gsc-mcp

Codex:

bash
codex mcp add gsc --env GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json -- uvx scalably-gsc-mcp

Claude Desktop: download gsc-mcp.mcpb from the latest GitHub release and open it.

Setup

  1. In Google Cloud, create or pick a project and enable the Google Search Console API on it (APIs and Services, Library).
  2. Create a service account in that project and download its JSON key.
  3. Add the service account's email as a user on each Search Console property you want to query (Settings, Users and permissions). Full or restricted permission both work for reading.

No OAuth consent screen is needed; the server authenticates as the service account with the webmasters.readonly scope.

Tools (5)

ToolWhat it does
gsc_list_sitesList the Search Console properties the service account can read
gsc_query_search_analyticsQuery Search Analytics with filters, auto-pagination and hourly data
gsc_list_sitemapsList sitemaps for a property or read one sitemap
gsc_inspect_urlInspect one URL's index status
gsc_batch_inspect_urlsInspect many URLs with client-side throttling

Configuration

VariableRequiredPurpose
GOOGLE_APPLICATION_CREDENTIALSyesPath to a Google service-account JSON file with the Search Console read-only scope; share each property with the service account email
GSC_LOG_LEVELnoINFO (default) or DEBUG
GSC_RETRY_BASE_SECONDSnoBase delay in seconds for the retry backoff on transient API errors (default 1)
GSC_WEBMASTERS_BASE, GSC_SEARCHCONSOLE_BASEnoOverride the two Google API base URLs (used by the test suite to point at a local fake; leave unset in normal use)
GSC_TEST_ACCESS_TOKENnoTest-suite only: a literal bearer token that bypasses the service account. Never set it in normal use

Reply shape

Every tool returns JSON with status (succeeded, partial, no_op), operation, summary, target, result, proof, warnings, recovery. Failures surface as a tool error whose text is <code>: <message> <hint>. A partial status with proof.nextStartRow means: continue from that row.

Limits

25,000 rows per Search Analytics call (the server auto-paginates past it up to max_rows). URL inspection: Google allows 600 per minute and 2,000 per day per property. The server paces batch inspection client-side (default 8 requests per second) and warns when a batch exceeds the daily quota; it does not track daily usage across calls, so keep your own count.

Verify

Each release lists the package version, the .mcpb sha256 and the production commit it was derived from in CHANGELOG.md. CI runs the tests and a clean install of the built wheel on every push.

Privacy Policy

This server runs locally, on your machine, under your own credentials. It collects no personal data, contains no telemetry, stores nothing persistently, and talks only to the vendor API it wraps. No third party, including Scalably, receives your data. Contact: [email protected]. Canonical copy: https://scalably.io/connector-privacy.html

License

MIT. Copyright Scalably.

来源:README.md,提交 357b2eb

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分