Ahrefs for AI agents
Ahrefs is an SEO platform offering backlink data, keyword research and site audits. Marketers and SEOs use it to research rankings and diagnose technical search issues. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.
What agents do in Ahrefs.
Check a domain's backlinks
Pull the backlink profile for a domain to see who is linking to it and with what anchor text.
Review organic keyword rankings
List the keywords a site ranks for organically to spot opportunities or drops in visibility.
Run a site audit check
Pull the latest site audit results for a project to flag technical SEO issues.
40 Ahrefs actions, graded by risk.
Every Ahrefs action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.
read
30Look things up. Allowed by default.
- ahrefs.get_serp_overviewGet serp overview
- ahrefs.get_url_rating_historyGet url rating history
- ahrefs.get_site_audit_projectsGet site audit projects
- ahrefs.list_best_by_external_linksList best by external links
- ahrefs.search_suggestions_explorerSearch suggestions explorer
- ahrefs.get_site_explorer_country_metricsGet site explorer country metrics
- ahrefs.get_site_explorer_linked_anchors_externalGet site explorer linked anchors external
- ahrefs.fetch_all_backlinksFetch all backlinks
- ahrefs.retrieve_anchor_dataRetrieve anchor data
- ahrefs.retrieve_related_termsRetrieve related terms
- ahrefs.retrieve_outlinks_statsRetrieve outlinks stats
- ahrefs.retrieve_volume_historyRetrieve volume history
- ahrefs.retrieve_paid_pages_dataRetrieve paid pages data
- ahrefs.retrieve_organic_keywordsRetrieve organic keywords
- ahrefs.fetch_competitors_overviewFetch competitors overview
- ahrefs.retrieve_crawler_ip_rangesRetrieve crawler ip ranges
write
10Create and change things. Allow, or ask the user first.
- ahrefs.batch_url_analysisBatch Url Analysis
- ahrefs.domain_rating_historyDomain rating history
- ahrefs.linked_anchors_explorerLinked anchors explorer
- ahrefs.backlinks_stats_retrievalBacklinks stats retrieval
- ahrefs.explore_keywords_overviewExplore keywords overview
- ahrefs.pages_by_traffic_overviewPages by traffic overview
- ahrefs.domain_rating_for_site_explorerDomain rating for site explorer
- ahrefs.explore_linked_domains_of_a_siteExplore linked domains of a site
- ahrefs.explore_keyword_volume_by_countryExplore keyword volume by country
- ahrefs.explore_matching_terms_for_keywordsExplore matching terms for keywords
destructive
0Delete, cancel or archive. Ask first, or deny outright.
- No destructive actions.
Ahrefs in three steps.
- 01Your users connect AhrefsThey sign in to Ahrefs on Arc0 Connect, under your brand, and approve the access you ask for.
- 02You set the rulesReads run, and writes like “batch Url Analysis” can wait for the user to approve.
- 03Any agent can actYour agent calls Ahrefs through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
await arc0.policies.set('ahrefs', { read: 'allow', write: 'ask', // batch_url_analysis destructive: 'deny', }) # Claude Code: the same connection, one URL $ claude mcp add --transport http arc0 \ https://mcp.arc0.ai/u/u_8f2
How Ahrefs connects.
Users sign in to Ahrefs on Arc0 Connect and approve the scopes you request. Build with Arc0’s Ahrefs OAuth app, or bring your own so the Ahrefs consent screen names you. Tokens refresh automatically, and you can export them whenever you want.
The same Ahrefs connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →
- AUTH
- API key · OAuth 2.0
- CREDENTIALS
- Per-tenant encrypted vault
- MODEL SEES
- Results only, never credentials
- AUDIT LOG
- Every call, on every plan
Use Ahrefs from any agent.
Ahrefs and Arc0, answered.
Can I use Ahrefs with Claude, ChatGPT or Cursor?
Yes. Connect Ahrefs to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Ahrefs actions you allow.
How do users connect Ahrefs?
Users sign in to Ahrefs on Arc0 Connect and approve the scopes you request. Build with Arc0’s Ahrefs OAuth app, or bring your own so the Ahrefs consent screen names you. Tokens refresh automatically, and you can export them whenever you want.
Which Ahrefs actions can my agent take?
40 in total: 30 read, 10 write and 0 destructive, such as “batch Url Analysis”. Your policies decide which of them each agent may call.
Can I make my agent read-only in Ahrefs?
Yes. Allow read actions and deny writes in the Ahrefs policy. Your agent can still look things up, and any write it attempts is blocked and logged.
Can my own backend call Ahrefs too?
Yes. The same Ahrefs connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.
Plug Ahrefs into your agent.
Your users connect Ahrefs once, under your brand. Your agent gets 40 actions behind your policies, with every call on the record.
Free to build · MCP + REST · Audit log on every plan