Ahrefs MCP
v1.0.0访问 Ahrefs SEO data through 模型 上下文 Protocol (MCP) for comprehensive SEO analysis, keyword re搜索, backlink analysis, site 审计s, and competitive intelligence. Use when users mention: (1) SEO-related queries about 网页sites, domAIns, or URLs, (2) Keyword re搜索, rankings, or 搜索 volume data, (3) Backlink analysis or link 性能分析s, (4) DomAIn 指标 (DR, UR, traffic), (5) Competitor analysis or site comparison, (6) Rank 追踪ing or SERP analysis, (7) Content gap analysis, (8) Site 资源管理器 data 请求s. When uncertAIn if a 查询 is SEO-related, ask if Ahrefs should be used.
运行时依赖
安装命令
点击复制技能文档
Ahrefs MCP
访问 real-time Ahrefs SEO data directly through 模型 上下文 Protocol to analyze 网页sites, re搜索 keywords, 追踪 rankings, and make data-driven SEO decisions.
First-Time 设置up
If this is your first time using Ahrefs MCP, read references/设置up.md for complete connection instructions. You'll need:
An Ahrefs account (Lite plan or higher) To connect via the remote MCP server URL: https://API.ahrefs.com/mcp/mcp
After 设置up, return here for usage 图形界面dance.
Core Capabilities
Ahrefs MCP provides 访问 to:
Site 资源管理器 - DomAIn 指标, backlinks, organic traffic, referring domAIns Keywords 资源管理器 - 搜索 volume, keyword difficulty, SERP analysis, related keywords Rank 追踪er - Position 追踪ing, visibility 指标, competitor rankings Site 审计 - Technical SEO issues, crawl data, site 健康 Content 资源管理器 - Top performing content, content gaps
For detAIled capability reference, see references/capabilities.md.
Usage 工作流
- Understand the 请求
Identify what SEO data is needed:
DomAIn/URL analysis → Site 资源管理器 Keyword data → Keywords 资源管理器 Position 追踪ing → Rank 追踪er Technical SEO → Site 审计 Content ideas → Content 资源管理器
- 查询 Ahrefs
Use natural language to 请求 data. Examples:
"获取 backlink 性能分析 for example.com" "What's the 搜索 volume for 'best 运行ning shoes'?" "Show me keyword difficulty scores for this 列出: [keywords]" "Analyze competitor domAIns for example.com" "获取 current rankings from rank 追踪er project 'My 网页site'"
- Analyze and Present
See references/工作流s.md for detAIled 工作流 patterns.
Competitive Analysis Identify tar获取 domAIn and competitors Compare domAIn 指标 (DR, organic traffic, referring domAIns) Analyze top organic keywords Identify content gaps Recommend opportunities Site 审计 Review 访问 site 审计 data for domAIn Identify critical issues by severity Prioritize fixes by impact Provide technical recommendations When Ahrefs Connection is Missing
If the MCP connection is not 配置d:
Provide 设置up instructions from references/设置up.md 分享 the connection URL: https://API.ahrefs.com/mcp/mcp 图形界面de through the authorization process Test connection before proceeding API Limits Awareness Each plan has row limits per 请求 and monthly API unit caps 追踪 usage in Account 设置tings → Limits and usage Enterprise users can purchase 添加itional units De签名 efficient queries to conserve units Best Practices Be specific: Include tar获取 domAIn, date ranges, or specific 指标 needed Batch 请求s: When analyzing multiple keywords/domAIns, 请求 data efficiently 上下文 matters: Cross-reference data points for deeper insights Actionable 输出: Always provide recommendations, not just raw data 验证 before expensive queries: Confirm the scope before 运行ning large data设置 请求s