In short: Ahrefs' official hosted MCP server. Ask an AI client for backlinks, organic keywords, keyword ideas, SERP data and site audit issues from your Ahrefs plan.
What it does
The Ahrefs MCP Server is Ahrefs’ own hosted server. It connects an AI client to the Ahrefs API, so you can ask for backlink, keyword and ranking data in plain language and get answers built from Ahrefs’ index. You add one URL to your client and approve access in your Ahrefs account.
A typical request: “Find keywords where competitor.com ranks in the top 10 and example.com does not rank at all, with at least 500 monthly searches in the US.” The client pulls both sites’ organic keywords, compares them and returns a list you can work from.
Good uses for marketing teams
- Content gap checks against two or three competitors
- Keyword research for a new topic cluster, with volumes and related terms
- Monthly reviews of backlinks, anchors and referring domains
- Turning Site Audit issues into a prioritised fix list for developers
- Checking rank tracking changes for priority keywords before a reporting call
Things to know
- The server needs a paid plan from Lite upwards. Each plan also limits the rows per request and the monthly API units.
- Track usage under Account settings, Limits and usage. Large reports can use many units quickly.
- Most tools read data. A management group can change projects and keyword lists, so leave it out of the tools parameter if you only need reports.
- Ahrefs does not allow calling the MCP endpoint from custom scripts. For automation, use the Ahrefs API.
- ChatGPT support depends on ChatGPT’s developer mode, which Ahrefs describes as beta.
What it can do
- Read Site Explorer metrics such as domain rating, backlinks, referring domains and organic traffic
- Pull detailed reports on backlinks, anchors, organic keywords, competitors and top pages
- Research keywords with volumes, history, matching terms and related terms
- Show the SERP overview for a keyword
- Read Rank Tracker overviews and competitor reports
- List Site Audit projects, issues and page details
- Read Ahrefs Web Analytics, Brand Radar and connected Search Console data
- Manage projects, keyword lists and Brand Radar settings in your account
How to set it up
- Check that your Ahrefs plan is Lite or higher.
- In Claude Code, run the command below, then start Claude Code and run /mcp to authenticate.
- Sign in to Ahrefs, pick a workspace and approve access. Ahrefs creates a dedicated MCP key for the connection.
- For Claude, ChatGPT and other clients, add https://api.ahrefs.com/mcp/mcp as a remote server and follow Ahrefs' client guides.
- Run a simple keyword or domain query to confirm it works.
Command from the publisher’s docs:
claude mcp add ahrefs https://api.ahrefs.com/mcp/mcp -t httpWorks with
Based on the publisher’s documentation and the transport the server uses. Check the publisher’s docs for the latest list.
Questions about Ahrefs MCP Server
Does using the Ahrefs MCP server cost extra?
There is no separate MCP fee, but every request uses API units from your plan's monthly allowance. Keys created through the MCP sign-in start with a monthly limit of 200,000 units each, which workspace admins can change.
Can I still use the local Ahrefs MCP server?
Ahrefs no longer maintains the local server on GitHub and recommends the hosted server instead. The local version only works with API v3 keys.
My client says the server has too many tools. What can I do?
Add a tools parameter to the URL to load only the groups you need, for example ?tools=keywords-explorer,site-explorer-overview. You can also use ?tools=essentials for a curated set.
Sources
We checked this listing against these pages on 29 November 2026.
Spotted something out of date? Email listings@marketingmcphub.com.