Claude Code SEO MCP: Complete Setup Guide
Give Anthropic's Claude Code CLI autonomous search engine optimization powers. Execute technical site audits, competitor teardowns, and client deliverables from your terminal.
Why Claude Code + RankForge Is a Game Changer
Anthropic's Claude Code is an autonomous CLI agent built for developers who live in the terminal. Claude Code has direct access to git, your filesystem, and shell pipelines.
When paired with RankForge MCP:
- Claude Code can audit your local development server or live URL via
rankforge.seo_audit. - It parses the diagnostic findings, identifies missing meta tags or slow assets, and edits the code directly in your local branch.
- It generates client-ready Markdown audit reports and commits them into
docs/with a single command.
Step-by-Step Configuration in claude_desktop_config.json
Add the RankForge server definition to your Claude configuration file (claude_desktop_config.json):
{
"mcpServers": {
"rankforge": {
"url": "https://rankforge-mcp.workers.dev/mcp",
"headers": {
"Authorization": "Bearer YOUR_RANKFORGE_TOKEN"
}
}
}
}
Replace YOUR_RANKFORGE_TOKEN with your secret token from rankforgeapp.pages.dev.
Top 3 Terminal Commands for Claude Code
claude: "analyze competitor domain competitor.com and find top 5 content gaps"
Invokes rankforge.competitor_analysis and prints a clean ASCII gap matrix.
claude: "audit https://rankforgeapp.pages.dev and fix any missing canonical tags in HTML"
Runs live audit, identifies missing tags, and edits local project files autonomously.
claude: "generate a client SEO audit report for client.com and save to docs/client-audit.md"
Runs rankforge.generate_report and writes an executive deliverable in seconds.
Troubleshooting & Docs
• Verify Authentication: If Claude reports an authorization error, check that your token was copied without extra spaces.
• Apify BYOK: Connect your personal Apify key in the dashboard for zero-markup deep crawl compute.
• Full Guide: Read the comprehensive Claude Code Integration Guide.
Power Up Claude Code with RankForge
Free plan includes 10 audits per month. Connect your terminal in under 60 seconds.
Start Free — 10 Audits/mo →