Skip to main content
Ahrefs is a comprehensive SEO toolset for backlink analysis, keyword research, rank tracking, and site auditing. The Ahrefs MCP server lets you access SEO data and analytics using natural language.

What Can It Do?

  • Analyze backlinks and domains with ratings, referring domains, and anchor text
  • Research keywords with volume, difficulty, SERP data, and suggestions
  • Track rankings across projects and competitors
  • Audit sites for SEO issues and page content
  • Monitor brand mentions in AI chatbot responses

Where to Use It

Add Ahrefs as a tool to any agent. The agent can then analyze SEO data conversationally, choosing the right actions based on context. To add an MCP tool to your agent:
  1. Open your agent’s configuration
  2. Click Add toolsConnect an app with MCP
  3. Search for the integration and select it
  4. Authenticate with your account
You can control which tools your agent has access to. After adding an integration, click on it to enable or disable specific tools based on what your agent needs.

In Workflows (Via Agent Node)

For automated pipelines, use an Agent Node with Ahrefs tools. This gives you the flexibility of an agent within a deterministic workflow.

As a Custom MCP Node

You can also create a standalone MCP node for a specific action. This generates a reusable node that performs one task, useful when you need the same operation repeatedly in workflows.
To create a custom MCP node:
  1. Go to your node library and search for the integration
  2. Click Create a node with AI
  3. Describe the specific action you want (e.g., “Get the domain rating for example.com”)
  4. Test the node and save it for reuse
Custom MCP nodes are single-purpose by design. For tasks that require multiple steps or dynamic decision-making, use an agent instead.

Available Tools

Site Explorer

Keywords Explorer

Rank Tracker

Site Audit

Brand Radar

Example Prompts

Use these with your agent or in the Agent Node: Check domain authority:
Analyze backlinks:
Research keywords:
Find competitors:
Audit site health:
Track brand mentions:

Troubleshooting

Agents are smart enough to chain multiple API calls together. For example, asking “Compare our backlink profile with competitor.com” will analyze both domains then present results. If results seem off, check the agent’s step-by-step reasoning.

Need Help?


Use this integration directly in Claude or Cursor. Connect remotely via the Ahrefs MCP server using credentials from your Connectors page.