
theseoagent-mcp
io.github.jeremy665/theseoagent-mcp
MCP server for The SEO Agent: keyword research, SEO audits, cited articles, and CMS publishing.
Documentation
theseoagent-mcp
The SEO Agent as MCP tools. Plug it into Claude Code, Claude Desktop, or Cursor and your agent can run real keyword research, deep SEO audits, daily fact-checked article generation, and one-click CMS publishing as native tool calls.
No scraping, no estimates. The tools hit the same live API the product runs on: real keyword data, full-crawl audits with AI-content scoring, articles that go through a fact-check and quality gate before they exist, and native publishing to WordPress, Webflow, Shopify, Wix, Ghost, or a webhook.
Install
You need Node 18+ and an API key (see Getting a key).
Claude Code
claude mcp add theseoagent -e THESEOAGENT_API_KEY=sk_live_... -- npx -y theseoagent-mcp
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"theseoagent": {
"command": "npx",
"args": ["-y", "theseoagent-mcp"],
"env": {
"THESEOAGENT_API_KEY": "sk_live_..."
}
}
}
}
Cursor
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"theseoagent": {
"command": "npx",
"args": ["-y", "theseoagent-mcp"],
"env": {
"THESEOAGENT_API_KEY": "sk_live_..."
}
}
}
}
Tools
| Tool | What it does | Caps |
|---|---|---|
list_projects | List your projects (sites) with id, domain, status. | - |
list_articles | List generated articles (title, slug, status, word count, scores, published URL) with cursor pagination. | - |
get_article | Fetch one article by id, including full markdown/HTML content and meta description. | - |
generate_article | Queue a fact-checked article for a keyword and poll to completion (up to 20 min). | 1 article / project / day |
keyword_research | Run the full keyword pipeline on a project: live keyword data, clustering, article planning. | 10 runs / day |
run_audit | Deep SEO audit of any domain. Returns a shareable report URL. | 5 audits / day |
publish_article | Push a generated article to the project's connected CMS. Synchronous. | - |
Long-running tools (generate_article, keyword_research, run_audit) poll the job server-side and send MCP progress notifications while they wait. If a job outlives the polling window, the tool returns the job_id and poll_url so you can check on it later instead of losing the run.
Getting a key
- Create an account at theseoagent.ai/signup and start the trial.
- Mint a key (org admin only) at theseoagent.ai/settings/api-keys. The key is shown once, so copy it then.
- Set it as
THESEOAGENT_API_KEY(formatsk_live_...).
API calls need an active plan: $1 for a 3-day trial, then $99/mo. Cancel in-app, instantly, no email required. Without a key the server still starts and lists its tools, so you can check the setup first.
Configuration
| Env var | Required | Default | What it does |
|---|---|---|---|
THESEOAGENT_API_KEY | Yes (for tool calls) | - | Your sk_live_... API key. The server starts without it, but every tool call will tell you to set it. |
THESEOAGENT_API_BASE | No | https://www.theseoagent.ai/api/v1 | Override the API base URL. You almost never want this. |
Example prompts
Once the server is connected, ask your agent things like:
- "List my SEO Agent projects."
- "Run an SEO audit on example.com and give me the report link."
- "Run keyword research on my project, then write an article for the best keyword."
- "Publish the article you just generated to my site."
Raw REST API
Everything these tools do is also available as plain REST: theseoagent.ai/docs/api.
Version history
See CHANGELOG.md.
License
MIT
theseoagent-mcpnpm install theseoagent-mcp