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

MCP Gsc

作者:pijusz版本 0.1.7i★ –i在你的电脑上运行
注册名称io.github.pijusz/mcp-gsc

安装

概览

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

Google Search Console MCP server — query performance, sitemaps, indexing & more

PopNx MCP 的三大支柱

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

它能帮你做什么

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

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

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "gsc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-gsc"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add gsc -- npx -y mcp-gsc

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "gsc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-gsc"
      ]
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "gsc": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-gsc"
      ]
    }
  }
}

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

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

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

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

MCP Gsc 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.7)于8个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有: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、图片和脚本已被移除。链接会离开本站。

mcp-gsc

Google Search Console MCP server — query search analytics, inspect URLs, manage sitemaps & more via natural language.

Built with Bun + TypeScript. Works with Claude, Cursor, and any MCP client.


Quick Start

1. Get Credentials

You need OAuth client credentials from Google Cloud Console.

  1. Go to Google Cloud Console
  2. Create a project (or select existing)
  3. Enable the Google Search Console API:
  • APIs & Services → Library → search "Google Search Console API" → Enable
  1. Configure OAuth consent screen (if not done):
  • APIs & Services → OAuth consent screen → External
  • Fill in app name + your email, add scope https://www.googleapis.com/auth/webmasters
  1. Create credentials:
  • APIs & Services → Credentials → Create Credentials → OAuth client ID
  • Application type: Desktop app (allows localhost redirects automatically)
  • Download the JSON file
  1. Set the credentials path:
export GOOGLE_GSC_CREDENTIALS_PATH=/path/to/credentials.json
  1. Run setup to authorize:
npx mcp-gsc setup

This opens your browser for OAuth consent, saves a refresh token, verifies access to your GSC properties, and prints config snippets for your MCP client.

2. Add to Claude Code
claude mcp add gsc --scope user --transport stdio \

-e GOOGLE_GSC_CREDENTIALS_PATH=/path/to/credentials.json \ -- npx -y mcp-gsc@latest

That's it. Restart Claude Code and the tools are available.

Also works with bunx mcp-gsc@latest if you have Bun.

Requires Node 22+ when running via npx.

Claude Desktop / Cursor

Add to your claude_desktop_config.json:

{

"mcpServers": { "gsc": { "command": "npx", "args": ["-y", "mcp-gsc@latest"], "env": { "GOOGLE_GSC_CREDENTIALS_PATH": "/path/to/credentials.json" } } } }

Codex CLI

Add to ~/.codex/config.toml (TOML, not JSON):

[mcp_servers.gsc]

command = "npx" args = ["-y", "mcp-gsc@latest"] startup_timeout_sec = 30 env = { GOOGLE_GSC_CREDENTIALS_PATH = "/path/to/credentials.json" }

Codex defaults to a 10s startup timeout, which is often too short for a cold npx fetch. Bump startup_timeout_sec (30 is safe) or install the package globally (npm i -g mcp-gsc) and use command = "mcp-gsc" instead.

Service Account (alternative)

For server-to-server auth without browser-based OAuth:

  1. Create a service account in Google Cloud Console
  2. Download the JSON key file
  3. In Google Search Console, add the service account email as a user for each property
  4. Point GOOGLE_GSC_CREDENTIALS_PATH to the key file — auth type is auto-detected

Tools (25)

Core Tools (always available)
Sites
ToolDescription
list_propertiesList all GSC properties with permission levels
get_property_detailsVerification info, ownership, permissions for a property
Search Analytics
ToolDescription
search_analyticsQuery search performance (clicks, impressions, CTR, position) with dimensions, filters, and brand segmentation

Dimensions: query, page, country, device, date, searchAppearance, hour

Types: web, image, video, news, discover, googleNews

Note: searchAppearance cannot combine with query or page. hour requires data_state="hourly_all" (last 10 days only). Country codes are ISO 3166-1 alpha-3 (usa, gbr, deu).

Sitemaps
ToolDescription
list_sitemapsList sitemaps with status, type, indexed counts, errors
get_sitemapDetailed sitemap info with content breakdown
URL Inspection
ToolDescription
inspect_urlURL indexing status, crawl info, rich results, canonicals
batch_inspect_urlsInspect up to 10 URLs at once with categorized results

