Provides SEO research capabilities including keyword difficulty analysis, keyword generation, traffic estimation, and backlink analysis using data from search engines.
SEO Research MCP
Free SEO research tools for AI-powered IDEs
Features • Installation • IDE Setup • API Reference • Contributing • Credits
⚠️ Educational Use Only
This project is for educational and research purposes only.
This tool interfaces with third-party services (Ahrefs, CapSolver)
Users must comply with all applicable terms of service
The authors do not endorse any use that violates third-party ToS
Use responsibly and at your own risk
By using this software, you acknowledge that you understand and accept these terms.
🎯 What is this?
SEO Research MCP brings powerful SEO research capabilities directly into your AI coding assistant. Using the Model Context Protocol (MCP), it connects your IDE to Ahrefs' SEO data, allowing you to:
Research competitor backlinks while coding
Generate keyword ideas without leaving your editor
Analyze traffic patterns for any website
Check keyword difficulty before creating content
✨ Features
Feature | Description | Example Use |
🔗 Backlink Analysis | Domain rating, anchor text, edu/gov links | "Show me backlinks for competitor.com" |
🔑 Keyword Research | Generate ideas from seed keywords | "Find keywords related to 'python tutorial'" |
📊 Traffic Analysis | Monthly traffic, top pages, countries | "What's the traffic for example.com?" |
📈 Keyword Difficulty | KD score with full SERP breakdown | "How hard is 'best laptop 2025' to rank for?" |
📋 Prerequisites
Before you start, you'll need:
Python 3.10 or higher
python --version # Should be 3.10+CapSolver API Key (for CAPTCHA solving)
📦 Installation
Option 1: From PyPI (Recommended)
Or using uv:
Option 2: From Source
🛠️ IDE Setup Guides
Choose your IDE and follow the setup instructions:
Step 1: Open Config File
Open Claude Desktop
Go to Settings → Developer → Edit Config
Step 2: Add Configuration
Add this to your claude_desktop_config.json:
Step 3: Restart & Verify
Restart Claude Desktop
Look for the hammer/tools icon in the bottom-right corner
📁 Config file locations:
OS | Path |
macOS |
|
Windows |
|
Option A: Quick Setup (CLI)
Option B: Config File
Add to ~/.claude.json:
Verify Installation
Global Setup (All Projects)
Create ~/.cursor/mcp.json:
Project Setup (Single Project)
Create .cursor/mcp.json in your project root with the same content.
Verify Installation
Go to File → Preferences → Cursor Settings
Select MCP in the sidebar
Check that
seo-researchappears under Available Tools
Step 1: Open Settings
Mac:
Cmd + Shift + P→ "Open Windsurf Settings"Windows/Linux:
Ctrl + Shift + P→ "Open Windsurf Settings"
Step 2: Add Configuration
Navigate to Cascade → MCP Servers → Edit raw mcp_config.json:
📁 Config location: ~/.codeium/windsurf/mcp_config.json
⚠️ Requires VS Code 1.102+ with GitHub Copilot
Setup
Create .vscode/mcp.json in your workspace:
Activate
Open the
.vscode/mcp.jsonfileClick the Start button that appears
In Chat view, click Tools to toggle MCP tools
Use
#tool_namein prompts to invoke tools
Setup
Add to your Zed settings.json:
Verify
Open Agent Panel settings
Check the indicator dot next to
seo-researchGreen dot = Server is active
📖 API Reference
get_backlinks_list(domain)
Get backlink data for any domain.
keyword_generator(keyword, country?, search_engine?)
Generate keyword ideas from a seed keyword.
get_traffic(domain_or_url, country?, mode?)
Estimate search traffic for a website.
keyword_difficulty(keyword, country?)
Get keyword difficulty score with SERP analysis.
⚙️ How It Works
Request → Your AI assistant calls an MCP tool
CAPTCHA → CapSolver handles Cloudflare verification
Data → Ahrefs API returns SEO data
Response → Formatted results appear in your IDE
🐛 Troubleshooting
Problem | Solution |
"CapSolver API key error" | Check |
Rate limiting | Wait a few minutes, reduce request frequency |
No results | Domain may not be indexed by Ahrefs |
Server not appearing | Restart your IDE after config changes |
Connection timeout | Check your internet connection |
🤝 Contributing
Contributions are welcome! Here's how you can help:
Ways to Contribute
🐛 Report Bugs - Found an issue? Open a bug report
💡 Suggest Features - Have an idea? Request a feature
📝 Improve Docs - Fix typos, clarify instructions, add examples
🔧 Submit Code - Bug fixes, new features, optimizations
Development Setup
Pull Request Process
Fork the repository
Create a feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to your branch (
git push origin feature/amazing-feature)Open a Pull Request
Code Guidelines
Keep code simple and readable
Add comments for complex logic
Test your changes before submitting
Follow existing code style
📊 Star History
📄 License
This project is licensed under the MIT License with an educational use notice.
See LICENSE for full details.
🙏 Credits
This project is a fork of seo-mcp by @cnych.
Special thanks to the original author for creating this tool.
⭐ If this helps your SEO research, consider giving it a star! ⭐