API & AI Agent Integration
Outpacer includes a full REST API and an MCP (Model Context Protocol) server that lets AI assistants like Claude, ChatGPT, or custom agents manage your entire SEO operation through natural conversation.
What You Can Automate
With the API or MCP, an AI agent can:
- Add and configure websites
- Generate 30-day content plans
- Create, edit, and rewrite articles
- Approve and publish content to your CMS
- Research keywords with volume and difficulty data
- Build interactive SEO tools (calculators, quizzes, etc.)
- Pull analytics, rankings, and usage data
After setup, you can say things like "Generate a content plan for my site" or "Publish all approved articles" and your agent handles it.
Step 1: Generate an API Key
- Go to Dashboard > Settings > API Keys
- Click Generate API Key and give it a name
- Copy the key immediately — it won't be shown again
- Store it securely (environment variable, password manager, etc.)
Step 2: Connect via MCP (Recommended)
MCP is the easiest way to connect an AI agent to Outpacer. It works with Claude Desktop, Claude Code, and any MCP-compatible client.
Install the Outpacer MCP server:
``bash
cd your-project/mcp
npm install
npm run build
`
Add to your Claude Desktop config (claude_desktop_config.json):
`json
{
"mcpServers": {
"outpacer": {
"command": "node",
"args": ["path/to/mcp/dist/outpacer-server.js"],
"env": {
"OUTPACER_API_URL": "https://www.outpacer.ai",
"OUTPACER_API_KEY": "your-api-key-here"
}
}
}
}
`
Once configured, Claude will have access to all 19 Outpacer tools and can manage your SEO on command.
Step 3: Start Using It
Here are example conversations you can have with your AI agent:
Content Management:
- "List all my websites on Outpacer"
- "Add myblog.com as a WordPress site called My Blog"
- "Generate a 30-day content plan for My Blog"
- "Generate an article targeting 'best pressure washers 2026'"
> Important: When adding a website via the API, always include the industry field (e.g. "industry": "power washing", "industry": "vacation rentals"). This ensures content plans target the right keywords. If industry is omitted, Outpacer will crawl your homepage to detect it automatically, but setting it explicitly produces better results.
Article Workflow:
- "Show me all draft articles"
- "Rewrite the introduction of article X to be more engaging"
- "Approve and publish article X"
- "Refresh my article about SEO tips with updated data"
Research & Analytics:
- "Research the keyword 'content marketing ROI'"
- "Show me keyword rankings for my site"
- "What's my usage this month?"
Tools:
- "Suggest interactive tools for my site"
- "Build a cost calculator targeting 'pressure washing cost'"
Available MCP Tools
| Tool | Description |
|------|-------------|
| outpacer_list_websites | List all websites in your organization |
| outpacer_get_website | Get details for a specific website |
| outpacer_add_website | Add a new website |
| outpacer_update_website | Update website settings |
| outpacer_list_articles | List articles (filter by website/status) |
| outpacer_get_article | Get full article content and metadata |
| outpacer_generate_article | Generate a new article for a keyword |
| outpacer_edit_article | Edit an article's title or content |
| outpacer_approve_article | Approve an article for publishing |
| outpacer_publish_article | Publish to connected CMS |
| outpacer_rewrite_section | AI-rewrite a specific section |
| outpacer_refresh_article | Refresh with updated SERP analysis |
| outpacer_get_content_plan | Get the current content plan |
| outpacer_generate_plan | Generate a new 30-day plan |
| outpacer_generate_tool | Build an interactive SEO tool |
| outpacer_suggest_tools | Get AI tool suggestions for your niche |
| outpacer_get_analytics | Get usage and keyword rankings |
| outpacer_search_keywords | Research a keyword (volume, difficulty, CPC) |
| outpacer_get_usage | Get current billing/usage summary |
Direct API Access
If you prefer to integrate directly without MCP, every tool maps to a REST API endpoint. All API-key-authenticated endpoints are under /api/v1/. Include your API key as a Bearer token:
`bash
curl -H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
https://www.outpacer.ai/api/v1/websites
`
> Important: Always use https://www.outpacer.ai (with www) and /api/v1/ paths. The base /api/` routes require browser session auth and won't work with API keys.
See the API Reference doc for full endpoint documentation.