# Ahrefs MCP server

> An independent MCP server (not affiliated with Ahrefs) that lets your agent get backlinks, keywords and site metrics: 134 tools, paid per call, no Ahrefs API key.

Web page: https://pickrun.ai/mcp-servers/ahrefs · Data as of 2026-11-18

Give your agent Pickrun (one key, no signup):

```
https://pickrun.ai/mcp
```

## Add it to your agent

Claude Code:

```bash
claude mcp add --transport http pickrun https://pickrun.ai/mcp
```

Codex:

```bash
codex mcp add pickrun --url https://pickrun.ai/mcp
```

Cursor, in `~/.cursor/mcp.json`:

```json
{ "mcpServers": { "pickrun": { "url": "https://pickrun.ai/mcp" } } }
```

Claude, ChatGPT and any other client that takes a remote MCP URL: add `https://pickrun.ai/mcp` as a custom connector.
The first time it connects, a Pickrun page opens with one button that creates the agent: its own key,
inbox and balance. No signup form.

## What the agent can call

134 Ahrefs tools; the 40 below are the best rated and most used. Each price is per call, at default
parameters, and the agent sees it before anything runs.

| Tool | Supplier | Price per call | Success rate |
| --- | --- | --- | --- |
| [Keywords explorer volume history](https://pickrun.ai/tools/ahrefs/keywords.explorer.volume.history) | Ahrefs | from $0.0013 | — |
| [Get search-suggest](https://pickrun.ai/tools/ahrefs/keywords.explorer.search.suggestions) | Ahrefs | from $0.0077 | — |
| [Keywords explorer matching terms](https://pickrun.ai/tools/ahrefs/keywords.explorer.matching.terms) | Ahrefs | from $0.014 | — |
| [Keywords explorer related terms](https://pickrun.ai/tools/ahrefs/keywords.explorer.related.terms) | Ahrefs | from $0.014 | — |
| [Keywords explorer overview](https://pickrun.ai/tools/ahrefs/keywords.explorer.overview) | Ahrefs | from $0.027 | — |
| [Domain rating](https://pickrun.ai/tools/ahrefs/api.site-explorer-domain-rating) | Ahrefs | from $0.0068 | — |
| [Backlinks stats](https://pickrun.ai/tools/ahrefs/api.site-explorer-backlinks-stats) | Ahrefs | from $0.0068 | — |
| [Outlinks stats](https://pickrun.ai/tools/ahrefs/api.site-explorer-outlinks-stats) | Ahrefs | from $0.0068 | — |
| [Metrics](https://pickrun.ai/tools/ahrefs/api.site-explorer-metrics) | Ahrefs | from $0.0068 | — |
| [AI Responses Count](https://pickrun.ai/tools/ahrefs/api.site-explorer-ai-responses-count) | Ahrefs | from $0.0068 | — |
| [Refdomains history](https://pickrun.ai/tools/ahrefs/api.site-explorer-refdomains-history) | Ahrefs | from $0.0068 | — |
| [Domain Rating history](https://pickrun.ai/tools/ahrefs/api.site-explorer-domain-rating-history) | Ahrefs | from $0.0068 | — |
| [URL Rating history](https://pickrun.ai/tools/ahrefs/api.site-explorer-url-rating-history) | Ahrefs | from $0.0068 | — |
| [Pages history](https://pickrun.ai/tools/ahrefs/api.site-explorer-pages-history) | Ahrefs | from $0.0068 | — |
| [Metrics history](https://pickrun.ai/tools/ahrefs/api.site-explorer-metrics-history) | Ahrefs | from $0.0068 | — |
| [Keywords history](https://pickrun.ai/tools/ahrefs/api.site-explorer-keywords-history) | Ahrefs | from $0.0068 | — |
| [Metrics by country](https://pickrun.ai/tools/ahrefs/api.site-explorer-metrics-by-country) | Ahrefs | from $0.0068 | — |
| [Pages by traffic](https://pickrun.ai/tools/ahrefs/api.site-explorer-pages-by-traffic) | Ahrefs | from $0.0068 | — |
| [Backlinks](https://pickrun.ai/tools/ahrefs/api.site-explorer-all-backlinks) | Ahrefs | from $0.0068 | — |
| [Broken Backlinks](https://pickrun.ai/tools/ahrefs/api.site-explorer-broken-backlinks) | Ahrefs | from $0.0068 | — |
| [Refdomains](https://pickrun.ai/tools/ahrefs/api.site-explorer-refdomains) | Ahrefs | from $0.0068 | — |
| [Anchors](https://pickrun.ai/tools/ahrefs/api.site-explorer-anchors) | Ahrefs | from $0.0068 | — |
| [Linked Domains](https://pickrun.ai/tools/ahrefs/api.site-explorer-linkeddomains) | Ahrefs | from $0.0068 | — |
| [Outgoing external anchors](https://pickrun.ai/tools/ahrefs/api.site-explorer-linked-anchors-external) | Ahrefs | from $0.0068 | — |
| [Outgoing internal anchors](https://pickrun.ai/tools/ahrefs/api.site-explorer-linked-anchors-internal) | Ahrefs | from $0.0068 | — |
| [Organic keywords](https://pickrun.ai/tools/ahrefs/api.site-explorer-organic-keywords) | Ahrefs | from $0.0068 | — |
| [Organic competitors](https://pickrun.ai/tools/ahrefs/api.site-explorer-organic-competitors) | Ahrefs | from $0.0068 | — |
| [Top pages](https://pickrun.ai/tools/ahrefs/api.site-explorer-top-pages) | Ahrefs | from $0.0068 | — |
| [Paid pages](https://pickrun.ai/tools/ahrefs/api.site-explorer-paid-pages) | Ahrefs | from $0.0068 | — |
| [Best pages by backlinks](https://pickrun.ai/tools/ahrefs/api.site-explorer-pages-by-backlinks) | Ahrefs | from $0.0068 | — |
| [Best pages by internal links](https://pickrun.ai/tools/ahrefs/api.site-explorer-pages-by-internal-links) | Ahrefs | from $0.0068 | — |
| [Total search volume history](https://pickrun.ai/tools/ahrefs/api.site-explorer-total-search-volume-history) | Ahrefs | from $0.0068 | — |
| [Crawled pages](https://pickrun.ai/tools/ahrefs/api.site-explorer-crawled-pages) | Ahrefs | from $0.0068 | — |
| [Referring domains](https://pickrun.ai/tools/ahrefs/api.competitive-analysis-link-intersect-refdomains) | Ahrefs | from $0.0068 | — |
| [Referring pages](https://pickrun.ai/tools/ahrefs/api.competitive-analysis-link-intersect-refpages) | Ahrefs | from $0.0068 | — |
| [Overview](https://pickrun.ai/tools/ahrefs/api.keywords-explorer-overview) | Ahrefs | from $0.0068 | — |
| [Volume history](https://pickrun.ai/tools/ahrefs/api.keywords-explorer-volume-history) | Ahrefs | from $0.0068 | — |
| [Volume by country](https://pickrun.ai/tools/ahrefs/api.keywords-explorer-volume-by-country) | Ahrefs | from $0.0068 | — |
| [Current service notices](https://pickrun.ai/tools/ahrefs/api.keywords-explorer-service-notices) | Ahrefs | from $0.0068 | — |
| [Matching terms](https://pickrun.ai/tools/ahrefs/api.keywords-explorer-matching-terms) | Ahrefs | from $0.0068 | — |

Success rate comes from real agent calls (on Pickrun, plus public data from other gateways); "—" means too few calls yet.

## How it works

1. The agent asks `discover` for a task ("get backlinks, keywords and site metrics"), and gets matching tools with their prices.
2. `inspect` shows a tool's inputs and its price.
3. `run` calls it. You pay the supplier's own price per successful call; failed calls are free.

## FAQ

**Is this the official Ahrefs MCP server?**
No. Pickrun is an independent MCP server, not affiliated with Ahrefs. It gives your agent Ahrefs tools next to thousands of others, behind one URL and one balance.

**Do I need a Ahrefs account or API key?**
No. The agent calls through Pickrun with its own Pickrun key. There is no Ahrefs account to open and no key to paste into a config file.

**How much does it cost?**
Each call costs the price shown above, from $0.0013 a call. There is no subscription; the agent's balance starts at $0 and you top it up from a pay link.

**Which clients work with it?**
Claude Code, Claude, ChatGPT, Cursor, Codex, OpenCode and any client that supports remote MCP over HTTP.

## Related

- [Ahrefs API pricing](https://pickrun.ai/tools/p/ahrefs.md)
- [Every MCP server page](https://pickrun.ai/mcp-servers.md)

---

Pickrun: one key and one balance for thousands of agent tools, paid per call. Agents start at https://pickrun.ai/SKILL.md; the site map for agents is https://pickrun.ai/llms.txt.
