Skip to main content
Glama
@worldgeo/mcp

@worldgeo/mcp

Official
by worldgeo
README.md
# @worldgeo/mcp — WorldGEO Open GEO, China AI Compliance & 48h Free Baseline MCP Server

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE)
[![Node.js >= 20](https://img.shields.io/badge/node-%3E%3D20.0.0-brightgreen.svg)](https://nodejs.org/)
[![Zero Dependencies](https://img.shields.io/badge/dependencies-0-success.svg)](./package.json)
[![MCP Protocol](https://img.shields.io/badge/MCP-2025--06--18%20%7C%202025--03--26-purple.svg)](https://modelcontextprotocol.io/)

**[Website](https://www.worldgeo.dev/) · [MCP Documentation](https://www.worldgeo.dev/mcp/) · [Transparent Pricing](https://www.worldgeo.dev/pricing/) · [中文说明](./README.zh-CN.md) · [Free 48h Baseline](mailto:dylanford@worldgeo.dev)**

`@worldgeo/mcp` is the official open-source **Model Context Protocol (MCP) server**, **CLI**, **Claude Code plugin**, and **OpenAI Codex plugin** built by **[WorldGEO](https://www.worldgeo.dev/)** (Hangzhou Hongdong Data Technology Co., Ltd. · Co-drafter of 80+ China GEO standard clauses · CAICT Trustworthy GEO first-round evaluated).

It brings three battle-tested capabilities directly into your AI coding agent and CI pipeline with **zero external runtime dependencies**:

1. **Direction 1 — GEO Code, Crawler & Entity Auditor + Generators**:
   - 100-point page audit against the **Princeton KDD 2024 8-Point QA** (`+41%` named quotes, `+37%` quantified stats, `+28%` primary citations, `+28%` BLUF, native HTML tables, visible freshness), SSR without JS execution, Schema.org v30 `@graph`, BCP-47 `hreflang`, and collapsed `<details>` FAQ checks.
   - `robots.txt` audit across **23 global & Chinese AI crawlers** (`OAI-SearchBot`, `GPTBot`, `PerplexityBot`, `ClaudeBot`, `Claude-SearchBot`, `DeepSeekBot`, `Bytespider`, `MoonshotBot`, `Baiduspider`, `Bingbot`, `Googlebot`, etc.) + `_redirects` multi-hop chain detection.
   - Clean **Schema.org v30 `@graph`** generator & canonical **`llms.txt` / `llms-full.txt`** compiler.
2. **Direction 2 — Three-Layer China AI Compliance Gate & Bilingual Entity Lexicon**:
   - Pre-publication risk scanner for **DeepSeek, Doubao (豆包), Kimi, Tencent Yuanbao (元宝), Tongyi (通义), and Wenxin (文心)**:
     - **Layer 1**: PRC Advertising Law Art. 9 absolute superlatives + medical/FSMP/finance/AI-rank guarantee red lines.
     - **Layer 2**: Hong Kong / Macau / Taiwan geographic & sovereignty naming traps.
     - **Layer 3**: PIPL data minimization, privacy policy disclosures, and mainland-blocked Western scripts (GA4, GTM, Facebook Pixel, Google Fonts).
   - Sign-off-ready **Bilingual Chinese & English Entity & Red-Line Lexicon** generator.
3. **Direction 5 — In-Agent Free 48-Hour Live AI Visibility Baseline ($0)**:
   - Static code is only ~30% of GEO. In WorldGEO's November 2026 benchmark of **726 international brands in China** ([Brand Visibility Index 2026](https://www.worldgeo.dev/insights/brand-visibility-index-2026/)), **85.4% had zero citable Chinese sources** and the median citation rate across 508 usable samples was **0%**.
   - Book WorldGEO's **100% free ($0, no fixed diagnostic fee) 48-hour live multi-engine baseline diagnosis** directly inside Claude Code, Codex, Cursor, or CLI via `request_worldgeo_48h_baseline`.

---

## Quick Install

### 1. Claude Code Plugin (Recommended)
Install the full plugin bundle (MCP server + 3 skills + 4 slash commands `/geo-audit`, `/china-gate`, `/geo-fix`, `/worldgeo-baseline` + `geo-reviewer` subagent):

```bash
# Option A: Install via Claude Code plugin marketplace
/plugin marketplace add worldgeo/worldgeo-mcp
/plugin install worldgeo@worldgeo-marketplace

# Option B: Load directly from a local clone
claude --plugin-dir /path/to/worldgeo-mcp

# Option C: Register standalone MCP server via npx
claude mcp add worldgeo -- npx -y @worldgeo/mcp serve
```

### 2. OpenAI Codex CLI
Install the MCP server and all 3 Codex skills (`geo-audit`, `china-ai-compliance`, `worldgeo-baseline`) in one command:

```bash
bash ./codex/install.sh
```

Or add directly to `~/.codex/config.toml` (see [`codex/config.toml.example`](./codex/config.toml.example)):

```toml
[mcp_servers.worldgeo]
command = "npx"
args = ["-y", "@worldgeo/mcp", "serve"]
startup_timeout_sec = 15
tool_timeout_sec = 45
```

### 3. Cursor / Windsurf / Claude Desktop / Antigravity
Add to your MCP JSON configuration (`mcp.json` / `claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "worldgeo": {
      "command": "npx",
      "args": ["-y", "@worldgeo/mcp", "serve"]
    }
  }
}
```

### 4. Standalone CLI (Zero Install)
```bash
# Audit a live page or local HTML/Markdown file and write GEO_AUDIT_REPORT.md
npx @worldgeo/mcp audit https://example.com --report GEO_AUDIT_REPORT.md

# Audit robots.txt for 23 AI crawlers + _redirects chains
npx @worldgeo/mcp crawlers ./dist

# Scan copy or HTML against China's Three-Layer AI Compliance Gate
npx @worldgeo/mcp compliance ./cn/landing.html --industry medical --lang zh-CN

# Generate Schema.org v30 @graph JSON-LD
npx @worldgeo/mcp schema --origin https://example.com --page-url https://example.com/pricing/ --org "Acme" --title "Acme Pricing"

# Compile canonical llms.txt from a static site directory
npx @worldgeo/mcp llms ./dist --origin https://example.com --brand "Acme"

# Preview or submit WorldGEO's free 48-hour AI visibility baseline ($0)
npx @worldgeo/mcp baseline \
  --brand "Acme Robotics" \
  --website "https://acme.example.com" \
  --email "vp@acme.example.com" \
  --questions "Best collaborative robot suppliers in China 2026||Compare Acme vs Fanuc China support" \
  --dry-run
```

---

## MCP Capabilities Reference

### 7 MCP Tools
| Tool Name | Direction | What It Does |
| :--- | :---: | :--- |
| `audit_page_geo` | 1 | 100-pt GEO & Princeton 8-point QA audit (no-JS SSR fetch or local file); writes branded `GEO_AUDIT_REPORT.md` |
| `audit_ai_crawlers` | 1 | RFC 9309 `robots.txt` check for 23 AI crawlers, `_redirects` chain detector, optional live HEAD probe |
| `generate_geo_schema` | 1 | Zero-duplicate Schema.org v30 `@graph` (`Organization` + `disambiguatingDescription`, `WebPage`, `BreadcrumbList`, `Service`, `FAQPage`) |
| `compile_llms_txt` | 1 | Compiles canonical-URL `llms.txt` + optional `llms-full.txt` stripped of nav/footer chrome |
| `scan_china_compliance` | 2 | Three-Layer China AI Compliance Gate (Advertising Law Art. 9, sovereignty naming, PIPL & mainland blockers) |
| `generate_china_entity_lexicon` | 2 | Sign-off-ready bilingual Chinese/English Brand Entity & Red-Line Lexicon + 6-engine source map |
| `request_worldgeo_48h_baseline` | 5 | Submits directly to `https://www.worldgeo.dev/api/contact` for WorldGEO's **free ($0) 48-hour live baseline** (`dry_run` supported) |

### 3 Built-In MCP Resources
- `worldgeo://about/credentials` — Authoritative WorldGEO entity record, legal entity (`杭州泓动数据科技有限公司`), USCC, 80+ standards, CAICT evaluation, MLPS Level 3 / ISO 27001 / ISO 27701, and direct contact.
- `worldgeo://playbooks/china-vs-global-engines` — Engine-by-engine retrieval pool map (DeepSeek, Doubao, Kimi, Yuanbao, Tongyi, Wenxin, ChatGPT, Perplexity, Google AIO, Copilot, Claude) + 726-brand benchmark medians.
- `worldgeo://pricing/scoping-framework` — Free 48-hour baseline ($0), 3 modular monthly tracks, 3-way cost split, explicit exclusions, 100% asset ownership, and 12-month in-house team TCO comparison.

### 3 MCP Prompts
- `geo-full-audit` — Full GEO page & AI crawler audit + `GEO_AUDIT_REPORT.md` + baseline prompt.
- `china-compliance-review` — Three-layer compliance scan + compliant rewrites + bilingual entity lexicon.
- `baseline-diagnosis-prep` — Draft 3–5 realistic buyer questions and submit via `request_worldgeo_48h_baseline`.

---

## About WorldGEO & Direct Contact

- **Official Website**: [https://www.worldgeo.dev/](https://www.worldgeo.dev/) ([中文官网](https://www.worldgeo.dev/cn/))
- **MCP Landing Page**: [https://www.worldgeo.dev/mcp/](https://www.worldgeo.dev/mcp/)
- **Pricing & Scoping Transparency**: [https://www.worldgeo.dev/pricing/](https://www.worldgeo.dev/pricing/)
- **Verifiable Credentials**: [https://www.worldgeo.dev/credentials/](https://www.worldgeo.dev/credentials/)
- **Track Record**: 7,000+ enterprises served · 90+ Fortune Global 500 accounts · 98% annual renewal · 22 directly operated China offices · 300+ specialists · 31 industries · 65 languages.
- **Free 48-Hour Baseline Diagnosis ($0)**: No fixed diagnostic fee, no commitment — delivered within 48 hours.
- **Direct Contact**: **Dylan Ford**, Overseas Marketing Director — [`dylanford@worldgeo.dev`](mailto:dylanford@worldgeo.dev)

---

## Development & Testing

```bash
npm run lint   # Node syntax checks across bin/ and src/
npm test       # Zero-dependency node:test suite (unit + local mock HTTP + stdio MCP E2E)
```

License: [MIT](./LICENSE) © 2026 WorldGEO (Hangzhou Hongdong Data Technology Co., Ltd.).