A free SEO research tool using Model Context Protocol (MCP) powered by Ahrefs data. Get backlink analysis, keyword research, traffic estimation, and more — directly in your AI-powered IDE.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"dataseo-mcp": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
DataSEO MCP is a Model Context Protocol server for practical SEO research in AI assistants. It combines Ahrefs free SEO data, CAPTCHA-provider fallback, and optional OpenRouter-powered query planning behind a small set of MCP tools.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml / marketing
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
An open-source AI agent that brings the power of Gemini directly into your terminal.
Just a Better Chatbot. Powered by Agent & MCP & Workflows.
MCP Security Weekly
Get CVE alerts and security updates for Dataseo Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
DataSEO MCP is a Model Context Protocol server for practical SEO research in AI assistants. It combines Ahrefs free SEO data, CAPTCHA-provider fallback, and optional OpenRouter-powered query planning behind a small set of MCP tools.
[!CAUTION] This project is for educational and research purposes only. It interacts with third-party services including Ahrefs, CapSolver, Anti-Captcha, and OpenRouter. Users are responsible for complying with all applicable terms of service.
| Tool | Purpose | Example prompt |
|---|---|---|
get_backlinks_list | Backlink overview and top backlink rows | "Show backlinks for suparank.io" |
keyword_generator | Keyword and question ideas | "Find SaaS SEO keywords for onboarding" |
get_traffic | Organic traffic estimates | "Estimate traffic for ege.md" |
keyword_difficulty | KD and SERP snapshot | "Check difficulty for AI SEO tools" |
ai_search_queries | AI query ideas by search intent | "Generate AI search queries for SaaS SEO" |
domain_overview | One-domain backlink + traffic summary | "Summarize suparank.io" |
compare_domains | Compare 2-5 domains | "Compare suparank.io and ahrefs.com" |
backlink_opportunities | Competitor backlink source gaps | "Find backlink gaps for my domain" |
seo_content_brief | SERP + AI-assisted content brief | "Create a content brief for AI SEO audit" |
DataSEO MCP is maintained by Ege Bese. For AI SEO and rank-tracking workflows, see Suparank.
uvx --python 3.10 dataseo-mcp
For local development:
git clone https://github.com/egebese/dataseo-mcp.git
cd dataseo-mcp
uv sync
uv run dataseo-mcp
The legacy seo-mcp command is still exposed as a compatibility alias.
At least one CAPTCHA provider is required for Ahrefs-backed tools:
export CAPSOLVER_API_KEY="your-capsolver-key"
# or
export ANTICAPTCHA_API_KEY="your-anticaptcha-key"
If both are configured, CapSolver is tried first and Anti-Captcha is used as fallback. AI tools are optional:
export OPENROUTER_API_KEY="your-openrouter-key"
export OPENROUTER_MODEL="openai/gpt-4o-mini" # optional
Useful runtime overrides:
| Variable | Default | Purpose |
|---|---|---|
DATASEO_CACHE_DIR | ~/.cache/dataseo-mcp | Signature cache location |
DATASEO_REQUEST_TIMEOUT | 30 | HTTP timeout in seconds |
DATASEO_MAX_POLLING_ATTEMPTS | 120 | CAPTCHA polling cap |
OPENROUTER_BASE_URL | https://openrouter.ai/api/v1 | OpenAI-compatible AI endpoint |
Claude Desktop / Cursor-style config:
{
"mcpServers": {
"dataseo": {
"command": "uvx",
"args": ["--python", "3.10", "dataseo-mcp"],
"env": {
"CAPSOLVER_API_KEY": "YOUR_CAPSOLVER_KEY",
"ANTICAPTCHA_API_KEY": "YOUR_ANTICAPTCHA_KEY",
"OPENROUTER_API_KEY": "YOUR_OPENROUTER_KEY"
}
}
}
}
Claude Code:
claude mcp add dataseo --scope user -- uvx --python 3.10 dataseo-mcp
VS Code MCP config:
{
"servers": {
"dataseo": {
"command": "uvx",
"args": ["--python", "3.10", "dataseo-mcp"],
"env": {
"CAPSOLVER_API_KEY": "YOUR_CAPSOLVER_KEY"
}
}
}
}
Only one CAPTCHA provider key is required. Add OPENROUTER_API_KEY only when
you want AI-assisted query generation or content briefs.
get_backlinks_list(domain)Returns:
{
"overview": {
"domainRating": 76,
"backlinks": 1500,
"refDomains": 300
},
"backlinks": [
{
"anchor": "DataSEO MCP",
"domainRating": 76,
"title": "Example page",
"urlFrom": "https://source.example/page",
"urlTo": "https://example.com/page",
"edu": false,
"gov": false
}
]
}
keyword_generator(keyword, country="us", search_engine="Google")Returns keyword and question ideas in the existing label / `va