vibe-seo MCP Server
by mghco
README.md
<div align="center">
# ⚡ vibe-seo
### Your vibe-coded site is invisible to Google & AI Search. Audit and fix it in 10 seconds.
[](LICENSE)
[](package.json)
[](#quick-start)
[](#mcp-server-setup)
[](SKILL.md)
[](https://mghdotco.ir)
**[Quick Start](#-quick-start)** • **[MCP Server](#-mcp-server-setup)** • **[Agent Skill](SKILL.md)** • **[Cloudflare Edge Worker](#%EF%B8%8F-cloudflare-worker-edge-fixer)** • **[Done-For-You SEO](https://mghdotco.ir)**
</div>
---
## 🚨 Why `vibe-seo` Exists
Apps built with **Cursor, Lovable, Bolt, v0, Replit, or Claude Code** ship in hours — and almost always launch completely invisible to Google, ChatGPT Search, Perplexity, and Claude because of:
1. **Empty CSR/SPA HTML shells** (`<div id="root"></div>`) that AI crawlers read as blank pages.
2. **Missing `/llms.txt`** and broken AI crawler rules in `robots.txt`.
3. **Zero Schema.org JSON-LD** for entity verification.
4. **Accidental staging `noindex` tags**, missing canonicals, and broken OpenGraph cards.
**`vibe-seo`** is an all-in-one, **zero-dependency** toolkit:
- 🖥️ **CLI Auditor & Sitemap Crawler** (`--crawl 15`)
- 🛠️ **One-Command Fix Pack Generator** (`--fix` → `llms.txt`, `robots.txt`, `JSON-LD`)
- 🤖 **Native MCP Server** for Claude Code, Cursor, Windsurf & Gemini CLI
- 🧠 **Drop-in `SKILL.md`** for AI coding agents
- ☁️ **Cloudflare Worker Edge Fixer** (`HTMLRewriter` injection without touching your app)
- 🏷️ **Dynamic SVG Score Badge** (`--badge`) for your README
---
## ✨ 13 High-Impact Signals Checked
| Category | What `vibe-seo` Audits |
| :--- | :--- |
| **Vibe-Coding Traps** | Empty CSR/SPA `<div id="root"></div>` hydration shells, accidental staging `noindex` tags |
| **GEO / AI Search** | `/llms.txt` spec compliance, `JSON-LD` Schema validation, AI bot access (`GPTBot`, `OAI-SearchBot`, `ClaudeBot`, `PerplexityBot`, `Google-Extended`), semantic landmarks (`<main>`, `<article>`) |
| **Technical SEO** | Title & Meta Description lengths, Canonical URL, single `<h1>`, OpenGraph & Twitter Cards, `/sitemap.xml`, Mobile Viewport |
---
## 🚀 Quick Start
Zero dependencies. Runs natively on Node.js 18+:
```bash
git clone https://github.com/mghco/vibe-seo.git
cd vibe-seo
# 1. Audit any live URL
node src/cli.js https://example.com
# 2. Crawl & audit up to 15 URLs from sitemap.xml
node src/cli.js https://example.com --crawl 15
# 3. Auto-generate llms.txt, robots.txt, JSON-LD + SVG README badge
node src/cli.js https://example.com --fix --badge
# 4. Run as a CI/CD quality gate
node src/cli.js https://example.com --min-score 80 --markdown
```
### Sample Terminal Scorecard
```text
⚡ VIBE-SEO SCORECARD https://my-vibe-app.vercel.app
──────────────────────────────────────────────────────────────────
Overall Score : 42/100 (F)
Breakdown : Technical 56% | GEO/AI 21% | Vibe-Safety 42%
──────────────────────────────────────────────────────────────────
[FAIL] SSR / Non-Empty HTML Shell (vibe)
Empty SPA root shell detected (12 words in raw HTML). AI crawlers see a blank page.
Fix: Enable SSR/SSG or prerender critical routes via Cloudflare Workers.
[FAIL] AI Discovery File (/llms.txt) (geo)
Missing /llms.txt — AI agents cannot quickly map your product & docs.
Fix: Run `vibe-seo <url> --fix` to generate a spec-compliant /llms.txt.
[FAIL] JSON-LD Structured Data (Schema.org) (geo)
No JSON-LD Schema markup found.
```
---
## 🤖 MCP Server Setup (Claude Code, Cursor, Windsurf, Gemini CLI)
Connect `vibe-seo` directly to your AI coding agent so it can **audit your site and patch SEO/GEO issues autonomously**:
```json
{
"mcpServers": {
"vibe-seo": {
"command": "node",
"args": ["/absolute/path/to/vibe-seo/src/mcp.js"]
}
}
}
```
### Exposed MCP Tools
| Tool | Description |
| :--- | :--- |
| `audit_url` | Full Technical SEO, GEO, and Vibe-Coding trap audit for a single URL |
| `crawl_site` | Crawls `/sitemap.xml` and returns average score + worst-performing pages |
| `generate_fix_pack` | Returns ready-to-write `llms.txt`, `robots.txt`, and `JSON-LD` markup |
---
## 🧠 Use as an AI Agent Skill (`SKILL.md`)
Drop [`SKILL.md`](SKILL.md) into your Claude Code, Cursor, or Codex skills directory to teach your coding agent a complete Technical SEO + GEO remediation workflow out of the box.
---
## ☁️ Cloudflare Worker Edge Fixer
Can't rewrite your SPA right now? Deploy [`cloudflare/llms-edge-worker.js`](cloudflare/llms-edge-worker.js) on Cloudflare Workers to:
1. Serve `/llms.txt` directly from the edge.
2. Inject missing `<link rel="canonical">` and `JSON-LD` Schema into HTML responses using `HTMLRewriter`.
---
## 🛡️ GitHub Actions CI/CD Gate
Copy [`examples/vibe-seo-check.yml`](examples/vibe-seo-check.yml) into `.github/workflows/` to block SEO & AI-visibility regressions before merging to `main`.
---
## 💼 Want Production Technical SEO, GEO & Semi-Agentic Growth?
`vibe-seo` catches the technical blockers automatically — but **ranking #1 on Google and getting cited by ChatGPT, Perplexity, and Gemini** requires topical authority, Search Console CTR engineering, internal link architecture, and ongoing execution.
**[MGHCO (mghdotco.ir)](https://mghdotco.ir)** builds and scales organic growth systems for SaaS, startups, and vibe-coded products:
| Service / Package | Best For | Details |
| :--- | :--- | :--- |
| **Foundation Semi-Agentic SEO** | New launches & indie vibe-coded apps | Technical SEO fixes, GSC indexing & core schema setup → **[View on mghdotco.ir](https://mghdotco.ir)** |
| **Growth Semi-Agentic SEO** | Scaling startups & content-led products | AI-assisted + human-supervised topical authority, CTR optimization & GEO → **[View on mghdotco.ir](https://mghdotco.ir)** |
| **Market Domination** | High-competition commercial niches | Full-stack technical SEO, custom Cloudflare edge SEO, linkable widgets & authority engineering → **[View on mghdotco.ir](https://mghdotco.ir)** |
👉 **Explore plans, case studies, and book an audit at [https://mghdotco.ir](https://mghdotco.ir)**
---
## ⭐ Support the Project
If `vibe-seo` caught a bug before your launch, **leave a ⭐ Star** — it helps other builders discover the toolkit!
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues