Ahrefs MCP Server

Ahrefs MCP server for SEO and site audit tooling.

Official MCP Server
SKILL.md

Start chatting with Ahrefs tools

Open Studio to chat with Ahrefs right now — the skill is included automatically.

AI Skill
SKILL.md

Domain knowledge for Ahrefs — workflow patterns, data models, and gotchas for your AI agent.

This provider connects to Ahrefs' comprehensive SEO and web analytics platform, offering deep insights into search performance, competitor analysis, and technical site health. Ahrefs maintains one of the world's largest databases of live backlinks and provides enterprise-grade SEO intelligence.

Core Capabilities

Search Performance & Keywords: Track keyword rankings, analyze search volume trends, examine SERP results, and monitor organic search competitors. Access Google Search Console integration for clicks, impressions, CTR, and position data across devices, countries, and date ranges.

Backlink Analysis: Explore comprehensive backlink profiles including referring domains, historical link data, broken backlinks, and internal linking structures. Analyze outbound link patterns and track domain rating changes over time.

Site Auditing: Access detailed technical SEO audit results identifying site issues, crawl problems, and optimization opportunities from your Site Audit projects.

AI Content Intelligence: Monitor brand mentions and share-of-voice across large language models, track brand citations in AI-generated responses, and analyze competitive positioning in AI contexts.

Web Analytics: Examine visitor data by geography, language, browser, traffic sources, entry/exit pages, and channel performance for comprehensive site analysis.

Rank Tracking: Monitor keyword position changes, competitor performance, and search visibility metrics across your tracked projects.

Domain Model

The API centers around projects (Rank Tracker, Site Audit, Web Analytics) and targets (domains, URLs, keywords). Most endpoints require specifying a target and optional filters for date ranges, countries, or grouping intervals.

Getting Started

Always use the documentation tool first to understand the exact input schema for any specific endpoint. The API provides 109+ specialized functions with detailed parameter requirements that vary significantly between use cases.

Frequently Asked Questions

What is the Ahrefs MCP server?

Ahrefs MCP server for SEO and site audit tooling. It provides tools that AI agents can use through the Model Context Protocol (MCP).

How do I connect Ahrefs to my AI agent?

Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/ahrefs-mcp. Authentication is handled automatically.

What authentication does Ahrefs require?

Ahrefs uses One-click sign in. Ahrefs requires credentials. Connect via MCPBundles and authentication is handled automatically.

Setup Instructions

Connect Ahrefs to any MCP client in minutes

https://mcp.mcpbundles.com/bundle/ahrefs-mcp

What is MCP?

Model Context Protocol lets AI tools call external capabilities securely through a single URL. This bundle groups tools behind an MCP endpoint that many clients can use.

Use this bundle in 3 steps

  1. Copy the MCP URL above
  2. Open your AI tool and add a new MCP/connector
  3. Paste the URL and follow any auth prompts

Claude Desktop Users

Skip the manual setup! Use the .mcpb file format for one-click installation. Check the Claude Desktop tab for setup instructions.

Pick your tool tab for exact steps

Select ChatGPT, Cursor, Claude Code, or another tab for copy-paste config.

Ready to use Ahrefs?

Open Studio and start using the tools right now — no setup required

Ahrefs MCP Server & Skill