How to Correctly Connect Ahrefs MCP Server to AI Clients Like Claude and Codex
Ahrefs offers two MCP server options — a deprecated local npm package and a current hosted remote server — and only specific API key types work with each. The hosted remote server at api.ahrefs.com/mcp/mcp requires an MCP-scoped key, which must be generated separately in the Ahrefs account and is not interchangeable with standard API v3 keys. Access to the remote server requires at least a Lite plan subscription, and all billable calls draw from the same monthly API unit budget shared with regular API v3 usage. The older local server, archived on GitHub, accepted only API v3 keys but is no longer maintained and Ahrefs now directs users to the remote server instead. Misconfigured setups often fail silently, showing zero available tools with no error message, making correct key-server pairing critical before any integration work begins.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in