Rate limits: 600/minute + 2,000/day per site (tracked automatically).

Export
ToolDescription
export_csvExport full search analytics to a local CSV file (auto-paginates 25K rows per call, up to 1M rows)
Extended Tools (disabled by default)

Enable with GOOGLE_GSC_ENABLE_EXTENDED_TOOLS=true:

Reporting Suite
ToolDescription
performance_overviewAggregate metrics + daily trend breakdown
compare_periodsCompare two date ranges with delta calculations
top_moversBiggest gains and drops between periods
device_country_breakdownPerformance by device and/or country
SEO Suite
ToolDescription
quick_winsHigh-impression, low-CTR queries in striking distance (position 4-20)
cannibalizationMultiple pages competing for the same query
opportunity_finderEmerging queries, growing impressions with low CTR, declining performers
position_trackingPosition changes over time for specific queries/pages
ctr_anomaliesQueries with abnormal CTR relative to position
content_decayPages/queries with impressions dropping >50% from historical peak
weekly_seo_reportAll-in-one report: overview + quick wins + top movers
Technical SEO Suite
ToolDescription
indexing_coverageBatch URL inspection with categorized indexing status
sitemap_healthSitemap error patterns, freshness, indexed vs submitted ratio
Write Tools (disabled by default)

Enable with GOOGLE_GSC_ENABLE_WRITES=true:

ToolDescription
add_siteAdd a new site to GSC
delete_siteRemove a site from GSC
submit_sitemapSubmit a new sitemap
delete_sitemapRemove/unsubmit a sitemap
request_indexingAsk Google to crawl a URL via the Indexing API
get_indexing_statusWhen a URL was last submitted for indexing

Indexing API prerequisites. The last two use a different Google API to the

rest of this server, so they need three things the other tools don't:

1. Re-run `mcp-gsc setup` — credentials created before this feature lack

the auth/indexing scope. The tools say so explicitly if yours do.

2. Enable the Indexing API on your Google Cloud project —

console.cloud.google.com/apis/library/indexing.googleapis.com

3. Be a verified _owner_ of the property in Search Console. Full-user

access is not enough.

Google officially supports the Indexing API only for pages carrying

JobPosting or BroadcastEvent structured data, with a default quota of

200 URLs/day. It requests a crawl — it never guarantees indexing.

Configuration

VariableRequiredDefaultDescription
GOOGLE_GSC_CREDENTIALS_PATHYes—Path to OAuth client JSON or service account key
GOOGLE_GSC_TOKEN_PATHNoDerivedPath to cached OAuth token (default: *_token.json next to credentials)
GOOGLE_GSC_PROPERTYNo—Default property URL (e.g., sc-domain:example.com). Accepts bare domains.
GOOGLE_GSC_ENABLE_WRITESNofalseEnable write tools
GOOGLE_GSC_ENABLE_EXTENDED_TOOLSNofalseEnable extended analytics tools (13 extra)
GOOGLE_GSC_ENV_FILENo.envPath to .env file
DEBUGNo—Enable debug logging

Property resolution: You can pass bare domains like example.com — the server auto-resolves to sc-domain:example.com or https://example.com/ by matching against your verified properties.

Examples

Ask your AI assistant:

  • "Show me my top 10 queries this month"
  • "Find quick wins for example.com"
  • "Which pages have declining traffic over the last 3 months?"
  • "Check if these URLs are indexed: url1, url2, url3"
  • "Compare this week's performance to last week"
  • "Export all search analytics data to CSV for the last 28 days"
  • "Run a weekly SEO report for my site"
  • "Find keyword cannibalization issues"

Future Tool Ideas

  • Content gap analysis (requires competitor data integration)
  • Core Web Vitals integration (via PageSpeed Insights API)
  • Multi-property comparison
  • Search appearance deep analysis
  • Integration with Google Analytics for conversion data
  • Automated reporting schedules

Updates

Using `npx @latest` (recommended): You always get the latest version.

Using a binary: The server checks for new releases on startup and logs to stderr if outdated.

mcp-gsc --version

Development

Requires Bun.

git clone https://github.com/pijusz/mcp-gsc.git

cd mcp-gsc bun install bun test # tests bun run build # standalone binary bun run inspect # MCP Inspector bun run check # biome format + lint

License

MIT

问 PopNx