Retrieves detailed backlink data from Ahrefs including anchor text, domain rating, and URL information for SEO analysis...
Created byApr 23, 2025
SEO MCP
A MCP (Model Control Protocol) SEO tool service based on Ahrefs data. Includes features such as backlink analysis, keyword research, traffic estimation, and more.
[ ](./README_CN.md)
Overview
This service provides an API to retrieve SEO data from Ahrefs. It handles the entire process, including solving the CAPTCHA, authentication, and data retrieval. The results are cached to improve performance and reduce API costs.
This MCP service is for educational purposes only. Please do not misuse it. This project is inspired by `@ `.
Features
Backlink Analysis
Get detailed backlink data for any domain
View domain rating, anchor text, and link attributes
Filter educational and government domains
Keyword Research
Generate keyword ideas from a seed keyword
Get keyword difficulty score
View search volume and trends
Traffic Analysis
Estimate website traffic
View traffic history and trends
Analyze popular pages and country distribution
Track keyword rankings
Performance Optimization
Use CapSolver to automatically solve CAPTCHA
Response caching
Installation
Prerequisites
Python 3.10 or higher
CapSolver account and API key ([register here](https://dashboard.capsolver.com/passport/register?inviteCode=1dTH7WQSfHD0))
Install from PyPI
Or use `uv`:
Manual Installation
Clone the repository:
```bash
git clone https://github.com/cnych/seo-mcp.git
cd seo-mcp
```