ahrefs-mcp
Access Ahrefs SEO data through Model Context Protocol (MCP) for comprehensive SEO analysis, keyword research, backlink analysis, site audits, and competitive intelligence. Use when users mention: (1) SEO-related queries about websites, domains, or URLs, (2) Keyword research, rankings, or search volume data, (3) Backlink analysis or link profiles, (4) Domain metrics (DR, UR, traffic), (5) Competitor analysis or site comparison, (6) Rank tracking or SERP analysis, (7) Content gap analysis, (8) Site Explorer data requests. When uncertain if a query is SEO-related, ask if Ahrefs should be used.
Why use this skill?
Access real-time Ahrefs SEO data directly in OpenClaw. Perform keyword research, site audits, and competitive analysis to fuel your data-driven marketing strategy.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/jonathan-sokol/ahrefs-mcpWhat This Skill Does
The ahrefs-mcp skill integrates OpenClaw with the Ahrefs platform via the Model Context Protocol (MCP). It allows the AI agent to retrieve real-time search engine optimization (SEO) data, enabling data-driven decisions for digital marketing strategies. The skill acts as a bridge to Ahrefs' powerful database, allowing users to perform comprehensive domain analysis, deep keyword research, technical site audits, and competitive intelligence gathering without leaving the OpenClaw environment.
Installation
To integrate this skill into your environment, use the OpenClaw CLI:
clawhub install openclaw/skills/skills/jonathan-sokol/ahrefs-mcp
Once installed, ensure you have an active Ahrefs account (Lite plan or higher). Configure the connection by pointing the agent to the MCP endpoint at https://api.ahrefs.com/mcp/mcp. If you are setting this up for the first time, consult the references/setup.md file within the repository for specific authorization and authentication steps required to link your Ahrefs credentials securely.
Use Cases
- Domain Profiling: Extract Domain Rating (DR), URL Rating (UR), and organic traffic trends for any target URL.
- Keyword Strategy: Research search volume, keyword difficulty, and intent for target phrases.
- Competitive Benchmarking: Perform content gap analysis by comparing your site against primary search competitors.
- Technical SEO Audits: Review site health, identify critical crawl errors, and prioritize technical debt.
- Backlink Intelligence: Monitor the health and growth of link profiles to inform outreach and link-building campaigns.
Example Prompts
- "Analyze the domain 'example.com' and provide a summary of its current DR, organic traffic, and top 5 organic keywords."
- "I'm planning a new article about 'AI-driven SEO'. What is the keyword difficulty and monthly search volume for that term, and are there any lower-competition alternatives?"
- "Run a content gap analysis between 'my-website.com' and 'competitor-site.com'. Which keywords are they ranking for that I am currently missing?"
Tips & Limitations
- Proactive Inquiries: If you are unsure whether a user request requires SEO data, always ask if they would like to utilize Ahrefs data to support their query.
- API Limits: Be mindful of your Ahrefs plan limitations. Large-scale data pulls may hit rate limits; always request concise summaries for large datasets to remain within operational bounds.
- Data Interpretation: While the skill provides high-fidelity data, always cross-reference metrics like Keyword Difficulty with your specific site authority to ensure the advice is realistic and actionable.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-jonathan-sokol-ahrefs-mcp": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api