xflow-geo-mcp
# xflow-geo-mcp
**Zero-dependency white-hat GEO (Generative Engine Optimization) & AI-Search Visibility MCP Server** for Claude Code, Cursor, Claude Desktop, Windsurf, and OpenClaw.
Audits any public website in seconds for AI-search citability across 4 deterministic dimensions:
1. **AI Crawler Access (`robots.txt` + `/llms.txt`)** — Checks whether `GPTBot`, `OAI-SearchBot`, `ClaudeBot`, `PerplexityBot`, `Google-Extended`, and `CCBot` are allowed and verifies `/llms.txt`.
2. **Technical SEO & Schema (`JSON-LD`)** — Verifies `<title>`, meta description, single `<h1>`, `canonical`, and structured JSON-LD entities (`Organization`, `SoftwareApplication`, `Product`, `FAQPage`).
3. **GEO Citability (Answer-First & Evidence Density)** — Evaluates factual clarity, outline structure, and quotable metrics.
4. **Anti-Slop Hygiene** — Flags low-information filler phrases.
Built with **Python 3.10+ stdlib only** (`0` third-party dependencies, built-in SSRF protection blocking localhost, link-local, and private IP ranges).
---
## Quick Start (MCP JSON Config)
### Option A: Zero-install via `uvx` (Recommended)
```json
{
"mcpServers": {
"xflow-geo": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/xuj43761-coder/xflow-geo-mcp",
"xflow-geo-mcp"
]
}
}
}
```
### Option B: Install with `pip`
```bash
pip install git+https://github.com/xuj43761-coder/xflow-geo-mcp.git
```
```json
{
"mcpServers": {
"xflow-geo": {
"command": "xflow-geo-mcp"
}
}
}
```
---
## Included MCP Tools
| Tool | What it does |
|---|---|
| `geo_audit_url` | Deterministic read-only GEO & technical SEO audit of any public HTTP/HTTPS URL (returns 0–100 score + 4 subscores + concrete findings). |
| `geo_remediation_plan` | Converts a URL audit into a prioritized `P0 / P1 / P2` code-level engineering fix checklist with effort estimates. |
| `geo_generate_llms_txt` | Generates a clean, spec-aligned `/llms.txt` Markdown template for your site or SaaS product. |
---
## 中文简介
`xflow-geo-mcp` 是一款 **零外部依赖、100% 白帽合规** 的网站 GEO(AI 搜索引用可见度)体检 MCP Server:
- 帮助独立开发者、B2B SaaS 与独立站快速检测官网在 ChatGPT / Perplexity / DeepSeek / Claude 搜索中的可引用得分;
- 自动核查 `/llms.txt`、`robots.txt` 六大 AI 爬虫放行策略、`JSON-LD` 结构化实体与唯一 `<h1>` / `canonical` 规范;
- 内置严格 SSRF 防护,仅允许访问公开 HTTP/HTTPS 站点,绝不触碰内网或本地地址。
---
## Scheduled Regression Monitoring (`geo-watch`)
This MIT open-source MCP server runs single-page audits locally for free forever.
If you need **scheduled regression monitoring with score-drop alerts** (catching accidental `/llms.txt` or `JSON-LD` regressions after deploys) or **multi-page white-hat remediation packs**, open an Issue or follow **JMZY GEO Cloud**.
## License
MIT
TDQS
Scored across 3 tools
geo_audit_url and geo_remediation_plan overlap because the remediation plan also audits the URL, but the descriptions make the distinction clear: one is a pure audit, the other adds a prioritized fix plan. geo_generate_llms_txt is clearly separate, targeting artifact generation rather than auditing.
All tools share a clear geo_ prefix and snake_case format, making them easy to group. Minor inconsistency: geo_audit_url and geo_generate_llms_txt use verb_object patterns while geo_remediation_plan is noun-based, but this remains readable.
Three tools is lean but appropriate for a focused GEO audit/visibility server, and each tool has a distinct role. It is slightly thin compared with a broader SEO toolkit, but not under-scoped for the stated purpose.
The surface covers auditing, a remediation plan, and /llms.txt generation, but it lacks generation or validation for other common GEO artifacts such as JSON-LD schema or robots.txt AI-crawler rules. It also has no multi-page or batch audit capability, leaving some obvious follow-on gaps.