# Ahrefs

> Ahrefs is an open-source MCP server for marketing and seo. Analyze domain authority, backlinks, traffic, and keyword rankings for SEO intelligence. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/mcparmory/registry
- **MCP Registry name:** com.mcparmory/ahrefs
- **Categories:** marketing and SEO
- **Listing updated:** 2026-11-13

## About

Analyze domain authority, backlinks, traffic, and keyword rankings for SEO intelligence

## Install

### Claude Code (Terminal)

```sh
claude mcp add ahrefs -- uvx mcparmory-ahrefs
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "ahrefs": {
      "command": "uvx",
      "args": [
        "mcparmory-ahrefs"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "ahrefs": {
      "command": "uvx",
      "args": [
        "mcparmory-ahrefs"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "ahrefs": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcparmory-ahrefs"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "ahrefs": {
      "command": "uvx",
      "args": [
        "mcparmory-ahrefs"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "ahrefs": {
      "command": "uvx",
      "args": [
        "mcparmory-ahrefs"
      ]
    }
  }
}
```

## FAQ

### Is Ahrefs free?

Yes. Ahrefs is open source, so you can use and self-host it for free.

### How do I add Ahrefs to Claude Code?

Run this command in your terminal: claude mcp add ahrefs -- uvx mcparmory-ahrefs

### What are the best alternatives to Ahrefs?

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

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## 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.
- [Snapchat Ads MCP Server](https://ai-powered.com/mcp/snapchat-ads-mcp-server): Snapchat Ads MCP Server is an open-source 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.

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