New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@rankcli/cli

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rankcli/cli

RankCLI - Ship code, get ranked. SEO meets CI/CD.

npmnpm
Version
0.0.22
Version published
Weekly downloads
1.9K
86.11%
Maintainers
1
Weekly downloads
 
Created
Source

RankCLI

The only SEO tool with GEO (AI Search Optimization) and MCP for AI assistants.

Developer-first SEO. CLI-native. Optimizes for Google and ChatGPT, Perplexity, Claude.

Why RankCLI?

FeatureRankCLICompetitors
GEO (AI Search)✅ Check if GPTBot/ClaudeBot can crawl❌
MCP Server✅ AI assistants can run audits❌
Framework Fixes✅ 25+ frameworks❌
CLI/CI Native✅ Built for developers❌
PriceFrom $9/mo$99-500/mo

Installation

npm install -g @rankcli/cli
# or
pnpm add -g @rankcli/cli

Verify:

rankcli --version

Quick Start

# Run an SEO audit
rankcli audit --url https://yoursite.com

# Login to unlock all features
rankcli login

# Full 280+ check audit
rankcli audit --url https://yoursite.com --max-pages 5

Core Features

🤖 GEO (Generative Engine Optimization)

Check if AI crawlers can access your site:

rankcli audit --url https://yoursite.com --geo

Analyzes:

  • AI crawler access: GPTBot, ClaudeBot, PerplexityBot, Google-Extended
  • JS rendering: Can AI crawlers see your content?
  • LLM signals: Content structure, citations, FAQ extraction
  • robots.txt: Are you blocking AI search?

🔌 MCP Server (For AI Assistants)

Let Claude, Cursor, or any MCP-compatible AI run SEO audits for you. No installation required — just add your API key:

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

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

Get your API key at rankcli.dev/dashboard.

Available tools:

  • seo_audit — Full 280+ check audit on any URL
  • seo_geo_check — AI search visibility analysis
  • seo_robots_check — AI crawler permissions in robots.txt
  • seo_compare — Compare SEO metrics between two URLs

Now just ask Claude: "Run an SEO audit on example.com" ✨

🔧 Framework-Specific Fixes

Auto-generate fixes for 25+ frameworks:

rankcli apply --url https://mysite.com

Supported frameworks:

  • JS/TS: React, Next.js (App/Pages), Vue, Nuxt, Angular, Svelte, SvelteKit, Astro, Remix, Gatsby, Solid.js, Qwik
  • Backend: Rails, Django, Laravel, Spring Boot, ASP.NET Core, Phoenix, Go (Gin/Echo/Fiber)
  • SSG: Hugo, Jekyll, Eleventy, Pelican
  • Hypermedia: HTMX, Hotwire/Turbo

📊 7 Deep Analyzers

AnalyzerWhat It Does
GEOAI crawler access, LLM signals, citation readiness
Core Web VitalsLCP, CLS, INP, TTFB estimation
Security HeadersHTTPS, HSTS, CSP (A+ to F grading)
Structured DataJSON-LD validation, rich results
ImagesAlt text, dimensions, modern formats
Internal LinksAnchor text, orphan detection
Mobile SEOViewport, touch targets, PWA

Commands

rankcli audit

Run comprehensive SEO audit (280+ checks).

rankcli audit [options]

Options:
  -u, --url <url>           URL to audit
  -o, --output <format>     Output: json, console (default: console)
  --max-pages <n>           Max pages to crawl (default: 5)
  --geo                     Include GEO analysis
  --check-links             Check broken links
  --ai                      AI-powered analysis

rankcli apply

Generate and apply framework-specific fixes.

rankcli apply --url https://mysite.com --dry-run   # Preview
rankcli apply --url https://mysite.com --auto      # Auto-apply

rankcli keywords

AI-powered keyword research.

rankcli keywords --url https://mysite.com --ai
rankcli keywords --competitor -c 'competitor.com' -s 'target keyword'

rankcli content

Content analysis for readability and snippets.

rankcli content --url https://mysite.com/blog --keyword 'seo tips'

Authentication

# Interactive login
rankcli login

# API key (for CI/CD)
rankcli login --token rankcli_your_api_key

# Or environment variable
export RANKCLI_API_KEY=rankcli_your_api_key

CI/CD Integration

GitHub Actions

name: SEO Audit
on: [push, pull_request]

jobs:
  audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: npm install -g @rankcli/cli
      - run: rankcli audit --url ${{ secrets.SITE_URL }} -o json > audit.json
        env:
          RANKCLI_API_KEY: ${{ secrets.RANKCLI_API_KEY }}
      - name: Fail on critical issues
        run: |
          errors=$(jq '.issues | map(select(.severity == "error")) | length' audit.json)
          [ "$errors" -eq 0 ] || exit 1

Environment Variables

VariableDescription
RANKCLI_API_KEYAPI key for authentication
OPENAI_API_KEYOpenAI API key for AI features
ANTHROPIC_API_KEYAnthropic API key (alternative)

Pricing

FeatureFreeSolo+ (from $9/mo)
SEO Checks100280+
GEO AnalysisBasicFull
Framework Fixes-✅ 25+
Auto-Fix PRs-✅
Sites110

License

MIT

Keywords

seo

FAQs

Package last updated on 04 Sep 2026

Related posts