Developer Tools · Data & Analytics

Ahrefs MCP

Analyze backlinks, organic search performance, keywords, competitors, rankings, and other SEO data through Ahrefs' hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Keywords-explorer-volume-history

    Retrieves historical search volume data for a specified keyword within a given country and date range. Requests will not consume API units if you use only "ahrefs" or "wordcount" in the `keywords` or `keyword` query parameter. Use doc tool first to get the real input schema.

  • Management-brand-radar-prompts

    Retrieves custom prompts for a specific brand radar report. Requests to this endpoint are free and do not consume any API units. Use doc tool first to get the real input schema.

  • Management-brand-radar-reports

    Retrieves the list of custom brand radar reports. Requests to this endpoint are free and do not consume any API units. Use doc tool first to get the real input schema.

  • Management-keyword-list-keywords

    Retrieves keywords from a keyword list. Requests to this endpoint are free and do not consume any API units. Use doc tool first to get the real input schema.

  • Management-locations

    Retrieves a list of management locations filtered by country code and optionally by US state. Use doc tool first to get the real input schema.

  • Management-project-competitors

    Retrieves the list of competitors associated with a specific Rank Tracker project in Ahrefs, using the project's unique identifier. Use doc tool first to get the real input schema.

  • Management-project-keywords

    Returns all tracked keywords for a specific Rank Tracker project, including associated tracking metadata. Use doc tool first to get the real input schema.

  • Management-projects

    Retrieves information about existing projects, including ownership, access type, presence of Rank Tracker keywords, and project ID. Use doc tool first to get the real input schema.

  • Public-crawler-ip-ranges

    Returns the IP ranges used by the Ahrefs public web crawler, typically for allowlisting or firewall configuration. Use doc tool first to get the real input schema.

  • Public-crawler-ips

    Returns the list of individual IP addresses currently used by the Ahrefs public web crawler. Use doc tool first to get the real input schema.

  • Public-domain-rating-free

    Retrieves the domain rating for a specified domain or URL as of today. Use doc tool first to get the real input schema.

  • Public-domain-rating-top-domains

    Returns the top 1M domains ranked by Ahrefs Domain Rating, together with each domain's current Domain Rating. Use doc tool first to get the real input schema.

  • Rank-tracker-competitors-domains

    Provides an overview of competitor domains and their share of voice for a specified project and date in Ahrefs Rank Tracker, allowing comparison between current and previous data. Use doc tool first to get the real input schema.

  • Rank-tracker-competitors-overview

    Provides an overview of competitor rankings and keyword metrics for a specified project and date in Ahrefs Rank Tracker, allowing comparison between current and previous data. Use doc tool first to get the real input schema.

  • Rank-tracker-competitors-pages

    Provides an overview of competitor pages and keyword metrics for a specified project and date in Ahrefs Rank Tracker, allowing comparison between current and previous data. Use doc tool first to get the real input schema.

  • Rank-tracker-competitors-stats

    Provides an overview of competitor metrics for a specified project and date in Ahrefs Rank Tracker. Metrics include: share of voice, share of traffic value, average position, traffic, traffic value, and positions, and counts of SERP features. Use doc tool first to get the real input schema.

  • Rank-tracker-overview

    Provides an overview of tracked keyword rankings and related search metrics for a specified project and date, with support for historical comparison, filtering, column selection, and device type. Use doc tool first to get the real input schema.

  • Rank-tracker-serp-overview

    Returns SERP overview for a specified keyword in a Rank Tracker project, showing detailed information about each position including title, URL, type, backlink metrics, and traffic data. Use doc tool first to get the real input schema.

  • Render-data-table

    Render an interactive data table widget with sorting, search, and pagination. Accepts column definitions (key and label) and row data. Column types are inferred automatically from the data. IMPORTANT: preserve array values in row data as JSON arrays (e.g. tags: ["tag1", "tag2"]), do not flatten them to comma-separated strings. The source field is optional: set source.tool to the bare tool name without any connector or namespace prefix (e.g. 'site-explorer-all-backlinks' not 'my-connector:site-explorer-all-backlinks'), and source.params to the arguments you passed, to generate an 'Open in Ahrefs' link.

  • Render-scorecard

    Render a scorecard widget showing key metrics as a card grid. Accepts metric cards with labels, raw numeric values, optional unit, optional change indicators, and optional grouping. IMPORTANT: 'value' is a raw number (e.g. 1234567 not '1,234,567' or '1.2M'); the frontend handles all display formatting. Use 'unit' for symbols: '$' for currency, '%' for percentages, 's' for duration in seconds (rendered as e.g. '11m 27s'). Monetary values are in USD cents (not dollars), make sure to divide them by 100 first such that they are displayed in USD. Omit 'value' or pass null for N/A. Change indicators: change.value is a positive number (the percentage amount, e.g. 12.4 for a 12.4% change); change.direction is 'up' or 'down'. When there are more than 4 cards, use the 'group' field to organize them into logical sections (e.g. 'Organic' and 'Paid'). Always include the source field when the data came from an Ahrefs tool call. Set source.tool to the bare tool name without any connector or namespace prefix (e.g. 'site-explorer-metrics' not 'my-connector:site-explorer-metrics'), and source.params to the arguments you passed, to generate an 'Open in Ahrefs' link.

PreviousPage 3 / 7Next