What Is Ahrefs MCP? Connecting It to Claude, Required Plans, API Units and Brand Radar
You ask your assistant something like "Put the referring domains competitor.com gained in the last 3 months in a table" or "Which questions does our brand appear in within AI answers?"; Ahrefs MCP turns the request into Ahrefs reports, runs them, and the assistant gives you the result as a table or commentary. It is the server Ahrefs hosts itself: with the tools in the Claude directory, it reads backlink, keyword, ranking, site audit and Brand Radar data. It connects to Claude in a few clicks and to Claude Code with one command; you grant permission with your Ahrefs account.
- What it does
- Lets your assistant query Ahrefs data
- Type
- Connector (remote MCP hosted by Ahrefs)
- Maker
- Ahrefs
- Where
- Claude (web, desktop, mobile), Claude Code, ChatGPT (beta)
- Tools
- 61 in the Claude directory
- Brand Radar
- Yes; AI Overviews data is a separate add-on
- Cost
- No extra MCP fee; requires Lite ($129/month) or higher
What is Ahrefs MCP for?
To build a client report in Ahrefs, you move between Site Explorer, Keywords Explorer and Brand Radar and merge the data by hand. Ahrefs MCP hands this job to the assistant: you write the question in plain language, the assistant runs the Ahrefs reports it needs, compares the results in one answer, asks follow-up questions and turns the numbers into commentary. MCP (Model Context Protocol) is the common standard AI assistants use to connect to outside services.
The jobs Ahrefs lists: pulling Ahrefs data straight into AI answers, exporting without touching the API, combining several data sources in one request, and working alongside other MCP-compatible apps.
Who it helps: agencies that prepare monthly SEO and GEO (visibility in AI search) reports, brand managers who want to track how their brand is mentioned in ChatGPT or Google's AI answers, and content teams looking for blog topics. An Ahrefs Lite plan or higher is required; if you don't use Ahrefs, this connector gives you nothing on its own.
How does it work?
When you connect, an MCP-scoped key is created in your account; every call is deducted from your monthly API units.
When you grant permission, an API key labeled "MCP" is created in your Ahrefs account for this connection. Keys created through OAuth have a default monthly limit of 200,000 API units; a workspace admin can change or remove this limit in the API keys report. You set it up once, and the same connection appears on every device linked to your personal or company account.
Ahrefs has more tools than some clients accept. So you can add tools to the connection URL and load only the groups you need; the groups include site-explorer-overview, site-explorer-reports, keywords-explorer, serp-overview, rank-tracker, site-audit, brand-radar-simple, web-analytics-overview, gsc, social-media and subscription-info. The Web Analytics, Search Console (gsc), social media and Content Helper groups are in Ahrefs' group table but don't appear among the 61 tools the Claude directory lists. For the most commonly used ones, essentials is enough:
› https://api.ahrefs.com/mcp/mcp?tools=essentialsessentials can't be combined with other groups; if you type a group name that doesn't exist, the connection is rejected with an "invalid tool category" error. If tools is omitted, all tools are loaded.
What do you type, and what do you get?
Once connected, you turn on the connector in the chat and write your request. The examples below are derived from the sample prompts on the Ahrefs help page; the format of the answer depends on the assistant. Ahrefs recommends, especially in ChatGPT (beta), writing the request as explicitly as possible and naming the tool to use; the test request on its Claude setup page also asks for the report by name (last example).
How do you connect Ahrefs MCP?
The steps come from Ahrefs' setup documentation (November 18, 2026). Local setup is no longer supported; the server only works over remote HTTP: https://api.ahrefs.com/mcp/mcp.
- In Claude, open the Customize section, select Connectors and click the + (Add) button.
- Search for "Ahrefs" in the list of approved connectors, click the card and click Connect.
- Choose your Ahrefs workspace and account, and click Allow in the consent window.
- After the confirmation message, Ahrefs appears in your connector list; turn it on in the chat and write your request.
Ahrefs also has a separate setup page for Claude Mobile. According to Anthropic's help page, directory connectors are available to all Claude users; on Team and Enterprise, an Owner or Primary Owner first enables the connector for the organization, then each person connects with their own account. This OAuth connection is the recommended route: no code runs on your computer.
!Ahrefs' Claude desktop page also gives a second route: writing an MCP key generated in Ahrefs into the claude_desktop_config.json file and running the npx mcp-remote bridge. This route runs an unpinned package on your computer with Node.js, and Ahrefs' terms of use say using the endpoint through bridges is not supported; so it is not recommended.
› claude mcp add ahrefs https://api.ahrefs.com/mcp/mcp -t http- Open Claude Code and run
/mcp. - Authenticate the Ahrefs server; sign in to Ahrefs, choose a workspace and click Allow.
- After the success message, run a test query.
!According to Ahrefs, MCP client support in ChatGPT is in beta: it only works on the web, on Pro and Plus accounts, with Developer mode turned on.
- Turn on Developer mode under Settings then Apps then Advanced settings.
- Create app: set MCP Server URL to
https://api.ahrefs.com/mcp/mcpand Authentication to OAuth; leave Client ID and Secret empty. - Check "I trust this application," click Create, then choose your workspace and click Allow.
- Turn on the connector in the chat under + › More.
While it's in beta, Ahrefs recommends naming Ahrefs MCP and the tool to use explicitly in your prompt, stating which fields to pull and how to sort, and asking ChatGPT not to use web search.
The documentation also has setup pages for Copilot Studio, Lovable, n8n, Manus, Mistral's Le Chat and OpenClaw. Ahrefs doesn't allow the endpoint to be used through custom scripts, bridges or standalone HTTP/JSON-RPC clients; for programmatic access it points to the Ahrefs API.
Which assistants does Ahrefs MCP work with?
| Claude (web, desktop, mobile)Yes | "Anthropic verified" in the Claude directory; connects with OAuth. |
|---|---|
| Claude CodeYes | Added as a remote server with one command. |
| ChatGPTBeta | Web only, Pro and Plus, Developer mode. |
| Copilot Studio, Lovable, n8n, Manus, Le Chat, OpenClawYes | Setup pages exist in the Ahrefs documentation. |
| Cursor, VS CodeUnclear | Not in Ahrefs' setup list; the documentation says in general terms that it can be used with any tool that supports MCP. |
What can Ahrefs MCP access?
The 61 tools in the Claude directory: Site Explorer, Keywords Explorer, SERP overview, Rank Tracker, Site Audit, Brand Radar, batch analysis, project and list management, subscription usage. Ahrefs' group table also has Web Analytics, Google Search Console, social media and Content Helper groups; they don't appear in the directory list.
The names of the 61 tools in the Claude directory are report and listing operations. The official documentation doesn't list which tools write to the account; in "search" mode, each operation carries a label showing whether it is read-only or destructive.
The connection creates a separate MCP-scoped key in your account. MCP keys and regular API keys aren't interchangeable; according to Ahrefs, only Enterprise customers can also connect with their own API keys.
The Ahrefs data that is read passes to the assistant you connected. Under Ahrefs' terms, your use of the assistant is governed by that assistant's own terms.
If the connector is set to "Always ask permission" in Claude, you are asked before every query; Ahrefs mentions the "Allow unsupervised" option for uninterrupted use. Since every call uses units even for read tools, keeping permission prompts on makes spending easier to see.
As a remote service, no package is installed; a GitHub security advisory check does not apply. This is not a security certification.
Is Ahrefs MCP free, and which plan do you need?
There is no extra fee for MCP itself, but it uses the API units in your Ahrefs plan. MCP is only on paid plans from Lite up; it's not on the $29/month Starter or on free Ahrefs.
| Plan | Monthly price | Monthly API units | Max rows per request |
|---|---|---|---|
| Lite | $129 | 200,000 | 100 |
| Standard | $249 | 800,000 | 250 |
| Advanced | $449 | 2,000,000 | 500 |
| Enterprise | Through sales | 4 million or custom (pricing page) | Unlimited |
Unit math: every paid call costs at least 50 units. If the report returns rows, the cost is "per-row cost × number of rows"; each field costs 1 unit, and some metrics cost 5 or 10 units. For example, a backlinks query in Ahrefs' documentation returns 500 rows at 12 units per row and uses 6,000 units. Requests served from cache use no units; the Rank Tracker, Management and Public endpoints are free. Units are shared between MCP, Ahrefs Connect and direct API use; you can see usage under Account settings then Limits and usage.
Prices are from the Ahrefs pricing page (November 18, 2026), billed monthly, excluding tax; annual billing saves "up to 17%." Brand Radar AI starts at $199/month as a separate product. Ahrefs says it does not issue refunds in general, but on monthly subscriptions you can request one if you haven't used the service. Accepted cards are Visa, Mastercard, American Express and UnionPay; there is no payment information specific to Turkey in the official sources. This is not financial advice.
Official pricing page last checked on .
Turkey data and Turkish
| Data by countryPartly | The tools include search volume by country and site metrics by country; the MCP documentation doesn't list the supported countries. For Turkey, name the country explicitly in your request. |
|---|---|
| Replies in TurkishUnclear | The assistant writes the answer; the Ahrefs documentation says nothing about language. |
| Turkish documentationNo | The MCP documentation and help page are in English. |
| Paying from TurkeyUnclear | Prices are in dollars, excluding tax; Visa, Mastercard, American Express and UnionPay are accepted. Payment and TRY invoicing details specific to Turkey are not stated in the official sources. |
Common problems and fixes
| What happens | What to do (Ahrefs documentation) |
|---|---|
| 401 authentication error | Your key may have expired: generate a new one. If your subscription has ended, renew it. Make sure you didn't use an API key instead of an MCP key; they aren't interchangeable. |
| Some tools are missing | The client may be capping the number of tools. Add ?tools=essentials or the groups you need to the connection URL. |
| "invalid tool category" error | Compare the group name with the spelling in Ahrefs' table; essentials can't be combined with other groups. |
| The query waits without answering | If the connector is set to "Always ask permission" in Claude, approve the permission window. Make sure the tools in the query are enabled. |
| Units run out faster than expected | Reduce the number of rows and requested fields; some metrics cost 5 or 10 units per row. OAuth keys have a default monthly limit of 200,000 units, which an admin can change. |
Disconnecting it
The Ahrefs documentation doesn't separately describe how to disconnect. The connection lives in your Ahrefs account as an API key labeled MCP; the Account Settings then API Keys page shows these keys. On the assistant side, you remove the connector from the connector list (Connectors in Claude); in Claude Code, you delete the server entry you added.
Related tools in the atlas
Ahrefs gives estimated web data from the outside; your own site's real data in Google comes from Search Console. Ahrefs' group table includes a Search Console group too (it doesn't appear in the Claude directory list); the data still comes from your Google account.
The official connector that does the same job with Semrush data: Semrush MCP.
To read your own site's Google search performance directly from Search Console: Search Console MCP.
For technical SEO and AI search readiness audits of your site in Claude Code: the Claude SEO plugin.
An open-source tool for measuring visibility in AI answers: NiubiGEO.
Frequently asked questions
How do I connect Ahrefs MCP to Claude?
In Claude, open Connectors from the Customize section and click +, find Ahrefs and click Connect, choose your Ahrefs workspace and click Allow in the consent window. The connector appears in your list.
Is Ahrefs MCP free?
There is no extra MCP fee, but it is only on paid Ahrefs plans from Lite up and uses the plan's API units. Lite costs $129 a month and comes with 200,000 API units a month.
How many API units does Ahrefs MCP use?
Every paid call uses at least 50 units; for reports that return rows, the cost is the per-row cost times the number of rows. Cached requests and the Rank Tracker, Management and Public endpoints use no units.
How do I add Ahrefs MCP to Claude Code?
Run claude mcp add ahrefs https://api.ahrefs.com/mcp/mcp -t http in the terminal, authenticate the server with /mcp in Claude Code, then sign in to Ahrefs and click Allow.
Does Ahrefs MCP work in ChatGPT?
Yes, but according to Ahrefs it is in beta: only on the web, on Pro and Plus accounts with Developer mode turned on. Ahrefs recommends naming the tool to use explicitly in prompts.
Does Brand Radar data come through MCP?
Yes, the Brand Radar tools are in MCP. According to Ahrefs, requests that look at AI Overviews and AI Mode answers require a separately purchased Brand Radar add-on.
Can I install Ahrefs MCP on my own computer?
No. Ahrefs no longer supports local setup; there is only the remote server on api.ahrefs.com.
Related guides
Sources
- Ahrefs Docs: What is Ahrefs MCP
- Ahrefs Help: Getting started with Ahrefs MCP
- Ahrefs pricing page
- Ahrefs Docs: tool categories
- Ahrefs Docs: Claude setup
- Ahrefs Docs: ChatGPT setup
- Ahrefs API: unit consumption
- Claude Marketplace: Ahrefs
- Claude Help: connectors (plans, Team and Enterprise)
Not clear in the official sources: Which tools write to the Ahrefs account (the documentation doesn't list them one by one) · the difference in scope between Brand Radar on the Lite plan and the separate Brand Radar AI product · the coverage of keyword and ranking data for Turkey (no country list in the MCP documentation) · whether the Web Analytics, Search Console, social media and Content Helper groups work through the Claude directory connection (they aren't in the directory list) · payment and TRY invoicing specific to Turkey. Each is covered in its section.





