Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Local, read-only Google Search Console MCP server. Quick Connect needs no Cloud project.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
GSC_AUTH_MODE, GSC_ACCESS_MODE, GSC_SITE_URLS, GSC_KEY_FILE, GSC_DATA_DIR, GSC_EXPORTS, GSC_HISTORY, GSC_OAUTH_SECRETS_FILE, GSC_OAUTH_CLIENT_ID, GSC_OAUTH_CLIENT_SECRET, GSC_SCOPES, GSC_ENABLE_WRITE标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"gsc": {
"command": "npx",
"args": [
"-y",
"@sonnivasquez/gsc-mcp"
],
"env": {
"GSC_AUTH_MODE": "your-value",
"GSC_ACCESS_MODE": "your-value",
"GSC_SITE_URLS": "your-value",
"GSC_KEY_FILE": "your-value",
"GSC_DATA_DIR": "your-value",
"GSC_EXPORTS": "your-value",
"GSC_HISTORY": "your-value",
"GSC_OAUTH_SECRETS_FILE": "your-value",
"GSC_OAUTH_CLIENT_ID": "your-value",
"GSC_OAUTH_CLIENT_SECRET": "your-value",
"GSC_SCOPES": "your-value",
"GSC_ENABLE_WRITE": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add gsc --env GSC_AUTH_MODE=your-value --env GSC_ACCESS_MODE=your-value --env GSC_SITE_URLS=your-value --env GSC_KEY_FILE=your-value --env GSC_DATA_DIR=your-value --env GSC_EXPORTS=your-value --env GSC_HISTORY=your-value --env GSC_OAUTH_SECRETS_FILE=your-value --env GSC_OAUTH_CLIENT_ID=your-value --env GSC_OAUTH_CLIENT_SECRET=your-value --env GSC_SCOPES=your-value --env GSC_ENABLE_WRITE=your-value -- npx -y @sonnivasquez/gsc-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"gsc": {
"command": "npx",
"args": [
"-y",
"@sonnivasquez/gsc-mcp"
],
"env": {
"GSC_AUTH_MODE": "your-value",
"GSC_ACCESS_MODE": "your-value",
"GSC_SITE_URLS": "your-value",
"GSC_KEY_FILE": "your-value",
"GSC_DATA_DIR": "your-value",
"GSC_EXPORTS": "your-value",
"GSC_HISTORY": "your-value",
"GSC_OAUTH_SECRETS_FILE": "your-value",
"GSC_OAUTH_CLIENT_ID": "your-value",
"GSC_OAUTH_CLIENT_SECRET": "your-value",
"GSC_SCOPES": "your-value",
"GSC_ENABLE_WRITE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"gsc": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sonnivasquez/gsc-mcp"
],
"env": {
"GSC_AUTH_MODE": "your-value",
"GSC_ACCESS_MODE": "your-value",
"GSC_SITE_URLS": "your-value",
"GSC_KEY_FILE": "your-value",
"GSC_DATA_DIR": "your-value",
"GSC_EXPORTS": "your-value",
"GSC_HISTORY": "your-value",
"GSC_OAUTH_SECRETS_FILE": "your-value",
"GSC_OAUTH_CLIENT_ID": "your-value",
"GSC_OAUTH_CLIENT_SECRET": "your-value",
"GSC_SCOPES": "your-value",
"GSC_ENABLE_WRITE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
GSC_AUTH_MODE envGSC_ACCESS_MODE envGSC_SITE_URLS envGSC_KEY_FILE envGSC_DATA_DIR envGSC_EXPORTS envGSC_HISTORY envGSC_OAUTH_SECRETS_FILE envGSC_OAUTH_CLIENT_ID envGSC_SCOPES envGSC_ENABLE_WRITE env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 sonnivasquez 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:GSC_OAUTH_CLIENT_SECRET
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.1.0)于3天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A local Google Search Console MCP server to compare search performance, find SEO opportunities, and check URL indexing status from your AI assistant using your own Google Search Console data.
GSC MCP is an open-source MCP server by Sonni Vasquez. It runs locally over stdio with Node.js or Bun and provides 34 tools. Google API requests run from your machine, with read-only Google access by default and access limited to the properties you select.
Website · npm package · Quickstart · Guía en español · Tool catalog
This is an independent project, not an official Google product.
The buttons and snippets below start the local stdio server with npx -y @sonnivasquez/gsc-mcp. They set GSC_AUTH_MODE=oauth and GSC_ACCESS_MODE=readonly. They do not sign you in to Google and they do not choose a property. Node.js 22 or newer is required. After the client starts the server, set GSC_SITE_URLS to your Search Console property and run gsc auth login or gsc setup. Quick Connect uses the shared read-only OAuth client shipped in this package, so you do not create a Google Cloud project for that path.
Replace sc-domain:example.com with your Search Console property id:
claude mcp add gsc-mcp -e GSC_AUTH_MODE=oauth -e GSC_ACCESS_MODE=readonly -e GSC_SITE_URLS=sc-domain:example.com -- npx -y @sonnivasquez/gsc-mcp
Same command, for a client that reads mcpServers. Replace the example property:
{
"mcpServers": { "gsc-mcp": { "command": "npx", "args": ["-y", "@sonnivasquez/gsc-mcp"], "env": { "GSC_AUTH_MODE": "oauth", "GSC_ACCESS_MODE": "readonly", "GSC_SITE_URLS": "sc-domain:example.com" } } } }
Quick Connect is the path that skips creating a Google Cloud OAuth client. Custom OAuth and service accounts in this same server still use credentials you create. Both paths run locally.
| Quick Connect in this server | Your own Google credentials | |
|---|---|---|
| Google Cloud project | Not required. This package ships a shared read-only OAuth client. | Custom OAuth needs your client (GSC_OAUTH_SECRETS_FILE, or GSC_OAUTH_CLIENT_ID plus GSC_OAUTH_CLIENT_SECRET). A service account needs GSC_KEY_FILE. |
| Where it runs | Local stdio process. Google API requests run from your machine. | Same local process. |
| Default access | Read-only. Setup refuses full access for Quick Connect. | Read-only unless GSC_ACCESS_MODE=full. That mode enables gsc_submit_url, gsc_submit_batch, and gsc_submit_sitemap. |
| Tools | 34 gsc_* tools registered by the server. | The same 34 tools. |
| Also registered here | gsc_genai_conversation_queries, gsc_check_update_impact, and gsc_image_page_audit. | The same tools. |
gsc_genai_conversation_queries reads AI-conversation exhaust in query data. gsc_check_update_impact compares a drop window with confirmed ranking updates and reports temporal coincidence only. gsc_image_page_audit fetches your own pages and their image bytes.
| SEO task | What GSC MCP returns | Example tools |
|---|---|---|
| Understand a traffic change | Clicks, impressions, CTR, average position and period comparisons by page or query | gsc_performance_overview, gsc_compare_periods, gsc_analyze_traffic_drop |
| Prioritize pages and queries | Candidates with low CTR, weak positions or declining traffic, using explicit thresholds | gsc_find_opportunities, gsc_content_decay |
| Review competing pages | Queries served by multiple pages on your site, with evidence for editorial review | gsc_detect_cannibalization, gsc_query_pages |
| Inspect indexing and sitemaps | Google's indexed view of selected URLs and registered sitemap states | gsc_inspect_urls, gsc_list_sitemaps |
| Compare segments | Brand terms, site folders, countries, devices, or web versus image search | gsc_analyze_segments, gsc_compare_web_image |
| Audit on-page images | Findings from downloading your own pages and their referenced images | gsc_image_page_audit |
| Audit a page or an index sample | Current HTTP HTML and exact-page queries, or indexed-view inspection from sitemap discovery | gsc_page_audit, gsc_indexing_audit |
| Review internal links | Bounded HTML link graph and literal suggestions | gsc_internal_link_audit |
| Evaluate changes or a migration | Observed before/after metrics and declared URL mappings | gsc_change_impact, gsc_migration_audit |
| Prepare reports | Markdown reports and optional local dataset exports | gsc_generate_report, gsc_export_dataset |
These are analysis tools. Opportunity and cannibalization results are candidates to review, not proof that a particular SEO change will improve rankings.
You need Node.js 22 or newer, npm or Bun, and a Google account with access to a Search Console property. Bun can install the package and run the MCP server; the global gsc CLI still requires Node.js.
npm install -g @sonnivasquez/gsc-mcp
gsc setup
Setup guides you through:
Quick Connect uses a shared Desktop OAuth application and needs no Google Cloud project setup. Complete Google sign-in in your browser. Never paste passwords, OAuth credentials or tokens into an AI chat.
Check your local installation and saved authentication state:
gsc doctor
gsc auth status
To check access with a minimal request to Google, run gsc auth status --online. Restart your MCP client if the tools do not appear.
With Bun as the package manager:
bun install -g @sonnivasquez/gsc-mcp
gsc setup
The shell installer installs the latest package globally and opens setup. It uses npm by default and does not use sudo:
curl -fsSL https://gscmcp.dev/install.sh | sh
To use Bun with the installer:
curl -fsSL https://gscmcp.dev/install.sh | sh -s -- --manager bun
Read the installer or follow the quickstart for details.
Guided setup supports Claude Desktop, Claude Code, Cursor, Codex, OpenCode and Pi. It can also print JSON for another compatible MCP client. GSC MCP uses local stdio, so the client must support launching a local server.
See client setup instructions. Use gsc setup --dry-run to preview changes or gsc setup --verbose for configuration details. OpenCode and Pi configuration is global.
Copy this prompt into an agent that can run terminal commands. You complete Google sign-in yourself:
Install @sonnivasquez/gsc-mcp globally with npm, or Bun if I prefer, then run gsc setup.
Use read-only Quick Connect. Help me sign in to Google, choose my Search Console properties and connect my MCP client while preserving other MCP servers. Never ask me to paste credentials or tokens into chat. Verify with gsc doctor and tell me whether I need to restart my client. Do not query Search Console until I ask.
After setup, ask your assistant to list the properties it can access. Use an exact property identifier such as sc-domain:example.com or https://example.com/ in subsequent requests.
The prompts below are examples, not measured results:
For sc-domain:example.com, compare the last 28 days with the previous period.
Show the pages with the largest observed click losses, including impressions, CTR and average position. State the dates and coverage of the returned data.
Find queries for sc-domain:example.com with at least 500 impressions and CTR
below 2% in the last 28 days. Show their ranking pages and prioritize candidates for a title and snippet review. Do not edit the site.
Inspect these three URLs on my selected property and show Google's indexed
status for each. Then list its registered sitemaps. Do not submit anything.
You can also ask for pages with sustained traffic declines, query overlap across your own pages, brand versus non-brand segments, or a Markdown performance report. Saving reports and exporting datasets require GSC_EXPORTS=1 in your MCP client's server environment. Restart the client after changing that environment.
Version 1.1.0 adds gsc_page_audit, gsc_indexing_audit, gsc_internal_link_audit, gsc_change_impact, and gsc_migration_audit. They combine bounded HTTP HTML or sitemap reads with your own GSC data. They do not render JavaScript or run in the background; client-rendered content and links remain unknown. Continue batches explicitly using nextCursor; sessions expire after 15 idle minutes.
GSC_HISTORY=1 enables explicit local change records and saved measurements, independently of GSC_EXPORTS. Transient before/after analysis needs no history. Results may be partial even when the scheduled work completes: check status, coverage and warnings. Full evidence may require gsc_get_dataset. No alerts service, scheduler or automatic captures are installed. See audit inputs, limits, evidence pagination and examples. These audits require version 1.1.0 or later. Check gsc_capabilities in the running server after updating and restarting your MCP client.
| Connection | Requirements | Access |
|---|---|---|
| Quick Connect | Browser sign-in with a Google account that can access the property | Read-only, using the shared OAuth application |
| Custom OAuth | Your own Google Cloud OAuth client and browser sign-in | Read-only, or full access after explicit configuration |
| Service account | Your own credentials file and permissions for the property | Read-only, or full access after explicit configuration |
Read-only access blocks Google wr
只显示了开头部分;其余内容请在仓库中阅读