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.

  • Render-time-series-chart

    Render an interactive time series line chart. Accepts one or more named data series. Supports multi-series with automatic dual Y-axis when 2 series have different units. Features hover tooltip, vertical crosshair, and toggleable legend. IMPORTANT: series names are shown in the chart legend and must be human-readable labels. Convert snake_case identifiers to Title Case (e.g. 'position_1_to_3' becomes 'Position 1 to 3', 'org_traffic' becomes 'Organic Traffic'). Expand abbreviations where possible (e.g. 'ctr' becomes 'CTR', 'org' becomes 'Organic', 'avg' becomes 'Average'). Never pass an empty string as a series name; use a descriptive label like 'Other' or 'Not Set' instead. The source field is optional: set source.tool to the bare tool name without any connector or namespace prefix (e.g. 'brand-radar-sov-history' not 'my-connector:brand-radar-sov-history'), and source.params to the arguments you passed, to generate an 'Open in Ahrefs' link. Unit labels appear next to values in tooltips: only set unit for currencies ('$') or percentages ('%'). Omit unit for all other metrics. Monetary values are in USD cents (not dollars), make sure to divide them by 100 first such that they are displayed in USD.

  • Serp-overview

    Returns an overview of the top search results (SERP) for a specified keyword and country, including detailed metrics about each result like position, backlinks, traffic, domain rating, and related keywords. 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.

  • Site-audit-issues

    Returns all issues from your Site Audit crawl. By default, it provides data from the latest available crawl, but you can also specify a crawl date and time to retrieve historical metrics. Use doc tool first to get the real input schema.

  • Site-audit-page-content

    Returns the HTML and extracted text content of a page from your Site Audit crawl. By default, it provides the latest available snapshot, but you can also specify a crawl date and time to retrieve historical snapshots. You can choose to pull raw HTML, rendered HTML, or page text. The endpoint is available only for projects with verified ownership. Use doc tool first to get the real input schema.

  • Site-audit-page-explorer

    Returns detailed information about pages discovered in a Site Audit project, including URLs, crawl metadata, and selected on-page metrics. Use doc tool first to get the real input schema.

  • Site-audit-projects

    Returns Site Audit project summaries (all projects or a specific project), including health scores, issue counts, and crawled page counts for the latest crawl or a specified historical point in time. Use doc tool first to get the real input schema.

  • Site-explorer-ai-responses-count

    Returns how often AI search platforms cite the target, with the number of citation links and distinct cited pages per platform as of a given date. When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Requests will not consume API units if you use the "ahrefs.com" or "wordcount.com" domains, or any URL from these domains, in the `target` query parameter. Use doc tool first to get the real input schema.

  • Site-explorer-all-backlinks

    Retrieves detailed information about all backlinks pointing to a specified URL or domain, with extensive filtering, sorting, selection, and aggregation options. When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Requests will not consume API units if you use the "ahrefs.com" or "wordcount.com" domains, or any URL from these domains, in the `target` query parameter. Use doc tool first to get the real input schema.

  • Site-explorer-anchors

    Retrieves anchor text and associated backlink metrics for a specified domain or URL, with filtering and selection options. When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Requests will not consume API units if you use the "ahrefs.com" or "wordcount.com" domains, or any URL from these domains, in the `target` query parameter. Use doc tool first to get the real input schema.

  • Site-explorer-backlinks-stats

    Provides backlink statistics for a specified URL or domain as of a given date, with options to control protocol and scope. When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Requests will not consume API units if you use the "ahrefs.com" or "wordcount.com" domains, or any URL from these domains, in the `target` query parameter. Use doc tool first to get the real input schema.

  • Site-explorer-broken-backlinks

    Retrieves a list of broken backlinks (i.e., links pointing to non-functioning pages) for a specified domain or URL, with customizable filtering, field selection, and aggregation options. When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Requests will not consume API units if you use the "ahrefs.com" or "wordcount.com" domains, or any URL from these domains, in the `target` query parameter. Use doc tool first to get the real input schema.

  • Site-explorer-crawled-pages

    Returns a list of pages crawled by Ahrefs for a specified domain or URL, including the page URLs. When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Requests will not consume API units if you use the "ahrefs.com" or "wordcount.com" domains, or any URL from these domains, in the `target` query parameter. Use doc tool first to get the real input schema.

  • Site-explorer-domain-rating

    Retrieves the domain rating and related metrics for a specified domain or URL as of a specific date. Requests will not consume API units if you use the "ahrefs.com" or "wordcount.com" domains, or any URL from these domains, in the `target` query parameter. Use doc tool first to get the real input schema.

  • Site-explorer-domain-rating-history

    Retrieves the historical domain rating data for a specified domain or URL over a defined date range and grouping interval. Requests will not consume API units if you use the "ahrefs.com" or "wordcount.com" domains, or any URL from these domains, in the `target` query parameter. Use doc tool first to get the real input schema.

  • Site-explorer-keywords-history

    Retrieves historical data on the number of organic keywords a specified website or URL has ranked for, segmented by various search position ranges and grouped by a chosen time interval. When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Requests will not consume API units if you use the "ahrefs.com" or "wordcount.com" domains, or any URL from these domains, in the `target` query parameter. Use doc tool first to get the real input schema.

  • Site-explorer-linked-anchors-external

    Retrieves data about external anchor text (the clickable words in outbound links) used on a specified domain, subdomain, or URL, including metrics like dofollow link counts, distinct linked domains, and other attributes about the links. When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Requests will not consume API units if you use the "ahrefs.com" or "wordcount.com" domains, or any URL from these domains, in the `target` query parameter. Use doc tool first to get the real input schema.

  • Site-explorer-linked-anchors-internal

    Retrieves internal anchor text data for a given website or URL, detailing how anchor texts are used in links between pages on the same site. When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Requests will not consume API units if you use the "ahrefs.com" or "wordcount.com" domains, or any URL from these domains, in the `target` query parameter. Use doc tool first to get the real input schema.

  • Site-explorer-linked-domains

    Retrieves information about external domains that are linked from a specified target domain or URL, allowing for filtering, field selection, and various scopes of analysis. When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Requests will not consume API units if you use the "ahrefs.com" or "wordcount.com" domains, or any URL from these domains, in the `target` query parameter. Use doc tool first to get the real input schema.

  • Site-explorer-metrics

    Provides SEO performance metrics for a specified domain, URL, or site section as of a given date, with options to customize search scope, protocol, country, and search volume mode. When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Requests will not consume API units if you use the "ahrefs.com" or "wordcount.com" domains, or any URL from these domains, in the `target` query parameter. Use doc tool first to get the real input schema.

  • Site-explorer-metrics-by-country

    Provides organic and paid search performance metrics for a specified website, broken down by country, for a specific date. When analyzing a domain name, you must use mode=subdomains. Using mode=domain can exclude www and other subdomains. Requests will not consume API units if you use the "ahrefs.com" or "wordcount.com" domains, or any URL from these domains, in the `target` query parameter. Use doc tool first to get the real input schema.

PreviousPage 4 / 7Next