Ahrefs MCP Server
The official Ahrefs MCP connects backlink, keyword and traffic data to Claude and ChatGPT. Hosted remote server, works from the Lite plan and uses API units.
- Pricing
- paid
- Page updated
No extra fee for the MCP, but it uses your plan's API units: 100k on Lite, 400k on Standard, 1M on Advanced, 2M on Enterprise.
Ahrefs now runs a hosted MCP server at https://api.ahrefs.com/mcp/mcp. You add that URL to Claude, ChatGPT or another client, approve the consent screen with your Ahrefs login, and the AI can pull data from the Ahrefs API: backlinks, keywords, organic traffic, the stuff you'd normally click through Site Explorer and Keywords Explorer for.
Heads up if you set this up last year: the old local server (ahrefs/ahrefs-mcp-server, npm @ahrefs/mcp) is archived on GitHub. Use the hosted one. Any paid plan from Lite up gets access.
Here's where it earns its keep. Ask Claude to pull the referring domains of your three closest competitors, find the domains that link to at least two of them but not to you, and sort by Domain Rating. That's a link-building prospect list in one message, and you can ask follow-ups without exporting a single CSV.
Watch your API units. Every call spends units from the same monthly pool as the Ahrefs API: 100,000 on Lite, 400,000 on Standard, 1,000,000 on Advanced. Lite also caps you at 100 rows per request. Workspace admins can set a monthly unit limit per MCP key, which I'd do before handing it to the whole team. The server only reads data, so it can't break anything in your account.
Official vs community Ahrefs MCP
Remote server URL: https://api.ahrefs.com/mcp/mcp
@ahrefs/mcp, repo ahrefs/ahrefs-mcp-server) is archived. Skip community servers that scrape Ahrefs' free tools by solving CAPTCHAs: they break often and Ahrefs doesn't support them.What you can ask it
- “Find domains that link to at least two of competitor-a.com, competitor-b.com and competitor-c.com but not to mysite.com. Sort by Domain Rating.”
- “What are the top 20 pages on competitor.com by organic traffic, and which keywords drive each one?”
- “Give me keyword ideas for "linkedin ads for b2b" with volume and KD. Keep anything under KD 20.”
- “Compare Domain Rating, referring domains and organic traffic for these five sites in a table.”
- “Which new backlinks did mysite.com get in the last 30 days, and which ones did we lose?”
- “Pull the keywords where competitor.com ranks 1-3 and I rank 4-15, so I know what to refresh first.”
Features
- Hosted remote server over Streamable HTTP, nothing to install
- Backlinks and referring domains for any domain or URL
- Keyword volume, difficulty and SERP data from the Ahrefs index
- Domain Rating, organic traffic estimates and top pages for competitors
- OAuth consent flow that creates a dedicated MCP-scoped API key in your account
- Per-key monthly API unit limits that workspace admins can set
- Read-only: it pulls data and can't change anything in your Ahrefs account
How to set up the Ahrefs MCP Server
Works with: Claude, Claude Code, ChatGPT, Copilot Studio, n8n, Lovable, Manus, Le Chat
claude mcp add ahrefs https://api.ahrefs.com/mcp/mcp -t http
Launch Claude, run /mcp, pick Ahrefs and authenticate. Log in to Ahrefs, pick your workspace and click Allow.
3. Claude web or desktop, ChatGPT and others: add https://api.ahrefs.com/mcp/mcp as a connector and approve the Ahrefs consent screen. Ahrefs has step-by-step guides for Claude, Claude Mobile, ChatGPT, Copilot Studio, n8n, Lovable, Manus and Le Chat in its MCP docs.
4. Optional: in Ahrefs โ Account settings โ API keys, set a monthly unit limit on the MCP key.
5. Ask a test question, like "What's the Domain Rating of ahrefs.com?", to confirm it's connected.Alternatives
Semrush's official hosted server, if your team pays for Semrush instead of Ahrefs.
Pay-per-request backlink, keyword and SERP data with no SEO tool subscription.
FAQ
Is there an official Ahrefs MCP server?
@ahrefs/mcp is archived, so use the hosted server.Which Ahrefs plan do I need for MCP?
How do I connect Ahrefs to Claude?
claude mcp add ahrefs https://api.ahrefs.com/mcp/mcp -t http in Claude Code, then log in and click Allow.Does the Ahrefs MCP cost extra?
Can I call the Ahrefs MCP from my own scripts?
More marketing MCP servers
DataForSEO MCP Server
The DataForSEO MCP gives Claude live SERP, keyword, backlink and on-page data from one server. Official, hosted or local, and you pay per request.
dataforseo-mcp-server paid Google Search Console MCP Server
Google Search Console MCP for Claude: ask about queries, clicks, CTR and indexing in plain English. Free, open source, runs on your own Google credentials.
uvx mcp-search-console free Semrush MCP Server
The official Semrush MCP puts keyword, backlink, traffic and project data inside Claude and ChatGPT. Hosted, OAuth login, runs on your Semrush API units.
https://mcp.semrush.com/v2/mcp paid Figma MCP Server
Official MCP server by Figma. Convert designs into code, extract design tokens, access components and variables โ directly from Claude Code or any MCP-compatible editor.
figma (remote MCP) freemium X (Twitter) MCP Server
X has an official MCP server now. How to connect the X (Twitter) MCP to Claude, Cursor or Claude Code, what it can read, and what each API call costs.
npx -y @xdevplatform/xurl mcp https://api.x.com/mcp paid Added: 2026-03-08 ยท Last reviewed: 2026-09-22