rankforge
Generates Astro-idiomatic fixes for the mechanical SEO issues the audit finds (robots.txt, sitemap conventions, canonicals, viewport, schema), via the get_fix_template tool with --framework astro.
Provides MDX/MDX-based static site conventions for framework fixes and checks around robots.txt and sitemap handling.
Provides Next.js-idiomatic patches for the mechanical SEO issues RankForge detects (robots.txt, sitemap, viewport, canonical, schema), so the agent can apply them directly in a Next.js repo.
Provides Nuxt-idiomatic patches for the mechanical SEO issues the audit surfaces (robots.txt, sitemap, canonical, schema and similar).
Supports React projects via the vite-react framework profile when emitting idiomatic fixes for detected SEO issues.
Provides Remix-idiomatic patches for mechanical SEO findings such as robots.txt, sitemap, viewport and canonical tags.
Provides SvelteKit-idiomatic patches for the mechanical SEO issues found during the audit (robots.txt, sitemap, canonical, schema and more).
Supports Vite (vite-react) projects when generating framework-idiomatic fixes for the SEO issues the audit reports.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rankforgeaudit http://localhost:3000 and fix the SEO issues you find"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
rankforge-cli
Technical SEO + AI-search readiness for your site — measured, not guessed. Run it in your terminal, let your AI editor use it as an agent, or gate your CI with it. No AI required, no API key, no account, nothing phones home.
npx rankforge-cli audit https://your-site.comRankForge audit https://your-site.com/
8 pages · 3.1s · deterministic — no AI, no external API
Score 87/100
metadata ███████████░ 93
indexing █████████░░░ 76
images ████████████ 100
internal-linking ██████████░░ 86
…
Issues (8)
CRITICAL Pages set to noindex (1) → /pricing
MEDIUM Pages missing a canonical URL (2) · fix template
MEDIUM Missing internal links between related pages (8)
AI search readiness 64/100 4 things to improve, run: rankforge geo https://your-site.com/Contents
In your terminal — 30 seconds, nothing to install
In your AI editor (the agent) — Claude Code, Cursor, VS Code, Windsurf, Claude Desktop
In your CI — fail a PR when SEO regresses
In your browser — no install at all
What it checks · AI-search readiness (GEO) · Commands · Troubleshooting
Requires Node.js 18+ (check with node -v). Works on macOS, Linux and Windows — CI runs every commit on all three.
Related MCP server: Web Validator by DigestSEO
1. In your terminal
npx rankforge-cli audit https://your-site.com # full audit
npx rankforge-cli audit http://localhost:3000 # your dev server, before you deploy
npx rankforge-cli geo https://your-site.com # can ChatGPT / Claude / Perplexity cite you?
npx rankforge-cli llms https://your-site.com --out public/llms.txt # generate llms.txt
npx rankforge-cli audit https://your-site.com --html report.html # shareable reportnpx downloads and runs the latest version each time. Using it a lot? Install it once and drop the npx:
npm install -g rankforge-cli
rankforge audit https://your-site.comFix what it finds. Mechanical issues come with a ready, framework-idiomatic patch:
rankforge fix framework-robots-missing --framework nextjs
rankforge fix indexing-canonical-missing --framework astro --url https://your-site.com2. In your AI editor (the agent)
This is where RankForge is most useful: your coding assistant gets RankForge's tools over MCP, audits your site (including localhost), and edits the files in your repo to fix what it finds. RankForge measures; your assistant reasons and writes the code.
It runs locally — no server, no account, no key.
Claude Code
claude mcp add rankforge -- npx -y rankforge-cli mcpWindows (native, not WSL):
claude mcp add rankforge -- cmd /c npx -y rankforge-cli mcp
Check it: claude mcp list should show rankforge … ✓ Connected.
Cursor
~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project):
{
"mcpServers": {
"rankforge": { "command": "npx", "args": ["-y", "rankforge-cli", "mcp"] }
}
}VS Code (Copilot agent mode)
.vscode/mcp.json:
{
"servers": {
"rankforge": { "type": "stdio", "command": "npx", "args": ["-y", "rankforge-cli", "mcp"] }
}
}Windsurf
~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"rankforge": { "command": "npx", "args": ["-y", "rankforge-cli", "mcp"] }
}
}Claude Desktop
Settings → Developer → Edit Config (claude_desktop_config.json):
{
"mcpServers": {
"rankforge": { "command": "npx", "args": ["-y", "rankforge-cli", "mcp"] }
}
}Windows: use
"command": "cmd", "args": ["/c", "npx", "-y", "rankforge-cli", "mcp"], then restart the app.
Then just ask
"Use rankforge to audit http://localhost:3000 and fix everything you can."
"Check whether AI search engines can cite my site, and fix what blocks them."
"Generate an llms.txt for my site and add it to the public folder."
The tools your assistant gets
Tool | What it does |
| Full audit: scores, every issue with evidence and URLs, orphan pages, click depth, link suggestions |
| Fast check of one page while you iterate |
| AI-search readiness: AI crawler access, llms.txt, server-rendered text, citability |
| Builds an llms.txt from your pages |
| Idiomatic patch for a mechanical issue (robots, sitemap, viewport, canonical, schema…) |
| Explains an issue from the RankForge knowledge base |
| The full rule catalog |
3. In your CI (GitHub Action)
Fail a pull request when the score drops, and keep the HTML report as an artifact:
# .github/workflows/seo.yml
name: SEO
on: [pull_request]
jobs:
seo:
runs-on: ubuntu-latest
steps:
- uses: Barbudda/rankforge-cli@v0.2.0
with:
url: https://staging.your-site.com # a deployed preview/staging URL
fail-under: 80 # technical SEO gate
geo-fail-under: 60 # AI-search readiness gate (optional)
report: rankforge-report.html
- uses: actions/upload-artifact@v4
if: always()
with:
name: seo-report
path: rankforge-report.htmlOr without the Action, in any CI: npx rankforge-cli audit "$URL" --fail-under 80 (exit code 1 below the threshold).
4. In your browser
No install: rank-forge-blue.vercel.app/audit runs the same engine on 3 pages of any public URL, free, no signup.
What it checks
~35 deterministic checks in 8 categories. Every finding cites evidence from the page — nothing is inferred by a model.
Metadata — missing/duplicate titles and descriptions, length, OpenGraph & Twitter cards
Indexing — canonicals (missing or pointing elsewhere), accidental
noindex,<html lang>, redirect chains, near-duplicate pagesStructure — H1s, skipped heading levels, thin pages, readability, keyword stuffing, title ↔ content alignment
Images — alt text, dimensions (layout shift), lazy-loading, real byte weights and legacy formats (fetched, not guessed)
Structured data — missing JSON-LD, schema.org blocks missing required properties
Internal linking — orphan pages, click depth, broken links (real HTTP status), generic anchors, related pages that should link to each other
Performance — server response time, render-blocking resources, oversized HTML, mixed content
Framework — robots.txt / sitemap presence and conventions for Next.js, Nuxt, Astro, SvelteKit, Remix, Vite, MDX and static sites
AI-search readiness (GEO)
Answer engines (ChatGPT search, Claude, Perplexity, Gemini, Copilot) can only cite a page they're allowed to fetch, can read without running JavaScript, and can extract a clear answer from. rankforge geo checks all three:
Checks | |
Access | robots.txt rules for 12 AI crawlers, split into search bots (needed to be cited) and training bots (blocking those is a legitimate choice, reported as info) |
Readable |
|
Citable | FAQ/HowTo/Article/Product schema · Organization/Person identity with |
Honest limit: this measures what you control. Whether an engine ends up citing you depends on the engine — nobody outside them can measure or promise that.
Commands
Command | What it does |
| Full technical-SEO audit + AI-search summary |
| AI-search readiness in detail |
| Generate an llms.txt ( |
| Internal-link suggestions, orphan pages, strongest pages |
| Print a ready-to-apply patch ( |
| The rule catalog |
| Run as a local MCP server (for editors) |
Flag | |
| Pages to crawl, breadth-first (default 8, max 24) |
|
|
| Machine-readable output |
| Exit |
| Self-contained HTML report — |
| Skip fetching images/links (faster) |
| Plain output (or |
Troubleshooting
node: command not found/ version errors — install Node 18+ from nodejs.org.Windows: the editor says the MCP server failed to start — use the
cmd /c npx …form shown above; editors can't launchnpxdirectly on Windows."Couldn't reach that site" — the URL must answer over http(s) from your machine. For local sites, start your dev server first.
CI can't audit
localhost— CI runners can't see your laptop. Audit a deployed preview or staging URL there.It doesn't report backlinks / rankings / search volume — by design. Those need data only search engines and paid indexes have; RankForge sticks to what can be measured from your site.
A finding is wrong on your site — that's a bug: please open an issue with the URL.
Develop
git clone https://github.com/Barbudda/rankforge-cli && cd rankforge-cli
npm install
npm test # builds, then runs the end-to-end suite against a local fixture site
node dist/index.js audit https://example.comThe engine lives in src/lib/audit (rules, link graph, content analysis, GEO, fix templates); the CLI in cli/src.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate 18 AI readiness files (llms.txt, ai.txt, RAG indexes, schema) for any website.
Scan and fix your site's AI discoverability: crawler access, llms.txt, JSON-LD. Free.
Free AI-readiness audit of any URL: AI crawler rules, JS-free text, JSON-LD, llms.txt. Tool catalog.
Run SEO + AI-visibility (GEO) audits from Claude, Cursor & other AI clients.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI agents to check whether a public website is crawlable, understandable, and ready for AI search workflows through local-only audits of robots.txt, sitemaps, metadata, and llms.txt.357 npm1MIT
- AlicenseAqualityAmaintenanceEnables AI coding assistants to validate HTML/CSS markup using W3C APIs, perform technical SEO audits, check broken links, and validate JSON-LD schemas directly in local workspaces.8512 npm8MIT
- AlicenseAqualityAmaintenanceEnables AI agents to diagnose and fix technical SEO, content, and generative engine optimization issues by providing 72 tools that integrate Google Search Console, Google Analytics 4, PageSpeed Insights, structured data, llms.txt, WordPress, and GitHub.7213 npm10MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to crawl live websites, audit AEO readiness, generate Schema.org @graph JSON-LD, llms.txt, ai.txt, and robots.txt, inject structured data into HTML, validate optimizations, and retrieve framework-specific code snippets.MIT