← All framework & vibe-builder guides

Cursor & Claude Code SEO & GEO: common traps and how to fix them

Give Cursor, Claude Code, and Windsurf live SEO & GEO guardrails via MCP + Agent Skills. Built on Any framework (Next.js, Vite/React, Astro, SvelteKit, Nuxt, Rails, Laravel, Django). Cursor & Claude Code defaults to server rendering, so your main SEO/GEO job is keeping metadata, sitemaps, and AI crawler policies clean.

3 checks
1 rated error
Vibe-coding / AI builder
SSR by default

Run all of these against your own site, free and without an account:

npx @rankcli/cli audit -u https://your-site.dev
Vibe-Coding & AI Assistant Guardrails

Drop these Cursor & Claude Code SEO & GEO rules into your AI coding assistant

Paste into .cursorrules / CLAUDE.md / AGENTS.md so Cursor, Claude Code, Lovable, Bolt, or v0 never ships empty HTML, duplicate meta tags, or blocked AI crawlers.

Free · MIT · No Signup
.cursorrules / CLAUDE.md / AGENTS.md
# SEO & GEO Guardrails (Cursor / Claude Code / AGENTS.md)
- Before finishing any feature that adds/modifies public routes, metadata, head tags, or robots.txt, run the RankCLI MCP tool (`rankcli_audit` / `rankcli_ai_crawler_check`) or `npx @rankcli/cli audit -u <url>`.
- Never duplicate per-page meta/OG/Twitter/canonical tags across index.html and a head manager.
- Never invent phone numbers, street addresses, star ratings, or external social links in JSON-LD.
- Keep `/robots.txt` explicitly allowing `OAI-SearchBot`, `Claude-SearchBot`, and `PerplexityBot`, and maintain `/sitemap.xml` and `/llms.txt`.
- Install framework skills: `npx skills add integrallis/rankcli`.
Connect RankCLI MCP (zero signup)
{
  "mcpServers": {
    "rankcli": {
      "url": "https://mcp.rankcli.dev/mcp/free"
    }
  }
}
Install RankCLI Agent Skills
npx skills add integrallis/rankcli

Claude Code plugin (all 12 skills + MCP):

/plugin marketplace add integrallis/rankcli
/plugin install rankcli@rankcli

Works with Claude Code, Cursor, Codex, Windsurf, Cline, and Gemini CLI via skills.sh/integrallis/rankcli.

Where Cursor & Claude Code makes SEO harder

  • •AI coding agents optimize for visual UI and often ship missing canonicals, duplicate meta tags, or broken og:image paths
  • •Without a guardrail rule in CLAUDE.md or .cursorrules, refactors silently drop JSON-LD schema or robots.txt directives
  • •Agents cannot see live AI crawler blocks (Cloudflare WAF 403s on OAI-SearchBot/Claude-SearchBot) without probing the live URL

What Cursor & Claude Code gives you for free

  • •Native MCP support connects Cursor and Claude Code directly to RankCLI's 280+ audit checks and GEO Evidence Engine
  • •Installable Agent Skills (`npx skills add integrallis/rankcli`) teach your assistant framework-idiomatic SEO & GEO fixes
  • •Local CLI (`npx @rankcli/cli audit`) lets agents verify fixes in a tight feedback loop before committing

The checks

notice
MCP_NOT_CONNECTED

Connect RankCLI MCP Server so your AI assistant audits live pages automatically

Instead of guessing whether your metadata, canonicals, JSON-LD, or AI crawler headers work in production, connect RankCLI's zero-signup public MCP server (13 tools) or hosted OAuth MCP server.

Add RankCLI to .cursor/mcp.json or Claude Code (claude mcp add):

{
  "mcpServers": {
    "rankcli": {
      "url": "https://mcp.rankcli.dev/mcp/free"
    }
  }
}

Or install the Agent Skills pack directly:

npx skills add integrallis/rankcli
warning
SEO_CI_REGRESSION

Guard every AI-generated PR with a GitHub Action SEO gate

Fast AI-assisted iteration can accidentally remove titles, break sitemaps, or add `noindex` to production branches.

Add integrallis/rankcli-action@v1 to .github/workflows/seo.yml so every PR reports SEO & AI crawler regressions before merge:

- uses: integrallis/rankcli-action@v1
  with:
    url: https://yourdomain.com
    fail-on: error
error
AI_CRAWLER_BLOCKED

Verify live AI-crawler access (OAI-SearchBot, Claude-SearchBot, PerplexityBot)

Your code may look clean locally while Cloudflare or Vercel WAF blocks AI answer crawlers in production.

Run npx @rankcli/cli audit -u https://yourdomain.com (or ask your assistant via MCP: "Check if ChatGPT, Claude, and Perplexity can crawl my site") to verify live HTTP responses for every crawler class.

Check or auto-fix your Cursor & Claude Code site

280+ SEO & AI-search checks including every one above — plus a copy-paste AI fix prompt or 1 free GitHub Auto-Fix PR.