RankCLI

Free, local SEO + GEO audits for AI assistants - no signup, nothing leaves your machine.

AI & MLTypeScriptv0.0.22

@rankcli/mcp-server

Free, local SEO + GEO (AI-search-citation) analysis as an MCP tool. No signup, no API key, nothing sent to RankCLI's servers — it runs entirely inside your MCP host (Claude Code, Claude Desktop, Cursor, etc.) against HTML you already have or that your host fetches for you.

Install

Add to Cursor Add to VS Code

Claude Desktop — download the latest .mcpb from Releases and double-click it. No config file, no terminal.

Claude Code — one line, no config file:

claude mcp add rankcli -- npx -y @rankcli/mcp-server

Anything else (Claude Desktop, Codex, Windsurf) — the standard config block:

{
  "mcpServers": {
    "rankcli": {
      "command": "npx",
      "args": ["-y", "@rankcli/mcp-server"]
    }
  }
}

Claude Desktop config path (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "rankcli": {
      "command": "npx",
      "args": ["@rankcli/mcp-server"]
    }
  }
}

Available Tools

ToolDescription
seo_analyzeFull SEO analysis: GEO, Core Web Vitals, structured data, security headers, mobile, images, internal linking
seo_geo_checkAI search visibility (GEO) — crawler access, LLM content signals, citation readiness
seo_robots_aiWhich AI crawlers (GPTBot, ClaudeBot, PerplexityBot, etc.) your robots.txt allows or blocks
seo_generate_robotsGenerate an AI-crawler-friendly robots.txt
seo_core_web_vitalsEstimate LCP, CLS, INP, TTFB from HTML
seo_structured_dataValidate JSON-LD / Schema.org markup
seo_generate_schemaGenerate a JSON-LD template for a page type
seo_security_headersGrade HTTPS, HSTS, CSP, and related headers
seo_generate_security_headersGenerate recommended security header config
seo_imagesAlt text, dimensions, formats, lazy loading
seo_internal_linksAnchor text quality, orphan-page risk
seo_mobileViewport, touch targets, PWA readiness
seo_ai_crawlersReference list of known AI crawler user agents

Example

Just ask Claude:

"Run an SEO audit on https://example.com"

Your MCP host fetches the page and Claude calls these tools directly — nothing round-trips through RankCLI.

Want more?

This local server works from HTML/robots.txt you or your MCP host supply. For URL-only tools that fetch and crawl for you (seo_audit, seo_geo_check, seo_robots_check, seo_compare), plus the newer Cloudflare AI-crawler-gating compliance check, CI/CD scheduling, and auto-fix PRs, see the hosted endpoint and paid tiers:

{
  "mcpServers": {
    "rankcli-hosted": {
      "url": "https://rankcli-audit-worker.fly.dev/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Get a free API key at rankcli.dev/dashboard.

Links

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y @rankcli/mcp-server

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-integrallis-rankcli-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@rankcli/mcp-server"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

@rankcli/mcp-servernpm

Compatible MCP Clients

RankCLI works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More