Skip to directory

About Ahrefs MCP

Ahrefs hosted MCP gives supported AI clients scoped access to Ahrefs marketing and search data, with selectable tool groups.

What you can use it for

  • SEO and marketing data
Connection and setup
Hosting
hosted
Transport
Streamable HTTP
Endpoint
https://api.ahrefs.com/mcp/mcp
Authentication
OAuth consent flow; account MCP key and eligible enterprise API keys are alternatives.

Requirements

  • Ahrefs Lite or higher subscription
  • MCP-capable AI client
  • Workspace permission to authorize or generate an MCP key

Setup steps

  1. Add https://api.ahrefs.com/mcp/mcp as a remote Streamable HTTP server.
  2. Use the approved Ahrefs connector/OAuth flow where available, or generate a dedicated MCP key under Ahrefs workspace ? Account Settings ? API Keys and store it as a Bearer token.
  3. Review workspace plan limits and API-unit allowance; calls consume Integration API units.
  4. Verify read access with a modest, non-destructive keyword or domain query.
Tools 12+

The user-provided Ahrefs MCP view shows 12 read-only tools. Official Ahrefs docs describe a larger configurable inventory with tools grouped by category; this 12-tool list is the specific view shown, not a universal total.

  • subscription_info

    Account subscription and API unit usage.

    01
  • domain_rating

    Domain Rating score (0–100).

    02
  • backlinks_stats

    Backlink metrics summary (referring domains, live links, DR).

    03
  • backlinks

    List backlinks to a target.

    04
  • refdomains

    List referring domains.

    05
  • site_explorer_overview

    Top-level SEO metrics (organic/paid traffic, keywords, DR).

    06
  • organic_keywords

    Keywords the target ranks for in organic search.

    07
  • organic_competitors

    Top organic search competitors.

    08
  • top_pages

    Target’s top pages by organic traffic.

    09
  • keywords_explorer

    Metrics for one or more keywords.

    10
  • serp_overview

    SERP overview for a keyword.

    11
  • batch_analysis

    Batch analysis of multiple targets in a single request.

    12

This server’s available tools can vary by account, permissions, or configuration. The list shown is not its full runtime catalog.

Limitations and notes
  • Requires Ahrefs Lite or higher paid plan.
  • Requests consume plan API units and rows-per-request limits.
  • Publisher disallows using the external MCP endpoint as a general-purpose programmatic API.
Source discrepancies
  • The directory identity may resolve to the archived local GitHub implementation, but Ahrefs states this local server is unsupported and superseded by its hosted remote MCP. This record documents the currently supported hosted implementation and flags legacy repository status.
Original sources
  • Source

    Recorded fields: plan restrictions, API unit usage, no local setup support.

  • official publisher documentation

    Official docs confirm remote endpoint and plan/usage requirements but not exact tool identifiers.

  • Source

    Recorded fields: official product overview and use cases.

  • official tool categories

    Documents selectable tool groups and says all tools are advertised when tools parameter is omitted, but does not expose exact identifiers.

  • official documentation

    Current publisher or maintainer documentation reviewed 2026-10-28T19:00:00.000Z.

  • official crawl4ai verification

    Crawl4AI 0.9.5 fetched the official page successfully; it documents 20 selectable groups and always-included helper tools. User-provided MCP UI screenshot establishes the specific 12-tool read-only snapshot recorded as rows.

Documentation checked 2026-10-29T00:00:00Z. Connection has not been runtime tested.