Ahrefs
SEO & AI search analytics
About Ahrefs
Ahrefs provides SEO and AI-search analytics for keyword research, backlink analysis, rank tracking, site audits, and brand visibility monitoring. Its MCP connector gives assistants data-backed search context for comparing competitors, finding opportunities, and diagnosing organic performance.
Connection details
https://api.ahrefs.com/mcp/mcpTransport
Streamable HTTP
Authentication
OAuth
Setup
claude mcp add ahrefs --transport http https://api.ahrefs.com/mcp/mcpFrequently asked questions
What is the Ahrefs remote MCP server?
The Ahrefs remote MCP server is a hosted Model Context Protocol endpoint at https://api.ahrefs.com/mcp/mcp, so AI assistants can connect to it without installing or running anything locally.
How do I connect to the Ahrefs MCP server?
Add the endpoint https://api.ahrefs.com/mcp/mcp to any MCP-compatible client such as Claude Code, Cursor, or VS Code. The setup snippets on this page configure each client in one step.
Does the Ahrefs MCP server require authentication?
Yes. Ahrefs uses OAuth: the first time you connect, your MCP client opens a browser window to sign in and authorize access, then reuses the credentials for future sessions.
Which transport does the Ahrefs MCP server use?
Ahrefs exposes a Streamable HTTP endpoint, the transport used by remote MCP servers and supported by all major MCP clients.