
cnych/seo-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
cnych/seo-mcpは、https://github.com/cnych/seo-mcp.からインポートされたMCPサーバー候補です。
概要
cnych/seo-mcpは、https://github.com/cnych/seo-mcp.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
Ahrefsデータに基づくMCP(モデル制御プロトコル)SEOツールサービスです。バックリンク分析、キーワードリサーチ、トラフィック推定などの機能が含まれています。
中文
概要
このサービスはAhrefsからSEOデータを取得するためのAPIを提供します。CAPTCHAの解法、認証、データ取得を含む全プロセスをサポートします。結果はキャッシュされ、パフォーマンス向上とAPIコスト削減が行われます。
このMCPサービスは教育目的のみを目的としています。悪用しないでください。このプロジェクトは
@哥飞社群に触発されています。
特徴
-
🔍 バックリンク分析
-
任意のドメインの詳細なバックリンクデータの取得
-
ドメイン評価、アンカーテキスト、リンク属性の表示
-
教育および政府ドメインのフィルタリング
-
🎯 キーワードリサーチ
-
シードキーワードからキーワードアイデアを生成する
-
キーワード難易度スコアの取得
-
検索ボリュームとトレンドの表示
-
📊 交通分析
-
ウェブサイトトラフィックの推定
-
交通履歴と傾向の閲覧
-
人気ページと国別分布の分析
-
トラックキーワードランキング
-
🚀 パフォーマンス最適化
-
CapSolverを使ってCAPTCHAを自動的に解く
-
レスポンスキャッシュ
設置
前提条件
- Python 3.10以降
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
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.
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)
Install from PyPI
pip install seo-mcp
Or use uv:
uv pip install seo-mcp
Manual Installation
-
Clone the repository:
git clone https://github.com/cnych/seo-mcp.git cd seo-mcp -
Install dependencies:
pip install -e . # Or uv pip install -e . -
Set the CapSolver API key:
export CAPSOLVER_API_KEY="your-capsolver-api-key"
Usage
Run the service
You can run the service in the following ways:
Use in Cursor IDE
In the Cursor settings, switch to the MCP tab, click the +Add new global MCP server button, and then input:
{
"mcpServers": {
"SEO MCP": {
"command": "uvx",
"args": ["--python", "3.10", "seo-mcp"],
"env": {
"CAPSOLVER_API_KEY": "CAP-xxxxxx"
}
}
}
}
You can also create a .cursor/mcp.json file in the project root directory, with the same content.
API Reference
The service provides the following MCP tools:
get_backlinks_list(domain: str)
Get the backlinks of a domain.
Parameters:
domain(string): The domain to analyze (e.g. “example.com”)
Returns:
{
"overview": {
"domainRating": 76,
"backlinks": 1500,
"refDomains": 300
},
"backlinks": [
{
"anchor": "Example link",
"domainRating": 76,
"title": "Page title",
"urlFrom": "https://referringsite.com/page",
"urlTo": "https://example.com/page",
"edu": false,
"gov": false
}
]
}
keyword_generator(keyword: str, country: str = "us", search_engine: str = "Google")
Generate keyword ideas.
インストール
uvx --python 3.10 seo-mcp設定
{
"mcpServers": {
"SEO MCP": {
"command": "uvx",
"args": ["--python", "3.10", "seo-mcp"],
"env": {
"CAPSOLVER_API_KEY": "CAP-xxxxxx"
}
}
}
}