Reference
Ahrefs tools: every read and write tool the agent and MCP can call
TL;DR
28 read and 2 write tools. Read and write support for the operations listed.
Support and limitations
- Read and write support for the operations listed.
- Permissions: the connected login's role and the permissions it granted decide what each tool can read or change. A tool the login cannot use answers with what is missing; it never works around it.
- Approvals: in the app, changes wait for approval unless the task runs with auto-approve. Over MCP and REST they follow the credential's setting (an API key applies ordinary changes at once unless it is set to require approval; a third-party OAuth connection waits). 1 write is marked “Person approves”: it waits for a person on every lane — only the workspace's own OAuth app and an API key an admin set to apply changes you can't take back skip that wait. Forbidden Rules can block any of them.
- Operations the platform's API does not offer, and operations not in the catalog, are not available through these tools.
Read tools (28)
| Tool | What it does |
|---|---|
ahrefs__limits_and_usage | The connected Ahrefs plan and its API units: the workspace's monthly limit and usage, this app's cap and usage, the reset date and when the connection expires. |
ahrefs__domain_rating | Domain Rating and Ahrefs Rank of a site on a date. |
ahrefs__site_metrics | Organic and paid search metrics of a site (keywords, traffic, traffic value — USD cents). |
ahrefs__backlinks_stats | Backlink and referring-domain counts (live and all time). |
ahrefs__backlinks | Backlinks of a site or page (default fields url_from, url_to, anchor, domain_rating_source, traffic, is_dofollow, first_seen, last_seen). |
ahrefs__refdomains | Referring domains (default fields domain, domain_rating, dofollow_links, links_to_target, first_seen, last_seen). |
ahrefs__anchors | Anchor texts pointing at a site. |
ahrefs__organic_keywords | Keywords a site ranks for in Google (default fields keyword, best_position, best_position_url, volume, sum_traffic, keyword_difficulty, cpc). |
ahrefs__top_pages | A site's pages by organic traffic (default fields url, sum_traffic, keywords, top_keyword, top_keyword_best_position, value). |
ahrefs__organic_competitors | Sites competing for the same organic keywords (default fields competitor_domain, keywords_common, keywords_competitor, share, traffic, domain_rating). |
ahrefs__metrics_history | Organic / paid traffic and cost over time. |
ahrefs__domain_rating_history | Domain Rating over time. |
ahrefs__keywords_overview | Search volume, difficulty, CPC (USD cents), clicks and traffic potential of keywords (default fields keyword, volume, difficulty, cpc, traffic_potential,… |
ahrefs__matching_terms | Keyword ideas containing the seed terms. |
ahrefs__related_terms | Related keyword ideas (also rank for / also talk about). |
ahrefs__search_suggestions | Search-box suggestions for the seed keywords. |
ahrefs__keyword_volume_history | Monthly search volume of ONE keyword over time. |
ahrefs__serp_overview | The Google results page for ONE keyword with each result's metrics (default fields position, url, title, domain_rating, url_rating, backlinks, refdomains,… |
ahrefs__list_projects | The connected account's Rank Tracker projects (project_id, name, target url, keyword count). |
ahrefs__list_project_keywords | The keywords tracked in one Rank Tracker project (with location and tags). |
ahrefs__list_project_competitors | The competitors of one Rank Tracker project. |
ahrefs__rank_tracker_overview | Tracked keyword positions of a Rank Tracker project on a date, with the change since date_compared (default fields keyword, position, position_prev,… |
ahrefs__rank_tracker_competitors | Competitors' positions on the tracked keywords of a Rank Tracker project. |
ahrefs__site_audit_projects | Site Audit projects with their health score and URLs with errors / warnings / notices. |
ahrefs__site_audit_issues | The issues a Site Audit project found (name, importance, pages affected, new / removed since date_compared). |
ahrefs__site_audit_pages | Pages of a Site Audit crawl, optionally only those with one issue (Page explorer). |
ahrefs__batch_analysis | Domain Rating, backlinks, referring domains and organic metrics for up to 100 sites or pages in ONE request (cheaper than one call each). |
ahrefs__get | Any documented GET of Ahrefs API v3 by path on the connection (e.g. site-explorer/pages-history, keywords-explorer/volume-by-country, management/locations)… |
Write tools (2)
A write marked “Person approves” waits for a person on every lane; the others follow the approval setting of the app or the credential.
| Tool | Approval | What it does |
|---|---|---|
ahrefs__add_project_keywords | Approval setting | Add keywords to a Rank Tracker project (they count against the Ahrefs plan's tracked keywords). |
ahrefs__remove_project_keywords | Person approves | Remove tracked keywords from a Rank Tracker project — their ranking history in that project goes with them, so a person decides on every lane. |
Authorized raw requests
ahrefs__raw_request takes a request in Ahrefs's own format and routes it through the family's own gateway tool, so the same account binding, approvals and refusals apply. It needs the tools:raw scope and is found through search_tools or the REST tool list. It reads only: Ahrefs' API is read-only here.
Related pages
Frequently asked questions
- How many Ahrefs tools are there?
- 30: 28 read and 2 write, of which 1 always wait for a person. The list on this page is the complete catalog for Ahrefs.
- Can an agent call the Ahrefs API directly?
- ahrefs__raw_request takes a request in Ahrefs's own format and routes it through the family's own gateway tool, so the same account binding, approvals and refusals apply. It needs the tools:raw scope and is found through search_tools or the REST tool list. It reads only: Ahrefs' API is read-only here.