Ahrefs MCP server for 

AI agents
Ask Claude, ChatGPT or Cursor about backlinks and top pages, with Search Console and GA4 next to them.
No card needed. Works with any MCP client.
LemonadoAhrefs MCP
Ask about referring domains and Domain Rating in Claude, ChatGPT or any AI agent, from live Ahrefs data.
What is the Ahrefs MCP server?
Lemonado's Ahrefs MCP server gives Claude, ChatGPT and other AI apps your Ahrefs data: backlinks, referring domains, organic keywords and top pages, for your site and any competitor. Connect Ahrefs to Lemonado, connect Lemonado to your AI, and ask which links you lost, which pages earn the traffic and where competitors beat you. The same connection reaches Search Console and GA4, so estimates sit next to your real clicks and conversions.
All your Ahrefs data
Backlinks, new and lost, ready to ask about.
Always today's numbers
Organic keywords and positions, synced from Ahrefs automatically, so answers use today's numbers.
Connect all your tools
Questions like "Do estimates match real clicks?" use Ahrefs and Search Console, Semrush at once.
Connecting takes minutes.
- 1
Connect Ahrefs
Sign in to Ahrefs in Lemonado.
- 2
Copy the server URL
Turn on external access and copy one URL.
- 3
Ask in Claude
Add the URL to Claude and ask away.
Ask it anything.
Claude reads your Ahrefs numbers, explains what moved and turns the answer into an artifact you can share.
Which referring domains did we lose in the last 30 days, sorted by Domain Rating, and which pages were they linking to?
We lost 18 referring domains. The strongest is a DR 74 gear magazine that removed its link to our tent buying guide when it updated the article.
Source: Ahrefs
Which of our pages get the most organic traffic, and which of them lost traffic since last quarter?
The top 10 pages bring 58% of organic traffic. The sleeping bag guide lost 34%; it fell from 2 to 7 for its main keyword.
Source: Ahrefs
Show keywords where two competitors rank and we don't, with difficulty under 20, grouped by topic.
86 keywords in 5 topics. Camp cooking is the biggest: 24 keywords, about 19,000 searches a month, average difficulty 11.
Source: Ahrefs
Find sites that link to two or more of our competitors' guides but not to ours.
41 sites. 9 are gear roundups updated in the last six months, the most likely to add a new brand.
Source: Ahrefs
Compare Ahrefs' estimated traffic for our top 20 pages with Search Console clicks for the same pages last month.
Ahrefs estimates 31,000 visits, Search Console shows 44,500 clicks. The gap is mostly long-tail queries Ahrefs doesn't track.
Source: Ahrefs
Our top Ahrefs pages by organic traffic next to GA4 conversions from organic search on the same pages.
The tent buying guide is 4th for traffic but 1st for conversions. Two top-traffic blog posts convert almost nobody.
Source: Ahrefs
Let Lemonado check Ahrefs for you.
Copy one of these into Lemonado and it runs on a schedule.
Every Monday, list referring domains with DR over 50 that we lost last week, and the page they linked to.
Lost link alert
On the 1st, send organic traffic from Search Console, new and lost referring domains from Ahrefs, and our top 10 pages.
Monthly SEO report
Every week, send any new competitor page that gained over 1,000 estimated visits, with the keywords it ranks for.
Competitor watch
Why Lemonado?
Your whole stack in one connection
Google, Meta, GA4, TikTok and 3,000+ more tools, in every AI app.
No API keys or servers
Sign in once. Nothing to install, host or keep alive.
Scoped to each client
Each connection only reaches the clients you allow. Built for agencies.
Actions with guardrails
Set each action to Off, Ask or Approve. Nothing runs that you haven't allowed.
Use Ahrefs with any AI agent.
Claude
Connect Ahrefs to Claude
ChatGPT
Connect Ahrefs to ChatGPT
Claude Code
Connect Ahrefs to Claude Code
Cursor
Connect Ahrefs to Cursor
VS Code (GitHub Copilot)
Connect Ahrefs to VS Code (GitHub Copilot)
Codex
Connect Ahrefs to Codex
Perplexity
Connect Ahrefs to Perplexity
Google Antigravity
Connect Ahrefs to Google Antigravity
Windsurf (Devin Desktop)
Connect Ahrefs to Windsurf (Devin Desktop)
Zed
Connect Ahrefs to Zed
n8n
Connect Ahrefs to n8n
Is there an official Ahrefs MCP server?
Yes. Ahrefs runs a hosted MCP server on paid plans, and it's listed in Claude's connector directory. Free and trial accounts can't connect. It covers Ahrefs only, so your own clicks from Search Console and conversions from GA4 stay out of the answer.
| Ahrefs' official MCP server | ||
|---|---|---|
| Setup | Paid Ahrefs plan, then connect through OAuth or an MCP key | Sign in once, paste one URL |
| Other platforms | Ahrefs only | Ahrefs plus Search Console, GA4, Google Ads and 3,000+ tools |
| Estimates next to real clicks | No | Yes, with Search Console |
| Reports and alerts on a schedule | No | Yes, in Slack or email |
| Price | Uses your Ahrefs plan's API units | See pricing |
Explore other integrations
All 3,000+ integrations- Google Search ConsoleAsk Claude, ChatGPT or Cursor about your search queries, rankings and lost clicks.
- SemrushAsk Claude, ChatGPT or Cursor about rankings and keyword gaps, with Search Console and Google Ads in the same answer.
- Google AnalyticsAsk Claude, ChatGPT or Cursor about GA4 traffic, conversions and funnels, next to your ad spend.
- Google AdsAsk Claude, ChatGPT or Cursor about your Google Ads campaigns, search terms and spend.
- MixpanelAsk Claude, ChatGPT or Cursor which campaigns bring users who stick, with Mixpanel next to your ad spend.
- PostHogPut PostHog product data next to your ad spend in Claude, ChatGPT or Cursor.
Reading this as an AI agent?
Everything an agent needs to set this up, in plain text. Paste this page's link into your AI app and ask it to connect you, or copy the block.
# Lemonado MCP server for Ahrefs Lemonado is a hosted MCP server that gives AI apps the user's live Ahrefs, plus any other marketing tool they connect (Google Ads, Meta Ads, GA4 and 3,000+ more). - Server URL: https://mcp.lemonado.io/mcp - Transport: Streamable HTTP - Auth: OAuth; the user signs in to Lemonado in the browser. No API keys. - Ahrefs data: Backlinks, new and lost; Referring domains and Domain Rating; Organic keywords and positions; Top pages by estimated traffic; Competitor domains and content gaps; Keyword volume and difficulty - Connecting Ahrefs: Use an Ahrefs account on a paid plan with API access. Free and trial accounts can't share data. - Tools on https://mcp.lemonado.io/mcp (custom connectors, coding agents, n8n): list_objects, get_object_details, execute_sql, get_google_ads_resource_metadata, list_companies, get_company_details, list_actions, get_action_details, execute_action - Lemonado's Claude directory app and ChatGPT plugin (read-only): list_projects, list_project_sources, answer_data_question, explain_metric_change ## Setup 1. The user connects Ahrefs in Lemonado (Connectors) and signs in. 2. In the company's settings → External tools, they turn the connection on and copy the server URL. 3. They add the server URL to their AI app. Setup per app: https://lemonado.io/integrations Docs: https://docs.lemonado.io/mcp-reference Full index for agents: https://lemonado.io/llms.txt
Frequently Asked Questions
You need a paid Ahrefs plan with API access, because the data comes through Ahrefs' API. Free and trial accounts can't share data with any MCP connection, Ahrefs' own included. Requests count toward your plan's API units.
Connect your Ahrefs account in Lemonado, turn on External tools, and add Lemonado to Claude or ChatGPT. Each guide on this page has the exact steps. Use an Ahrefs account on a paid plan with API access. Free and trial accounts can't share data. Then ask something like "Which referring domains did we lose in the last 30 days, sorted by Domain Rating, and which pages were they linking to?"
Yes. It's a standard remote MCP server (https://mcp.lemonado.io/mcp): one command in Claude Code, one entry in Cursor's mcp.json, and an MCP Client Tool with a Lemonado token in n8n. In a coding agent, try "Find URLs with backlinks in Ahrefs that our routes no longer serve, and add redirects to the closest current page."
Yes. Besides answering in Claude or ChatGPT, Lemonado runs Ahrefs reports and alerts on a schedule, in Slack or email. For example: "Every Monday, list referring domains with DR over 50 that we lost last week, and the page they linked to."
It reads your Ahrefs data. Ahrefs stays untouched; the only changes Lemonado can make are in ad accounts you connect, and only once you approve them.
MCP is included in Lemonado's paid plans and in the free trial, so you can try it before you pay.
Still have a question?
Shoot us an email at hello@lemonado.io.
Try for freeStop fighting with data. Start feeding your AI.
Connect your data to AI and free your team from reporting and busywork.
Try Lemonado free