claude-seo-ai
The SEO + AI-search optimization toolkit for Claude Code.
Audit any website on two independent axes — classic Search SEO and AI Visibility (GEO/AEO) — and optionally apply the safe fixes for you.
Two scores, never blended. A page can rank well in Google yet be uncitable by ChatGPT, Perplexity, Google AI Overviews, Gemini, and Claude — or the reverse. claude-seo-ai measures both and tells you exactly what to fix.
🇪🇸 Resumen en español al final · guías completas en docs/es/.
Why
AI answer engines now sit beside classic search as a primary discovery channel, and the rules for being cited differ from the rules for ranking. Most SEO tools treat AI search as a footnote and never write fixes back into your code. This one is built for 2026–2027: honest, agent-native, and able to both diagnose and (opt-in) fix.
It is original work — inspired by the patterns of community SEO tooling but copies no branding, text, or names from any other project. MIT-licensed.
Install
As a Claude Code plugin (recommended):
/plugin marketplace add Hainrixz/claude-seo-ai
/plugin install claude-seo-ai@claude-seo-ai
/reload-plugins
Cross-agent (Cursor, Codex, Gemini CLI, Windsurf…) via Vercel Skills:
npx skills add Hainrixz/claude-seo-ai
The plugin works fully offline (Tier 0, no keys). See Data tiers for optional rendering and API integrations. The skills-only channel ships the Markdown but not the scripts/ acquisition layer — see docs/en/distribution.md.
Usage
/claude-seo-ai:audit <url|path> [--pages N] [--max N] [--render static|auto|js]
[--ua default|googlebot|bingbot|gptbot|oai-searchbot|claude-searchbot]
[--vertical ecommerce,docs] [--environment production|preview|staging|local]
[--feed <path>] [--out <dir>]
/claude-seo-ai:geo <url|path> [--pages N] [--render static|auto|js] [--feed <path>]
[--probe "<question>"] [--gsc-ai-export <csv>]
/claude-seo-ai:score [findings.json | run-dir | latest[:host]]
/claude-seo-ai:compare <urlA> <urlB> [<urlC>…] | --baseline [latest] --against <url|run>
| --staging <url> --prod <url> | <url> --gap "<query>"
/claude-seo-ai:fix <url|path> [--target auto|local|shopify|wordpress|webflow|wix|ghost|hubspot|bigcommerce|instructions]
[--category M5 --category auto] [--include-proposed]
[--project <dir>] [--dev-url <u>] [--run <id>] [--lang en|es]
[--dry-run] [--publish] [--rollback <run_id>] [--force]
audit, geo, score and compare are read-only and never touch your files. fix previews everything by default and writes only after you confirm each change. --render defaults to static, so a run never launches a browser unless you ask. Power users can call any module directly, e.g. /claude-seo-ai:seo-schema-jsonld.
Every audit is persisted under ${CLAUDE_PLUGIN_DATA}/runs/<host>/<run-id>/ — which is why score, compare and fix work from a report on disk instead of "the last audit this session". Full flags and the run layout: docs/en/usage.md.
Works on any site
The audit is the same everywhere. What changes per platform is what the platform already generates for you, what it refuses to let anyone change, and whether a fix can be written back at all — so a four-layer detector (platform · framework · CMS plugins · hosting) writes a profile.json for every run, and the fixer routes each finding to the adapter that owns that surface.