MCP Ecommerce
A

SEO

Ahrefs MCP

Ahrefs' hosted MCP server gives AI assistants access to Ahrefs API data such as organic traffic, keyword gaps, backlinks and Site Audit issues. It is available on Lite, Standard, Advanced and Enterprise plans and draws API units.

Ahrefs MCP setup guide: Ahrefs's MCP documentation page on ahrefs.com, shown in a browser frame (seo MCP server for e-commerce)
Ahrefs MCP setup guide preview: Ahrefs’s documentation on ahrefs.com, captured Nov 10, 2026. The page may have changed since; the link opens the live version.

What it is and why it matters

Ahrefs MCP is a remote server hosted by Ahrefs that lets an AI assistant such as Claude, ChatGPT or Microsoft Copilot Studio pull data from the Ahrefs API through chat. You can ask about organic traffic trends, competitor keyword gaps, backlink profiles, broken backlinks, domain metrics, Site Audit issues and Page Explorer details without writing code. According to the vendor, it is available on the Lite, Standard, Advanced and Enterprise plans.

It suits SEO agencies and in-house teams that already pay for Ahrefs and want to run research they already understand at larger scale, such as checking 20 competitor domains in one table. Results depend on three things: your plan (it sets how many rows come back per request), how many API units a request uses, and how specific your prompts are. The vendor advises starting requests with "Use the Ahrefs MCP server" so the assistant does not fall back to a general web search. Treat the output as a second perspective, not a replacement for manual checks.

What it does

  • Track organic traffic trends and competitor keyword gaps
  • Compare backlink profiles and find broken backlinks
  • Batch-analyse domain metrics
  • Surface Site Audit issues and Page Explorer details

Best for

SEO agencies and in-house teams already paying for Ahrefs.

How to connect it

  1. Confirm that your Ahrefs account is on a Lite, Standard, Advanced or Enterprise plan, and check how many API units you have available, since MCP requests draw on them.
  2. Open the Ahrefs MCP help docs and find the guide for your AI assistant. The documentation text mentions guides for five tools, including Claude, ChatGPT and Microsoft Copilot Studio.
  3. Follow that guide to link your Ahrefs account to the assistant. If your assistant asks for a remote connection URL, the vendor lists https://api.ahrefs.com/mcp/mcp.
  4. Sign in to Ahrefs when prompted and approve the connection. Check the permissions shown on the screen and the vendor documentation for what the connection can access.
  5. Start with a small test prompt that names the server, for example: "Using the Ahrefs MCP server, list the closest organic search competitors for [your domain]." Check that the answer matches what you see in Ahrefs.
  6. Move to larger multi-domain or backlink requests only after you have seen how many units a simple request uses.

Exact commands and addresses change. Use the official documentation for the current steps.

Installation guide for Ahrefs MCP

Client-by-client steps, what to prepare, the first prompts to run and fixes for common errors.

ClaudeChatGPTGeminiMicrosoft CopilotPerplexityCursorClaude Code
→

Questions you can ask it

  • Using the Ahrefs MCP server, tell me which of these 10 competitor domains grew organic search traffic from January 2025 to September 2025.
  • Using the Ahrefs MCP server, which first-page Google rankings does [competitor] have that my store does not?
  • Using the Ahrefs MCP server, find broken backlinks pointing to URLs under [competitor.com/blog/], focus on high DR links and show one link per domain.
  • Using the Ahrefs MCP server, make a table of Domain Rating, organic traffic and top 3 keyword counts for these 20 domains.

What it cannot do

  • It cannot change anything in your store or website. It only reads Ahrefs data, so you still need your own tools to make fixes found in Site Audit.
  • It does not remove the limits of your plan. Rows returned per request depend on your Ahrefs plan, and large requests can use many API units and take 10 minutes or more.
  • It does not always route to Ahrefs by itself. The assistant may search the web instead unless you name the Ahrefs MCP server, and the AI can make findings sound simpler than they are.

Staying safe

  • Access is read-only, so the main risk is spending API units, not changing data. Start with narrow prompts and avoid open-ended requests across many domains or keywords until you know the cost.
  • Your Ahrefs account data, including any projects and Site Audit results, may be exposed to the AI assistant you connect. Use an assistant and workspace your company has approved, and agencies should keep client projects separate where possible.
  • The vendor notes that ChatGPT's MCP connectors are in beta. Check results against Ahrefs itself before sending client reports or making budget decisions, and do not use the older unmaintained npm package in place of the hosted server.

Watch out for: Heavier queries consume API units, rows per request depend on plan, and the older npm package is unmaintained.

Frequently asked questions

+

Does Ahrefs MCP cost extra?

The documentation says it is available on Lite, Standard, Advanced and Enterprise plans and draws on your API units. It does not give prices here, so check your plan and unit balance in Ahrefs and follow the vendor documentation. Heavier requests, such as many domains or backlink profiles, use more units.

+

Which AI assistants work with Ahrefs MCP?

The vendor's help docs include setup guides for five AI tools, including Claude, ChatGPT and Microsoft Copilot Studio. The article's author prefers Claude, noting that MCP connectors in ChatGPT are in beta. Any other client needs the remote connection URL the vendor lists, as described in the documentation.

Step-by-step: install Ahrefs MCP in Claude, ChatGPT, Gemini, Copilot and more →

+

Why is my assistant not using Ahrefs data?

Assistants do not always choose the MCP server over a web search. The vendor recommends starting prompts with "Use the Ahrefs MCP server" or "Using the Ahrefs MCP server,". If it still fails, check that the connector is enabled in your assistant and that your Ahrefs plan includes access.

Questions and answers

Questions readers and searchers ask about Ahrefs MCP, answered by the site editor from the vendor documentation, plus reader experience. Every comment is reviewed before it appears.

Ask a question or share what worked

Reviewed before publishing. One link max, no HTML.

Related guides

Other servers to compare