Skip to content
MCP server

Ahrefs

Ahrefs SEO and AEO data in ChatGPT and Claude: keywords, backlinks, competitor traffic

Install
Pricing
Paid
Platforms
API, Web
Runs
Remotely
Version
1.0.0
Listing updated
2 days ago

About Ahrefs

Ahrefs is a paid MCP server for marketing and seo. It runs as a hosted remote server, so there is nothing to install locally.

This is the official Ahrefs server, hosted at api.ahrefs.com and reached over streamable-http. It is only for people who already pay for Ahrefs: access comes with the Lite, Standard, Advanced and Enterprise plans, and the plan sets how many rows each request can return (100, 250, 500 or unlimited) and the monthly API units (200,000, 800,000, 2 million, or 4 million and up).

The example prompts on the product page show the intended work: trending keywords with traffic potential, competitors that expanded internationally and how their organic traffic moved, six-month traffic growth across a list of sites, and backlink and DR comparisons. The page also mentions bulk scheduling and reporting of social posts.

Setup guides exist for ChatGPT, Claude, Cursor and Copilot Studio.

Install

Run in a terminal

claude mcp add --transport http mcp https://api.ahrefs.com/mcp/mcp

Add to Settings → Connectors → Add custom connector

https://api.ahrefs.com/mcp/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "url": "https://api.ahrefs.com/mcp/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://api.ahrefs.com/mcp/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://api.ahrefs.com/mcp/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://api.ahrefs.com/mcp/mcp"
    }
  }
}

What it does

Keyword research
Search volume, traffic potential, growth trend and keyword difficulty for any term.
Competitor traffic
Track organic traffic over time for a list of sites and see winners and losers.
Backlink audits
Compare link-building velocity and DR charts across sites.
International SEO
Find businesses that expanded abroad and how their traffic is trending.
Social post scheduling
Create, update or delete posts and view performance.
Plan-based limits
Rows per request and monthly API units scale with the Ahrefs plan.

Good for

  • Spot rising search terms in a niche before they peak
  • Rank a competitor list by six-month organic traffic growth
  • Compare the backlink profiles of five sites in one request
  • Draft a content gap analysis against a rival
  • Plan entry into a new country market using peer data

Pricing

Paid

Included on paid Ahrefs plans; prices are on the Ahrefs pricing page.

Prices change. Check ahrefs.com before you buy.

Ahrefs FAQ

Which plans include it?

Lite, Standard, Advanced and Enterprise.

Do I need to code?

No. You ask in plain language from the assistant.

Is there a free way to try it?

The pricing page lists Ahrefs Free for Site Explorer and Site Audit, but the MCP page lists only paid plans.

Which assistants have setup guides?

ChatGPT, Claude, Cursor and Copilot Studio.

Is Ahrefs free?

No. Ahrefs is a paid product.

How do I add Ahrefs to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://api.ahrefs.com/mcp/mcp

What are the best alternatives to Ahrefs?

The closest alternatives to Ahrefs are Google Ads + Meta Ads + SEO/GEO MCP, Calven, MCP, Red Center Studio free tools and ASOScan.

Alternatives to Ahrefs

  1. Hosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat

    • 8 tools
    • Remote
    • Freemium
    • 8.1K GitHub stars
    • Marketing and SEO
  2. Calven

    MCP server

    Product marketing context from Calven delivered into Claude, ChatGPT and other AI tools

    Not checked yet
    • Remote
    • Free trial
    • 3 GitHub stars
    • Marketing and SEO
  3. MCP

    MCP server

    MCP server for planning, scheduling and measuring social and ad campaigns with approvals

    • Remote
    • Freemium
    • Marketing and SEO
  4. Free website checks for AI readiness, DNS dependencies, domain health and Bubble errors

    • 5 tools
    • Remote
    • Free
    • Marketing and SEO
  5. ASOScan

    MCP server

    ASO data for your own iOS and Android apps: rankings, keywords, reviews, scores

    • Remote
    • Free trial
    • Marketing and SEO
  6. PostBaton

    MCP server

    Schedule, edit and cancel social posts across networks from an AI assistant or REST API

    Not checked yet
    • Remote
    • Freemium
    • Marketing and SEO