仓库文件导航
GEO & SEO 就绪度 MCP — Lite
一个开源的 Model Context Protocol 服务器,用于检查某个公开网站能否被 AI 搜索引擎(ChatGPT Search、Perplexity、Claude)以及传统搜索引擎读取和引用。
向你的助手提问“example.com 是否已为 AI 搜索做好准备?”,它就会运行五项确定性检查,并返回一份按优先级排序的修复清单(FAIL 排在 WARN 之前)。无需 API 密钥、无需账号、无外部依赖。
方案 1:零安装远程 MCP(1 次点击粘贴——无需 Python 或 Docker)
零本地配置,直接连接托管的 Streamable HTTP MCP 端点:
https://mcp.usethelever.com/geo-audit/mcp
- Claude Web(claude.ai)和 Claude Desktop:前往 Settings → Connectors → Add Custom Connector,粘贴 https://mcp.usethelever.com/geo-audit/mcp。
- ChatGPT 开发者模式(MCP):前往 Settings → Connectors → Create,粘贴 https://mcp.usethelever.com/geo-audit/mcp。
- Cursor(~/.cursor/mcp.json)/ Windsurf(~/.codeium/windsurf/mcp_config.json):
{
"mcpServers": {
"geo-seo-readiness": {
"url": "https://mcp.usethelever.com/geo-audit/mcp"
}
}
}
没有 MCP 客户端?在浏览器中运行免费检查:AI Crawler Checker
方案 2:本地 Python stdio / CLI / Docker(零依赖,Python 3.10+)
在终端中运行 10 秒检查:
git clone https://github.com/alicexixi85/geo-seo-mcp-pro.git && cd geo-seo-mcp-pro
python3 server.py --check https://your-site.com
本地 stdio 配置(claude_desktop_config.json / .cursor/mcp.json):
{
"mcpServers": {
"geo-seo-readiness": {
"command": "python3",
"args": ["/absolute/path/to/geo-seo-mcp-pro/server.py"]
}
}
}
docker build -t geo-seo-readiness-lite .
docker run -i --rm geo-seo-readiness-lite
已在官方 MCP Registry 中以 io.github.alicexixi85/geo-seo-mcp-pro 列出,并收录于 Glama。
工具
| 工具 | 检查内容 |
|---|---|
| quick_readiness_report | 运行以下所有检查,并返回 fix_first 列表( FAIL 排在 WARN 之前)。 |
| check_ai_crawler_access | 针对页面路径的 robots.txt 规则,分为 AI 搜索爬虫( OAI-SearchBot 、 PerplexityBot 、 Claude-SearchBot )、AI 训练爬虫( GPTBot 、 ClaudeBot 、 Google-Extended 、 CCBot )以及 Googlebot / Bingbot 。屏蔽训练爬虫会被报告为一种策略选择,而非错误。 |
| check_llms_txt | /llms.txt 是否存在、是否为 Markdown 而不是 HTML 软 404,以及是否包含标题、章节和链接。 |
| extract_structured_data | JSON-LD 类型(包括 @graph )、无效的 JSON-LD、指向其他主机的 canonical 和 og:url、缺失的 meta description,以及初始 HTML 为空客户端 JavaScript 外壳的页面。 |
| check_sitemap | 从 robots.txt 或 /sitemap.xml 中找到 sitemap,识别 urlset 与 sitemapindex ,并统计 URL 数量(最多读取 4 MiB,支持 gzip)。 |
每一项发现都会标记为 PASS、WARN、FAIL、INFO 或 UNMEASURED。当站点阻止请求(403/429、超时)时,检查会报告 UNMEASURED,而不是猜测。
示例提示词
- “对 https://example.com 运行一份快速就绪度报告,并告诉我最关键的三项修复。”
- “我的 robots.txt 是否在 /pricing 上屏蔽了 OAI-SearchBot 或 PerplexityBot?”
- “我的 canonical 标签是否指向了不该指向的地方?”
真实案例:它在我们自己的网站上发现了一个部署缺陷
我们用它检查了自家产品页面。落地页通过了,但免费试用 URL 有两项检查失败:它的 canonical 和 og:url 指向了另一个主机,因为一次部署把该页面替换成了站点的回退首页,同时仍然返回 HTTP 200 OK。答案引擎本会把该 URL 归因到错误的页面。回滚这次部署后,两项失败均得到解决。
$ python3 server.py --check https://replay.usethelever.com/mds/en/trial
"summary": {"PASS": 3, "WARN": 1, "FAIL": 2, "UNMEASURED": 0, "INFO": 0},
"fix_first": [
"[structured_data_and_canonical] FAIL: canonical points to another host (usethelever.com); answer engines may attribute this page elsewhere.",
"[structured_data_and_canonical] FAIL: og:url points to another host (usethelever.com); answer engines may attribute this page elsewhere.",
"[structured_data_and_canonical] WARN: no JSON-LD found in the initial HTML. ..."
],
五项检查的背景说明:你的网站对 ChatGPT Search 是否不可见?一分钟内可跑完的五项检查。
局限(依赖结果前请先阅读)
- 仅检查初始 HTML 响应。它不执行 JavaScript,因此客户端注入的 JSON-LD 不会被看到(当页面看起来像 JavaScript 空壳时,工具会报告)。
- robots.txt 只是其中一层。CDN 或 WAF(例如 Cloudflare 的机器人设置)仍可能按 user agent 屏蔽爬虫;这些设置请另行核实。
- 拒绝 localhost 和私有网络地址。仅支持公网 http/https URL。
- 在 Lite 模式下不生成合成的单一评分。排名和引用取决于内容质量与权威性,以及技术就绪度。
免费检查器、快速上手套件与 Pro 白标版
- 免费网页检查器(浏览器):usethelever.com/tools/ai-crawler-checker — 即时浏览器检查,零安装。
- GEO 审计快速上手套件($9):leverailab.gumroad.com/l/geo-audit-starter — 可直接部署的 robots.txt 规则(区分搜索爬虫与训练爬虫)、/llms.txt 模板、SSR JSON-LD 代码片段,以及 15 点客户 SOP。
- GEO & SEO Readiness MCP 2.2 Pro — 跨平台白标套件($49 Solo / $129 Agency):leverailab.gumroad.com/l/geo-seo-mcp-pro(产品资料)— 原生 Windows / macOS / Linux 一条命令安装(install.sh / Run-MCP-Local.sh,127 项 pytest 检查)、无头 Chromium SPA 渲染、隐藏的 AI 引用阻断检测(X-Robots-Tag 与 meta robots noindex/nosnippet/noai/max-snippet:0 + canonical 不匹配)、8 个托管店铺自动识别(Gumroad、LemonSqueezy、Shopify、Substack、Notion Sites、Framer、Carrd)、5 文件客户修复套件(robots.txt、llms.txt、llms-full.txt、WebSite+BreadcrumbList schema.jsonld、head-meta.html),以及零连字的 EN/ZH 白标 A4 PDF 报告(示例 PDF)。
本仓库中的开源 Lite 服务器在 MIT 许可下自成完整版本,无需任何付费版。
许可证
MIT。由 @alicexixi85 构建。欢迎提交 issue 和 pull request。