teamday-ai/agents/ahrefs

Claude Code and agent skill by teamday-ai/agents

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Query Ahrefs SEO data — backlinks, domain rating, organic keywords, competitors, and SERP analysis. Use for competitive analysis, link building, and keyword research.

Install

npx vskill@latest install teamday-ai/agents/ahrefs

SKILL.md

Ahrefs SEO Analysis Skill

Query Ahrefs API for backlink data, domain metrics, keyword research, and competitive analysis.

Quick Start (After OAuth)

First authenticate: Run /mcp in Claude Code and authorize with Ahrefs.

Then use MCP tools:

bash
# Domain Rating & Overview
mcp__ahrefs__site-explorer-domain-rating(target="your-domain.com", date="2026-01-26")
mcp__ahrefs__site-explorer-metrics(target="your-domain.com", date="2026-01-26")
mcp__ahrefs__site-explorer-backlinks-stats(target="your-domain.com", date="2026-01-26")
# Top Organic Keywords
mcp__ahrefs__site-explorer-organic-keywords(
target="your-domain.com",
date="2026-01-26",
country="us",
select="keyword,position,volume,traffic,keyword_difficulty"
)
# Organic Competitors
mcp__ahrefs__site-explorer-organic-competitors(
target="your-domain.com",
date="2026-01-26",
country="us",
select="domain,common_keywords,org_traffic,domain_rating"
)
# Top Pages by Traffic
mcp__ahrefs__site-explorer-top-pages(
target="your-domain.com",
date="2026-01-26",
select="url,traffic,keywords,top_keyword"
)
# Referring Domains (Backlinks)
mcp__ahrefs__site-explorer-refdomains(
target="your-domain.com",
select="domain,domain_rating,backlinks,first_seen"
)
# Keyword Research
mcp__ahrefs__keywords-explorer-overview(
keywords="your target keyword",
country="us",
select="keyword,volume,keyword_difficulty,cpc,traffic_potential"
)
# SERP Analysis
mcp__ahrefs__serp-overview-serp-overview(
keyword="your target keyword",
country="us",
select="position,url,domain_rating,traffic,backlinks"
)

Available MCP Tools

ToolPurposeKey Params
site-explorer-domain-ratingDR scoretarget, date
site-explorer-metricsTraffic, keywords counttarget, date, country
site-explorer-backlinks-statsBacklink countstarget, date
site-explorer-organic-keywordsWhat you rank fortarget, date, country, select
site-explorer-organic-competitorsWho you compete withtarget, date, country, select
site-explorer-top-pagesBest performing pagestarget, date, select
site-explorer-refdomainsWho links to youtarget, select
site-explorer-all-backlinksIndividual backlinkstarget, select
site-explorer-broken-backlinksBroken links to fixtarget, select
keywords-explorer-overviewKeyword researchkeywords, country, select
keywords-explorer-matching-termsKeyword ideaskeywords, country, select
serp-overview-serp-overviewSERP analysiskeyword, country, select

When to Use

  • Competitive Analysis: Compare your domain to competitors
  • Link Building: Find backlink opportunities, broken links to reclaim
  • Keyword Research: Discover keywords and their difficulty
  • Content Strategy: See what pages drive organic traffic
  • SERP Analysis: Understand ranking difficulty for target keywords

Configuration

Two authentication methods available:

Method 1: Remote MCP with OAuth (Recommended)

Uses your Ahrefs subscription with full access to all endpoints.

bash
# Authenticate via MCP:
/mcp
# Browser opens -> Login to Ahrefs -> Authorize
Method 2: Direct Scripts (Using OAuth Token)

Claude Code stores OAuth tokens in macOS Keychain. After /mcp auth, you can extract the token:

bash
bun .claude/skills/ahrefs/scripts/get-ahrefs-token.ts
bun .claude/skills/ahrefs/scripts/get-ahrefs-token.ts --json

Common Use Cases

1. Competitor Analysis
bash
bun .claude/skills/ahrefs/scripts/ahrefs-api.ts overview competitor.com
bun .claude/skills/ahrefs/scripts/ahrefs-api.ts keywords competitor.com 50
bun .claude/skills/ahrefs/scripts/ahrefs-api.ts competitors your-domain.com
2. Link Building
bash
bun .claude/skills/ahrefs/scripts/ahrefs-api.ts refdomains your-domain.com 50
bun .claude/skills/ahrefs/scripts/ahrefs-api.ts broken-backlinks your-domain.com
3. Keyword Research
bash
bun .claude/skills/ahrefs/scripts/ahrefs-api.ts keyword-overview "your keyword"
bun .claude/skills/ahrefs/scripts/ahrefs-api.ts serp "your keyword"

API Limits

Ahrefs API uses units. Each call consumes units based on complexity:

  • Simple metrics (DR): ~1 unit
  • Backlinks list: ~5-10 units
  • Keyword research: ~10 units

Monitor your usage at: https://app.ahrefs.com/api-profile

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/teamday-ai/agents/ahrefs/badge)](https://verified-skill.com/skills/teamday-ai/agents/ahrefs)

Something wrong with this skill or its page? Tell us.