● 免费开源💻 本地🔑 需要 API 密钥营销与销售
SEOMonster
让你的智能体在自己的电脑上,使用你的 Search Console、GA4、PageSpeed 和 Cloudflare 数据开展 SEO 工作。
511 GitHub 星标作者 avansaber许可证 MIT更新于 18天前
如何安装
这个 MCP 是本地的:在你的电脑上运行。
适用于电脑上安装的应用(Claude Desktop、Claude Code、Cursor、VS Code 等)。选择你的应用:
粘贴到终端:
claude mcp add seo-monster -- uvx seo-monster
需要填写的内容
| 名称 | 用途 | 必填 |
|---|---|---|
SEO_MCP_GOOGLE_OAUTH_CLIENT | Path to your Desktop-app OAuth client-secrets JSON, downloaded from Google Cloud Console. Required for Search Console, Indexing, and GA4 tools. | 否 |
SEO_MCP_GOOGLE_TOKEN | Writable path where the cached OAuth token is stored. On first use, a browser opens for one-time consent and the token is written here. Default: ${HOME}/.config/seo-monster/token.json | 否 |
SEO_MCP_GSC_DEFAULT_SITE | Default Search Console property, e.g. 'sc-domain:example.com' or 'https://www.example.com/'. | 否 |
SEO_MCP_GA4_PROPERTY_ID | Default GA4 property, e.g. 'properties/123456789' or bare '123456789'. | 否 |
PSI_API_KEY | Google API key shared by PageSpeed Insights and Chrome UX Report History tools. Optional; both work anonymously at a tighter rate limit when unset. | 否 |
CF_API_TOKEN | Cloudflare API token. Optional; needed only for the Cloudflare tools. Scopes: Zone:Read, DNS:Read, Account Analytics:Read, and (only when destructive mode is on) Cache Purge:Purge, Single Redirect:Edit, Zone Settings:Edit, and (for bulk redirects) Account Rulesets:Edit + Account Filter Lists:Edit. | 否 |
CF_ZONE | Default Cloudflare zone hostname, e.g. 'example.com'. | 否 |
SEO_MCP_INDEXNOW_KEY | IndexNow shared key (any 8-128 hex string you generate). Required only for the IndexNow tools. Host the key file at https://<your-host>/<key>.txt for engine verification. | 否 |
SEO_MCP_INDEXNOW_KEY_LOCATION | Override the default IndexNow key-file URL (https://<host>/<key>.txt). Set only if you host the key file at a non-standard path. | 否 |
SEO_MCP_ALLOW_DESTRUCTIVE | Set to 'true' to enable the Cloudflare cache-purge tools. Default false: all destructive tools refuse to run. | 否 |
DATAFORSEO_LOGIN | DataForSEO Basic-auth login. Optional (v0.9). Unlocks SERP/PAA/related, keyword volume+difficulty+intent, competitor keyword-gap, and Google AI Overview citations for keyword_universe / serp_adjacency_expand / onpage_serp_gap auto-fetch / ai_citation_track. | 否 |
DATAFORSEO_PASSWORD | DataForSEO Basic-auth password. Optional (v0.9). Required alongside DATAFORSEO_LOGIN. | 否 |
OPENPAGERANK_API_KEY | Open PageRank (DomCop) free API key. Optional (v0.9). Free competitor domain-authority proxy for onpage_serp_gap. | 否 |
PERPLEXITY_API_KEY | Perplexity Sonar API key. Optional (v0.9). One of the AI answer-engines for ai_citation_track. | 否 |
OPENAI_API_KEY | OpenAI API key (Responses web_search). Optional (v0.9). One of the AI answer-engines for ai_citation_track. | 否 |
ANTHROPIC_API_KEY | Anthropic API key (web_search tool). Optional (v0.9). One of the AI answer-engines for ai_citation_track. | 否 |
GEMINI_API_KEY | Google Gemini API key (Search grounding). Optional (v0.9). One of the AI answer-engines for ai_citation_track. | 否 |
GOOGLE_ADS_DEVELOPER_TOKEN | Google Ads API developer token. Optional (v0.9). Volume-only alternative to DataForSEO for keyword_universe; live use also needs an adwords-scope OAuth re-consent. | 否 |
GOOGLE_ADS_CUSTOMER_ID | Google Ads customer id (digits). Optional (v0.9). Required alongside GOOGLE_ADS_DEVELOPER_TOKEN. | 否 |
好了!现在试试
重启应用,把下面任意一条请求粘贴到聊天里:
接下来应该写什么主题?
这个页面可以发布了吗?
简介
SEOMonster 是一个本地 MCP 服务器,提供 70 个 SEO 工具。它使用你自己的凭据读取 Search Console、Google Analytics 4、PageSpeed、CrUX 和 Cloudflare,并可追踪 AI 答案引擎如何提及你的品牌。读取操作默认开启,有风险的 Cloudflare 写入操作在你允许之前保持关闭。
它能做什么
system_status: 显示已连接的内容gsc_search_analytics和gsc_top_queries: 点击量、展示量和排名gsc_compare_periods: 比较时间段,并找出波动较大的页面gsc_inspect_url: 检查某个网址的收录状态gsc_submit_sitemap和gsc_request_indexing: 提交站点地图并请求收录content_opportunities: 你几乎能排上名的主题- IndexNow、PageSpeed 和 Cloudflare 工具
- AI 引用追踪和技术检查
什么时候用
- ›当你想根据自己的 Search Console 数据判断接下来该写什么主题时
- ›当你想检查某个页面是否已可发布时
- ›当你想确认某项改动是否带动了排名变化时
你需要准备
Python 3.11 或更高版本,并安装
uv;或使用带有 .mcpb 包的 Claude Desktop。你需要自己的 Google 登录(uvx --from seo-monster seo-monster auth),部分工具还需要 Cloudflare 或其他提供商的密钥。搭配的技能
常见问题
是免费的开源项目吗?
是的,它是开源的。调用 DataForSEO 等提供商的付费接口可能需要向这些提供商付费。
我的数据会被发送到别处吗?
说明文件称,它基于用户凭据运行,不会向维护者发送遥测数据。提供商会收到调用所需的参数和凭据。
它会修改我的网站吗?
站点地图提交和收录请求默认开启。Cloudflare 写入操作需要设置 SEO_MCP_ALLOW_DESTRUCTIVE,风险更高的操作还需要每次调用的确认令牌。
它有多少个工具?
70 个工具,另外还有十三个命名的工作流提示词。
哪些客户端可用?
Claude、Cursor、Cline 和 Codex。
什么是 Workbench?
一个单独安装的本地配套工具,将证据和决策存储在 SQLite 中。它不在 PyPI 上,服务器运行也不需要它。
如果不能用
- ›运行一次
uvx --from seo-monster seo-monster auth完成 Google 登录,然后请求system_status - ›图形界面应用不会读取你的 shell 配置,因此请使用
uvx的完整路径(which uvx) - ›如果 Cloudflare 写入被拒绝,请检查是否设置了
SEO_MCP_ALLOW_DESTRUCTIVE
每周 5 个新技能,1 分钟读完。