What agents do with Ahrefs
- Build a Backlink Report With AhrefsAn agent reads available Ahrefs referring-domain, backlink and anchor data, then returns a monthly report with evidence for reclamation work.Every monthly link reviewRun it
- Find Broken Backlinks With AhrefsYes. An agent reads Ahrefs backlinks that land on 404 pages and returns a CSV of redirect targets plus a short summary.Every weekly crawlRun it
- Content Audit: Which Pages to Keep, Update or CutContent planning software gives each customer an agent that reads their Ahrefs data and sorts every blog page into keep, update, merge or cut for an editor.Every quarter, per customer blogRun it
- Find Content Gaps With AhrefsYes. An agent reads top pages for your domain and two competitors through your Ahrefs connection and returns content-gap.md ranked by traffic.Every Monday morningRun it
- SEO Audit Report From Ahrefs for Each ClientClient-reporting software for marketing agencies gives each agency an agent that reads its Ahrefs Site Audit and writes every client's monthly SEO audit report.Every month endRun it
- AI Brand Monitoring: Track Your Brand in AI AnswersSEO reporting software makes one agent per agency that reads Ahrefs Brand Radar weekly and reports where each client is mentioned, lost or criticized in AI answers.Every Monday morningRun it
- What Moved in Each Client's Rankings This Week? An SEO Agency's Monday Rank Tracker Summary From AhrefsAn SEO agency's agent reads each client's Ahrefs Rank Tracker project every Monday and writes what moved, which page now ranks, and a note for the account manager.Every Monday morningRun it
- Run an SEO Audit on a Next.js SiteYes. An agent pulls Ahrefs site-audit issues for a Next.js blog and maps each one to the file that renders the page.Every weekly crawlRun it
How it works
- Connect Ahrefs once
Sign in under Settings → Connections. Rush keeps the sign-in; no script or laptop holds a token.
- Hand an agent the work
From the console, on a schedule, or with one API call that names
ahrefs. - Get the result back
Files, an answer or a PR, with a record of every step the agent took.
Agents that use Ahrefs
For developers: how Ahrefs connects
Ahrefs is a remote MCP server, published by Ahrefs, at https://api.ahrefs.com/mcp/mcp. Connecting it signs in through the MCP OAuth flow on Ahrefs's side.
From Ahrefs: Ahrefs's MCP documentation.
Connect it once in the console under Settings → Connections, or from your server with POST /me/connections. The sign-in finishes in a browser signed in to the console as the same person, and a link not finished within 10 minutes expires.
After that, a run that names ahrefs in connections, or runs a saved agent that names it, gets it; your connections reach no run that does not name them.
POST https://api.phoenix.so/me/connections
{
"type": "mcp",
"name": "Ahrefs",
"url": "https://api.ahrefs.com/mcp/mcp"
}Whose Ahrefs account the agent uses
Your Ahrefs connection is personal: it belongs to the person who signed in. A run started in the console uses that person's Ahrefs, and a run started with an API key uses the Ahrefs of the member who created the key.
To act for your own app's users, make each user an agent from your template and show them, signed in to your app, the sign-in link POST /o/{org}/agents/{agent}/connections returns. They sign in to their own Ahrefs, and that agent's runs use their account and nothing else: never yours, never another user's.
More Marketing integrations
Frequently asked questions
How do I connect Ahrefs to Rush?
Open Settings → Connections in the console and connect Ahrefs, or send POST /me/connections with {"type":"mcp","name":"Ahrefs","url":"https://api.ahrefs.com/mcp/mcp"} and open the authorize_url it returns while signed in to the console. The connection reads pending until the sign-in finishes, then connected.
Does every run get my Ahrefs account?
No. A run gets your Ahrefs connection only when it names it in connections ("connections": ["ahrefs"]), or runs a saved agent that names it. A saved agent names its connections once, and every run of it gets them.
What can an agent do in Ahrefs?
Query your Ahrefs SEO data. Uses your monthly Ahrefs API units and needs a Lite plan or higher. 8 published jobs use it; this page lists them.
Can my app's users connect their own Ahrefs?
Yes. Make each user an agent from your template, and they sign in to their own Ahrefs through the link POST /o/{org}/agents/{agent}/connections returns. That agent's runs use their account alone.
Keep reading
- AI agents for marketing teams: every job and app for them
- How connections work: sign in once, then every run that names a connection gets it
- Start your first run from the developer API quickstart
- Pricing: one price per member, hours shared by the team
- How Rush compares with other cloud agents
- Every app and MCP server Rush connects to