# Ahrefs (verified)

Track backlinks, keywords, and site rankings. Analyze competitor domains, audit SEO health, and monitor organic traffic trends.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add ahrefs

# Browse available tools
npx -y @smithery/cli@latest tool list ahrefs

# Get full schema for a tool
npx -y @smithery/cli@latest tool get ahrefs site-explorer-domain-rating-history

# Call a tool
npx -y @smithery/cli@latest tool call ahrefs site-explorer-domain-rating-history '{}'
```

## Direct MCP Connection

Endpoint: `https://ahrefs.run.tools`

## Tools (108)

- `site-explorer-domain-rating-history` — Retrieves the historical domain rating data for a specified domain or URL over a defined date range and grouping interv…
- `site-explorer-organic-competitors` — Retrieves a list of organic search competitors for a specified website or URL, providing comparative SEO metrics such a…
- `rank-tracker-overview` — Provides an overview of tracked keyword rankings and related search metrics for a specified project and date, with supp…
- `brand-radar-mentions-history` — Provides the historical number of mentions for your and competitors's brands in an LLM you specify. Use doc tool first …
- `brand-radar-impressions-overview` — Provides the number of impressions for your and competitors's brands in an LLM you specify, with filters for locations,…
- `web-analytics-source-channels-chart` — Returns time-series chart data grouped by source channel (e.g., organic, paid, social, direct) for a Web Analytics proj…
- `serp-overview` — Returns an overview of the top search results (SERP) for a specified keyword and country, including detailed metrics ab…
- `web-analytics-entry-pages` — Returns entry page statistics for a Web Analytics project, showing which pages visitors land on first, including visito…
- `site-explorer-refdomains-history` — Provides historical data on referring domains linking to a specified target (domain or URL) over a defined date range, …
- `gsc-metrics-by-country` — Returns Google Search Console click metrics grouped by country for a project. Use doc tool first to get the real input …
- `doc` — Full documentation for Ahrefs API v3 and the corresponding MCP tools. You must use this tool to get the input schema fo…
- `keywords-explorer-volume-history` — Retrieves historical search volume data for a specified keyword within a given country and date range. Use doc tool fir…
- `subscription-info-limits-and-usage` — Retrieves subscription information including limits and usage statistics for API units, workspace quotas, and API key d…
- `brand-radar-sov-history` — Provides the historical share of voice for your and competitors's brands in an LLM you specify. Use doc tool first to g…
- `web-analytics-languages` — Returns visitor data grouped by browser language for a Web Analytics project, showing visitor counts for each language.…
- `rank-tracker-competitors-pages` — Provides an overview of competitor pages and keyword metrics for a specified project and date in Ahrefs Rank Tracker, a…
- `brand-radar-cited-pages` — Provides the pages cited in AI-generated responses that mention your brand or competitors' brands in an LLM you specify…
- `gsc-performance-by-device` — Returns Google Search Console performance metrics (clicks, impressions, CTR, position) broken down by device type (desk…
- `public-crawler-ips` — Returns the list of individual IP addresses currently used by the Ahrefs public web crawler. Use doc tool first to get …
- `web-analytics-countries` — Returns visitor data grouped by country for a Web Analytics project, showing visitor counts for each location. Use doc …
- `web-analytics-exit-pages` — Returns exit page statistics for a Web Analytics project, showing which pages visitors leave from, including visitor co…
- `site-explorer-pages-by-internal-links` — Retrieves a site's or page's internal link metrics, allowing analysis of how pages within the given domain or URL are i…
- `gsc-performance-by-position` — Returns Google Search Console performance metrics (clicks, impressions, keyword count) grouped by position ranges (1-3,…
- `gsc-page-history` — Returns Google Search Console performance history chart data (clicks, impressions, CTR, position) for specific pages ov…
- `site-explorer-outlinks-stats` — Retrieves statistical data about the outbound links (outlinks) from a specified URL, domain, or site section.
- `web-analytics-cities` — Returns visitor data grouped by city for a Web Analytics project, showing visitor counts for each location. Use doc too…
- `brand-radar-mentions-overview` — Provides the number of mentions for your and competitors's brands in an LLM you specify, with filters for locations, qu…
- `web-analytics-source-channels` — Returns traffic grouped by source channel (e.g., organic, paid, social, direct) for a Web Analytics project, including …
- `site-audit-issues` — Returns all issues from your Site Audit crawl. By default, it provides data from the latest available crawl, but you ca…
- `site-explorer-broken-backlinks` — Retrieves a list of broken backlinks (i.e., links pointing to non-functioning pages) for a specified domain or URL, wit…
- `rank-tracker-competitors-stats` — Provides an overview of competitor metrics for a specified project and date in Ahrefs Rank Tracker. Metrics include: sh…
- `web-analytics-utm-params-chart` — Returns time-series chart data grouped by a specified UTM param for a Web Analytics project, showing visitor counts, bo…
- `web-analytics-referrers-chart` — Returns time-series chart data grouped by referrer for a Web Analytics project, showing visitor counts, bounce rates, a…
- `web-analytics-continents-chart` — Returns time-series chart data grouped by continent for a Web Analytics project, showing visitor counts over time for e…
- `web-analytics-entry-pages-chart` — Returns time-series chart data for entry pages of a Web Analytics project, showing visitor counts and entry rates over …
- `web-analytics-stats` — Returns aggregate statistics for a Web Analytics project, including total visitors, bounce rate, and average session du…
- `site-explorer-backlinks-stats` — Provides backlink statistics for a specified URL or domain as of a given date, with options to control protocol and sco…
- `web-analytics-operating-systems` — Returns operating system statistics for a Web Analytics project, showing visitor counts, bounce rates, and session dura…
- `web-analytics-top-pages` — Returns the most visited pages for a Web Analytics project, including pageview counts, visitor counts, bounce rates, an…
- `brand-radar-ai-responses` — Provides questions asked to AI assistants and the corresponding AI-generated responses that mention your brand or compe…
- `web-analytics-operating-systems-versions-chart` — Returns time-series chart data grouped by OS version for a Web Analytics project, showing visitor counts, bounce rates,…
- `web-analytics-devices-chart` — Returns time-series chart data grouped by device type for a Web Analytics project, showing visitor counts, bounce rates…
- `web-analytics-chart` — Returns time-series chart data for aggregate statistics of a Web Analytics project, with metrics like pageviews, visito…
- `keywords-explorer-overview` — Provides an overview of keyword metrics—including search volume, CPC, ranking difficulty, traffic potential, and intent…
- `site-explorer-url-rating-history` — Retrieves the historical URL rating data for a specified domain or URL over a defined date range, grouped by a chosen t…
- `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 to…
- `web-analytics-sources-chart` — Returns time-series chart data for traffic sources of a Web Analytics project, showing how visitor counts, bounce rates…

---
*Response truncated. Use `npx -y @smithery/cli@latest` for complete data.*
