Skip to content
Marketing & Analytics

Ahrefs MCP

Lets Claude pull keywords, backlinks, rankings and AI search visibility from Ahrefs.

PaidBy Ahrefs
View on the web

What is it?

Ahrefs is one of the main SEO tools for keyword and backlink data. Its official connector lets Claude run the reports and explain them, like "find 20 low-competition keywords for our running shoes page" or "why did our traffic drop compared with the competitor?"

It's in Claude's connector directory, so on the web or desktop you add it under Settings > Connectors. In Claude Code, run the command below, type /mcp, then log in to Ahrefs and click Allow.

You need a paid Ahrefs plan, Lite or higher. Every call uses API units from your monthly allowance, and a new connection is capped at 200,000 units a month unless your admin changes it. Keep an eye on usage if Claude is running big reports.

What Claude can do once it's connected

  • Research keywords: volume, difficulty, related terms and questions
  • Check a site's backlinks and referring domains
  • Compare your rankings and traffic with competitors
  • Track how often your brand shows up in AI answers
  • Combine several reports into one plain summary with next steps

Install in Claude Code

Open your terminal (the text window where you run Claude Code) in your project folder, then paste this command to connect it:

Command
claude mcp add ahrefs https://api.ahrefs.com/mcp/mcp -t http

The first time you use it, you'll be asked to sign in or paste an API key (a private code from the app that lets Claude use your account).

Who it's for

Marketers and SEO freelancers who already pay for Ahrefs.

Best for

  • Keyword research
  • Competitor gaps
  • Backlink checks
  • AI search visibility

Why it made the list

It's Ahrefs' own server, and Claude is good at turning its dense reports into a short to-do list.

More MCPs like this

  • DataForSEO MCP

    Marketing & Analytics

    Gives Claude live search rankings, keyword volumes and backlink data for any site.

    Paid
  • Google Search Console MCP

    Marketing & Analytics

    Lets Claude analyse your Google search clicks, rankings and indexing problems.

    Free
  • Google Analytics MCP

    Marketing & Analytics

    Lets Claude pull reports from Google Analytics 4 and explain what the numbers mean.

    Free
  • Apollo.io MCP

    Marketing & Analytics

    Lets Claude find leads, enrich contacts and load them into Apollo outreach sequences.

    Freemium