Ahrefs MCP Server
Ahrefs backlink, keyword, rank tracking, Search Console and AI visibility data inside Claude.
Officialby AhrefsHosted, nothing to installChecked November 8, 2026
Ahrefs hosts an official MCP server that lets Claude query your Ahrefs account: backlinks, organic keywords, SERPs, Rank Tracker, Site Audit, Brand Radar AI visibility and connected Search Console data. It works on paid plans from Lite up, and every call spends API units from your plan; connections made by sign-in are capped at 200,000 units a month by default (Ahrefs docs, checked November 8, 2026).
Who is Ahrefs MCP for?
- SEO specialists and agencies
- Content marketers planning topics
- Founders keeping an eye on competitors
What can you ask Ahrefs MCP to do?
Once it is connected, ask in plain words. Your AI tool decides when to use the server and asks before it changes anything important.
Compare the backlink profiles of our site and our two main competitors, and list referring domains that link to them but not to us.Find low-difficulty keywords about meal prep with at least 500 monthly searches in the US and group them by search intent.How often is our brand mentioned in ChatGPT answers compared with our competitors this month?How to connect Ahrefs to Claude
MCP is an open standard. The setup steps below cover this server in Claude Code, Claude app, Codex, ChatGPT, Cursor, VS Code, Gemini CLI, Antigravity, OpenCode, Windsurf. Pick your tool:
New to MCP? Read what an MCP server is and how to add one.
Connect the Ahrefs MCP server to Claude Code for me: run this command: claude mcp add ahrefs https://api.ahrefs.com/mcp/mcp -t http
If a value starts with YOUR_, ask me for it first. When it is connected, help me sign in if needed and show me one thing I can ask it to do.Or do it yourself:
claude mcp add ahrefs https://api.ahrefs.com/mcp/mcp -t httpType /mcp inside Claude Code, pick the server and choose Authenticate to sign in.
Hosted address: https://api.ahrefs.com/mcp/mcp
Unlock the setup steps
Free. Leave your email once to open the setup steps for all 152 servers, and get the best new connectors each month.
Good to know
Run /mcp in Claude Code, log in to Ahrefs, pick a workspace and click Allow. If your client caps how many tools a server may list, connect to https://api.ahrefs.com/mcp/mcp?tools=essentials, or name only the groups you need, such as tools=site-explorer-overview,keywords-explorer. You can follow the units Claude spends under Account settings > Limits and usage.
How did we check Ahrefs MCP?
Checked on November 8, 2026: Ahrefs' MCP docs (introduction, tool categories and the Claude Code guide) and the hosted endpoint. We sent it one unauthenticated connection request, which answered with an OAuth challenge for the apiv3-mcp scope (logged). Ahrefs' docs say calling the endpoint from custom scripts is not permitted, so we stopped at that single probe; we have no Ahrefs plan to run reports with, so we did not test any report.
Source: docs.ahrefs.com/en/mcp/docs/introduction
Other official pages we read for this entry:
What do people ask about Ahrefs MCP?
Which Ahrefs plan do I need for MCP?
Any paid plan from Lite up. Each plan sets how many rows an AI agent can pull per request and how many API units you get each month; higher tiers include more, and Enterprise customers can buy unit add-ons.
How many API units can Claude use?
Keys created through the sign-in flow default to 200,000 API units a month each. Workspace admins can change or remove that cap in the API keys report, but your plan's own monthly limit still applies.
Can I use Ahrefs MCP in ChatGPT?
Yes. Ahrefs publishes setup guides for ChatGPT on the web, Claude on web, desktop and mobile, Claude Code, Copilot Studio, Lovable, n8n, Manus, Mistral's Le Chat and OpenClaw, all using the same hosted address.
Can I call the Ahrefs MCP server from my own script?
No. Ahrefs' terms say using the MCP endpoint through custom scripts, bridges or standalone JSON-RPC clients is not permitted. For code, Ahrefs points you to its public API instead.
We wrote these answers from the official pages of each product named, read on November 8, 2026.
More SEO and marketing servers
- OpenSEO MCPOpen-source SEO suite for keyword research, rank tracking, audits and AI visibility
- DataForSEO MCP ServerLook up DataForSEO docs and call its SERP, keyword, backlink and audit APIs from Claude
- Semrush MCPSemrush keyword, domain, backlink and traffic reports inside Claude, paid with your plan's API units
Want Ahrefs to work inside your lead, email and social follow-up? Our Autopilot course, in early access, sets up AI automation for your marketing once, without code.
