mcp-gsc
by AminForou·★ 843·综合分 55
将 Google Search Console 与 AI 助手连接的 MCP 服务器,支持通过自然语言对话进行 SEO 分析。
概述
这个 MCP 服务器通过 Claude Desktop、Cursor、Codex CLI、Gemini CLI 和 Antigravity 等 AI 助手提供对 Google Search Console 数据的全面访问。它使 SEO 专业人员能够直接通过对话分析网站性能指标、搜索查询、索引状态和网站地图信息。该服务器支持 OAuth 和服务账户认证方法,并提供用于属性管理、搜索分析、URL 检查和网站地图管理的详细工具。
试试问 AI
装完之后,这里有 4 个你可以让 AI 做的事:
什么时候选它
如果你是 SEO 专业人士,希望通过对话 AI 分析 Google Search Console 数据,而不用在仪表板和报告之间切换,选择这个工具。
什么时候不要选它
如果你需要实时数据(GSC 有 2-3 天延迟)或需要写入你的 Search Console 属性权限(此服务器仅支持读取),不要选择这个工具。
此 server 暴露的工具
从 README 抽取出 12 个工具get_capabilitiesLists all tools and shows auth status — call this first if unsure
list_propertiesShows all your GSC properties
get_site_detailsDetails about a specific site
get_search_analyticsTop queries and pages with clicks, impressions, CTR, position
get_performance_overviewSummary of site performance
compare_search_periodsCompare performance between two time periods
inspect_url_enhancedDetailed crawl/index status for a URL
batch_url_inspectionInspect up to 10 URLs at once
get_sitemapsLists all sitemaps for a site
list_sitemaps_enhancedDetailed sitemap info including errors and warnings
manage_sitemapsSubmit or delete sitemaps
reauthenticateRe-run the OAuth browser login (switch accounts)
可对比工具
安装
安装
选项 A — 使用 uvx(推荐)
# 1. 安装 uv
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.local/bin/env
echo 'source $HOME/.local/bin/env' >> ~/.zshrc**Claude Desktop 配置(OAuth)**:
{
"mcpServers": {
"gscServer": {
"command": "/完整路径/uvx",
"args": ["mcp-search-console"],
"env": {
"GSC_OAUTH_CLIENT_SECRETS_FILE": "/完整路径/client_secrets.json"
}
}
}
}选项 B — 克隆
git clone https://github.com/AminForou/mcp-gsc.git
cd mcp-gsc
uv venv .venv
uv pip install -r requirements.txt首先配置您的 Google API 凭据(README 中有详细步骤)。
mcp-gsc 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。