What you can do
“Hey Claude, generate an article for the keyword ‘best CRM for startups’ in my Marketing project.” → done.
The AutoRanq MCP (Model Context Protocol) server lets your AI assistant drive the platform directly — list articles, fire generations, tweak prompts, check costs. No REST plumbing, no SDK install, no auth boilerplate. Your AI client and AutoRanq talk to each other.
What you can do
“Hey Claude, generate an article for the keyword ‘best CRM for startups’ in my Marketing project.” → done.
What's underneath
Standard Model Context Protocol over stdio. Same API as the REST API but exposed as tool calls.
Pick your AI client below. Each tab has copy-paste install steps.
The fastest way:
claude mcp add autoranq -- npx -y @autorank/mcp-server \ -e AUTORANK_API_KEY=ar_live_your_key \ -e AUTORANK_API_URL=https://api.autoranq.aiThat writes the config to ~/.claude.json. Restart Claude Code and you’re done.
To verify:
claude mcp list# Expect: autoranq (running)Open Settings → MCP (or press Cmd+Shift+P → “Open MCP Settings”).
Click Add New MCP Server and paste:
{ "mcpServers": { "autoranq": { "command": "npx", "args": ["-y", "@autorank/mcp-server"], "env": { "AUTORANK_API_KEY": "ar_live_your_key", "AUTORANK_API_URL": "https://api.autoranq.ai" } } }}Save and restart Cursor. The AutoRanq tools appear in the MCP panel.
Open the config file:
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
Add (or merge into) mcpServers:
{ "mcpServers": { "autoranq": { "command": "npx", "args": ["-y", "@autorank/mcp-server"], "env": { "AUTORANK_API_KEY": "ar_live_your_key", "AUTORANK_API_URL": "https://api.autoranq.ai" } } }}Quit and restart Claude Desktop (just closing the window isn’t enough — use Claude → Quit from the menu bar).
In a new chat, look for the 🔌 icon in the bottom-right — clicking it shows the AutoRanq tools.
VS Code needs the MCP extension first.
Install the extension.
Open .vscode/settings.json in your workspace (or User Settings) and add:
{ "mcp.servers": { "autoranq": { "command": "npx", "args": ["-y", "@autorank/mcp-server"], "env": { "AUTORANK_API_KEY": "ar_live_your_key", "AUTORANK_API_URL": "https://api.autoranq.ai" } } }}Open the Command Palette (Cmd+Shift+P) → MCP: Restart Servers.
Any MCP-compatible client accepts the same config shape:
{ "mcpServers": { "autoranq": { "command": "npx", "args": ["-y", "@autorank/mcp-server"], "env": { "AUTORANK_API_KEY": "ar_live_your_key", "AUTORANK_API_URL": "https://api.autoranq.ai" } } }}Consult your client’s docs for where to place this. The server itself is identical regardless of host.
Open your AI client and ask:
“List my AutoRanq projects.”
If everything’s wired up, the assistant calls the list_projects tool and shows your projects. If you see an error like “tool not found” or “MCP server not connected”, check the Troubleshooting section.
22 tools across 6 categories — a one-to-one mapping of the public REST API into MCP tool calls. Your AI client decides when to call each.
| Tool | What it does |
|---|---|
list_projects | List all projects in your organization |
get_project | Get a single project by ID |
| Tool | What it does |
|---|---|
list_articles | List articles with optional filters (project, status, format) |
get_article | Get a single article with full content + metadata |
create_article | Create a draft article manually (title + content) |
update_article | Update title, content, status, or metadata of an existing article |
publish_article | Transition a DRAFT/APPROVED article to PUBLISHED |
delete_article | Delete an article |
| Tool | What it does |
|---|---|
list_generations | List recent AI generation jobs with optional filters |
get_generation | Get detailed status, phase, and result of a generation |
generate_article | Trigger a new AI article generation for a keyword |
| Tool | What it does |
|---|---|
list_keywords | List keywords for a project with optional filters |
get_keyword | Get a single keyword with SERP data |
research_keywords | Trigger a keyword research job (seed keywords + location) |
| Tool | What it does |
|---|---|
list_webhooks | List webhook subscriptions for your organization |
get_webhook | Get a single webhook subscription |
create_webhook | Create a new webhook subscription (URL + event types) |
delete_webhook | Revoke an existing webhook |
test_webhook | Fire a test delivery to verify your endpoint |
list_webhook_events | List all available event types you can subscribe to |
| Tool | What it does |
|---|---|
get_system_health | Public API health status |
get_rate_limit | Current rate-limit usage for your API key |
Things your AI client can now do:
article.published and generation.completed.”The MCP server gives you the entire public API surface as tools — your AI client combines them into multi-step workflows automatically.
ar_live_ or ar_test_. See Authentication.AUTORANK_API_URL. Without it, the server hits http://localhost:3001 — production calls fail silently.AUTORANK_API_KEY=ar_live_your_key \AUTORANK_API_URL=https://api.autoranq.ai \npx -y @autorank/mcp-serverCtrl+C to exit).The key was rejected. Common causes:
ar_test_) but pointing at the live API URL — they work together, so this is fine; just double-checkupdate_recipe_step, create_prompt) need write scope; read-only keys get 403. See Authentication → Scopes.Default tool-call timeout is 30 seconds. Heavy operations like test_recipe (which fires a real generation) can take longer. If you hit timeouts:
test_single_step instead for faster iterationPOST /generate via the REST API and use list_generations to poll status separatelyYou forgot the env block in your client config. Re-check the install steps above — the API key MUST be passed via env, not as a tool argument.