ahrefs-mcp
Access Ahrefs SEO data via the Ahrefs API 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 SEO data, keyword research, and backlink analysis within OpenClaw using the Ahrefs API. Automate your SEO audits and content strategy today.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/jonathan-sokol/ahrefs-connectionWhat This Skill Does
The ahrefs-mcp skill integrates OpenClaw directly with the Ahrefs API, providing a seamless interface to access world-class SEO intelligence. This skill acts as a bridge, allowing your AI agent to fetch real-time domain metrics, perform deep-dive keyword research, analyze backlink profiles, and monitor technical site health without leaving your conversational workflow. It automates complex data retrieval, turning raw Ahrefs API responses into actionable SEO insights, content strategies, and competitive intelligence summaries.
Installation
To integrate this skill, use the following command in your terminal:
clawhub install openclaw/skills/skills/jonathan-sokol/ahrefs-connection
Ensure you have an active Ahrefs account (Lite plan or higher) and have generated an API key via your Ahrefs dashboard. Once installed, set your API key as an environment variable (AHREFS_API_KEY) to enable secure, authenticated access for all subsequent agent requests.
Use Cases
- Domain Audits: Get instant snapshots of a website's Domain Rating (DR), total organic traffic, and backlink growth trends.
- Keyword Strategy: Identify high-volume, low-difficulty keywords to prioritize your content roadmap.
- Competitor Gap Analysis: Compare your target domains against major competitors to find content opportunities where they are ranking, but you are not.
- Technical Monitoring: Pull technical site audit scores to identify crawl errors, broken links, or indexing issues efficiently.
- Link Building: Analyze the backlink profiles of top-ranking pages to identify potential outreach opportunities.
Example Prompts
- "Check the current domain rating, total backlinks, and top organic keywords for example.com."
- "I'm writing an article about 'AI workflow automation'. Find 5 long-tail keywords with a difficulty score under 30 and search volume over 500 per month."
- "Compare the organic search performance of competitor-a.com and competitor-b.com. Where is the biggest content gap?"
Tips & Limitations
- Efficiency: Use batch analysis endpoints when checking multiple domains to minimize API request counts.
- Privacy: Never share your API key in plain text; always use secure environment variables.
- Data Scope: Remember that Site Audit and Rank Tracker features require pre-configured projects inside your Ahrefs dashboard before the agent can pull data.
- Costs: Be mindful of your Ahrefs plan limits, as excessive API calls can impact your monthly quota.
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-connection": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api