# Ahrefs

> Ahrefs is a paid MCP server for marketing and seo. Ahrefs SEO and AEO data in ChatGPT and Claude: keywords, backlinks, competitor traffic. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, Web
- **Website:** https://ahrefs.com/mcp
- **MCP Registry name:** com.ahrefs/mcp
- **Categories:** marketing and SEO
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://api.ahrefs.com/mcp/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://api.ahrefs.com/mcp/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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

- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Calven](https://ai-powered.com/mcp/calven): Calven is an MCP server for marketing and seo.
- [MCP](https://ai-powered.com/mcp/mcp-mwhffe53): MCP is a freemium MCP server for marketing and seo.
- [Red Center Studio free tools](https://ai-powered.com/mcp/red-center-studio-free-tools): Red Center Studio free tools is a free MCP server for marketing and seo.
- [ASOScan](https://ai-powered.com/mcp/asoscan): ASOScan is an MCP server for marketing and seo.
- [PostBaton](https://ai-powered.com/mcp/postbaton): PostBaton is a freemium MCP server for marketing and seo.
- [Fifty Asks](https://ai-powered.com/mcp/fifty-asks): Fifty Asks is a free MCP server for maps and travel.
- [Daniels AI Design Studio](https://ai-powered.com/mcp/daniels-ai-design-studio): Daniels AI Design Studio is an MCP server for design and media.

---
Source: https://ai-powered.com/mcp/ahrefs
