Ahrefs MCP servers

Ahrefs runs an official remote MCP server that connects your Ahrefs account to an AI assistant, with Site Explorer, Keywords Explorer, Rank Tracker, Site Audit, Brand Radar, Web Analytics and Google Search Console data. It is available on paid plans from Lite and draws on your monthly API units.

Docs reviewed Nov 20, 20263 optionsSEO and search data

Short answer

Best for SEO research with your own Ahrefs data Ahrefs Remote MCP

It is Ahrefs' own hosted server, it signs in with OAuth, and it covers backlinks, keywords, SERPs, rank tracking, site audits and Brand Radar in one connection.

All 3 options compared

Official first. Everything here comes from each server's own docs.

Official

Ahrefs' hosted MCP server at https://api.ahrefs.com/mcp/mcp (Streamable HTTP). You connect with OAuth, which creates an API key tagged with MCP scope in your account, or with an MCP key you generate under Account settings > API Keys.

  • Read domain rating, backlink stats, referring domains, anchors and organic keywords from Site Explorer
  • Research keywords: volume by country and over time, matching and related terms, suggestions
  • Pull a SERP overview for a keyword
  • Read Rank Tracker, Site Audit issues and Brand Radar reports

It needs a paid plan from Lite, every call uses API units from your monthly allowance, and keys created through OAuth default to 200,000 units a month each. Ahrefs does not allow calling the endpoint from custom scripts or bridges; use the Ahrefs API for that.

Hosted (remote URL)OAuth
Gateway

Connect an AI agent to multiple business applications through one MCP integration.

Hosted (remote URL)
Pipedream MCPPipedream
Gateway

Connect AI clients to app actions with managed account authentication.

Connection details in the docs

Composio Connect: Composio lists a hosted Ahrefs toolkit with 46 tools, but connections must go through your own Ahrefs OAuth app registered in the Composio dashboard. Source, checked Nov 20, 2026.

Pipedream MCP: Pipedream lists an Ahrefs MCP server that connects through your Ahrefs account. Source, checked Nov 20, 2026.

Set it up

Ahrefs Remote MCP

Claude
  1. Open Customize in Claude, select Connectors and click the + button.
  2. Search for Ahrefs in the list of Claude connectors and open its card.
  3. Click Connect, choose your Ahrefs workspace and account, and click Allow.
  4. Turn the connector on in the chat's dropdown. In connector settings you can switch from Always ask permission to Allow unsupervised.
https://api.ahrefs.com/mcp/mcp

From the vendor's docs.

Claude Code
  1. Run the command below in your terminal.
  2. Launch Claude Code and run /mcp.
  3. Authenticate the server: log in to Ahrefs, select the workspace and click Allow.
claude mcp add ahrefs https://api.ahrefs.com/mcp/mcp -t http

From the vendor's docs.

ChatGPT
  1. In ChatGPT on the web (Plus or Pro), go to Settings > Apps > Advanced settings and turn on Developer mode.
  2. Click Create app, enter https://api.ahrefs.com/mcp/mcp as the MCP Server URL and choose OAuth. Leave Client ID and Client Secret blank.
  3. Tick I trust this application, click Create, then select your Ahrefs workspace and click Allow.
  4. In a chat, click + > More and turn on the Ahrefs app.

From the vendor's docs.

Prompts to start with

Link prospects

Show the referring domains that link to [competitor 1] and [competitor 2] but not to [our domain], sorted by domain rating, top 30.

Keyword shortlist

Using Keywords Explorer, find matching terms for [seed keyword] in [country] with volume above 200 and keyword difficulty under 30, sorted by volume.

Traffic drop check

Compare organic traffic and top pages for [our domain] this month against three months ago, and list the pages that lost the most traffic.

Audit priorities

List the Site Audit issues for my [project] project with the most affected pages, and group them into errors, warnings and notices.

AI visibility

Using Brand Radar, show how often [brand] is mentioned in AI responses compared with [competitor], and which pages are cited most.

Questions

Is there an official Ahrefs MCP server?

Yes. Ahrefs hosts a remote MCP server at https://api.ahrefs.com/mcp/mcp and documents setup for Claude, Claude Code, ChatGPT, Copilot Studio, n8n and other clients. The older local server is not the current setup path.

Which Ahrefs plan do I need?

A paid plan from Lite up. Each plan sets a maximum number of rows per request and a monthly allowance of API units, and MCP calls use those units the same way direct API calls do. You can check usage under Account settings > Limits and usage.

Do I need an API key?

Not with OAuth. When you approve the consent screen, Ahrefs creates a dedicated key tagged with MCP scope for that connection. You can instead generate an MCP key under Account settings > API Keys and pass it as a bearer token. Enterprise customers can also connect with their API keys.

My client shows only some Ahrefs tools. Why?

Some clients cap how many tools a server can advertise, and Ahrefs goes over that cap in many of them. Add ?tools= to the URL with the groups you need, such as site-explorer-overview,keywords-explorer, or use ?tools=essentials for a curated set.