Ahrefs MCP server: backlink and keyword research in Claude, Codex or Cursor
Ahrefs reaches Claude, Codex or Cursor through the Agent Planners MCP endpoint with 30 tools (28 reads, 2 changes). Every call uses the connected Ahrefs account's monthly API units (at least 50 a request; Rank Tracker, project lists and the usage read are free), and each answer says how many it used. Ahrefs is in a pilot: it is open to selected workspaces while Ahrefs reviews Agent Planners for Ahrefs Connect, and until Ahrefs activates the app only Ahrefs' free test queries run (ahrefs.com, yep.com and firehose.com as targets; ahrefs, yep and firehose as keywords).
How to configure it
- 1Connect Ahrefs on its card on Integrations — in a pilot workspace.
- 2Create a key in API & MCP (
tools:readfor research; addtools:writefor Rank Tracker keywords) — or sign in from the client with OAuth. - 3Add the server to your client, run
describe_permissions, thenahrefs__limits_and_usageandahrefs__domain_rating.
claude mcp add --transport http agent-planners https://www.agentplanners.com/api/mcp \
--header "Authorization: Bearer $AGENTPLANNERS_API_KEY"What waits for a person, whatever the key allows
- Removing tracked keywords from an Ahrefs Rank Tracker project deletes their ranking history in that project — a PERSON approves it on every lane, even with auto-approve on.
- There is no
ahrefs__raw_request:ahrefs__gettakes any documented GET of Ahrefs API v3 by path, on the same connection.
Frequently asked questions
- How do I connect Claude to Ahrefs?
- In a pilot workspace, connect Ahrefs on its card on Integrations, create an Agent Planners key in API & MCP (or sign in from the client), add the MCP server and call ahrefs__limits_and_usage.
- Do MCP calls use my Ahrefs units?
- Yes — every Ahrefs call uses the connected account's monthly API units, and each answer says how many.