Skip to main content
With the Ahrefs tool, your agents can analyze backlinks, organic keywords, competitors, rankings, and site audits, and read Search Console data and AI brand visibility. Ahrefs builds and maintains this MCP server: an admin connects it once, then anyone can add it to an agent.

What your agent can do in Ahrefs

Ahrefs maintains the list of actions, and it can change at any time. See Ahrefs’ MCP server documentation for the current list. The tools listed in Spaces > Tools > Ahrefs are the ones your agents can use.

Before you start

  • In Dust: you need to be an admin to connect Ahrefs.
  • In Ahrefs: you need a paid Ahrefs plan, Lite or higher. Tool calls use API units from your monthly Ahrefs allowance.

Connect Ahrefs

Only workspace admins can connect Ahrefs.
1

Open the tools of your workspace

Go to Spaces > Tools and click Add tools.
2

Pick Ahrefs

Select Ahrefs, then click Next.
3

Sign in

Keep Personal accounts, selected by default, or pick Shared account. Click Setup connection, then sign in with your Ahrefs account.

Add Ahrefs to an agent

1

Open your agent in the Agent Builder

Create an agent, or open one you can edit.
2

Add the tool

In Capabilities and knowledge, click Add capabilities and select Ahrefs.
3

Say what to analyze

In the instructions, name the domains, competitors, or keywords the agent should analyze.
By default, all Ahrefs tools run without asking (Never ask). Admins can change the level of each tool in Spaces > Tools > Ahrefs > Tools & stakes:
  • High: needs explicit user approval.
  • Low: users can completely disable confirmations.
  • Never ask: runs automatically.
Tools that Ahrefs adds later start at High until an admin changes them.

Preconfigured MCP servers

All the third-party MCP servers you can connect.

Personal vs Shared Credentials

How each connection type works for tools.

Adding an MCP server

Add tools to your workspace and choose who can use them.