Connectors · Marketing & media
Ahrefs MCP server for AI agents.
actionlake is an MCP gateway: one remote MCP server that connects Claude and other MCP clients to Ahrefs and the rest of your systems. It gives your agent 159 Ahrefs actions (138 reads, 13 writes and 8 that wait for a confirmation) and holds the Ahrefs credential itself, so the agent never does. It paces Ahrefs's limits and records every call.
100,000 free calls a month. No card, no email, no password: press Start a free sandbox on the next screen and keep the key it shows you.
claude mcp add --transport http actionlake https://connect.actionlake.com/mcpdo { action: "ahrefs.management.projects_list", intent: "check which Ahrefs account is connected"}# Management: Projects · read · 1 upstream call- 159actionsin one signed file
- 138readlook, never change
- 13writecreate and update
- 8wait for a yesdestructive, confirmed first
Set up
Connect Ahrefs in three steps.
- 01
Add actionlake to Claude.
Run the command once in Claude Code; its consent page can create a free sandbox: 100,000 calls a month, no card. In the Claude app, add a custom connector with the URL below and paste your key on the consent page. Creating a new sandbox from the Claude app is not yet tested by us.
https://connect.actionlake.com/mcp - 02
Connect Ahrefs.
Bearer token. No consent screen: your agent can connect it for you, but the key then passes through your chat. To keep it out of the model's context, paste it in the console instead. actionlake stores what you paste write-only, sealed under your tenant's key.
api_keyAhrefs API key
account { op: "connections.requirements", service: "ahrefs" } # free: exactly what to paste, and what is found for you - 03
Make the first call. Check before a write.
Ask in plain words; Claude picks the action. Before anything changes,
checkvalidates the call and prices it, for free.do { action: "ahrefs.management.projects_list" }# management: projects · read · 1 upstream callcheck { action: "ahrefs.management.projects_create", input: { … } }# free: inputs, permissions, cost and confirmations, nothing sent
Ahrefs at a glance
- Sign-in
- Bearer token. No consent screen: your agent can connect it for you, but the key then passes through your chat. To keep it out of the model's context, paste it in the console instead.
- You provide
api_key- Limits we pace to
- 60 calls a minute, per connection
- API covered
- Ahrefs API v3 (OpenAPI 3.2.0)
api.ahrefs.com/v3 - Built from
- Ahrefs's documentation, read 22 October 2026docs.ahrefs.comdocs.ahrefs.com
- Service file
- Version 1.0.0, signed (Ed25519)
- Cached reads
- 138 of 138 reads, for up to 15 minutes; a write clears what it affects
- Shared entities
- 2, so ask can line Ahrefs up with your other systems
- Data
- Processed and stored in Sydney, Australia. No US region yet
Capabilities
What an AI agent can do in Ahrefs.
159 actions in 15 areas. Every one carries its effect, so a key can allow the reads and hold the rest.
- 138readlook, never change
- 13writecreate and update
- 8destructivewait for a confirmation
Web analytics
3434 read · 0 write · 0 destructive
Web Analytics: Browser Versions · Web Analytics: Browser Versions Chart · Web Analytics: Browsers · Web Analytics: Browsers Chart
Site explorer
2828 read · 0 write · 0 destructive
Site Explorer: Backlinks · Site Explorer: Anchors · Site Explorer: Broken Backlinks · Site Explorer: Crawled pages
Management
268 read · 11 write · 7 destructive
Management: Projects · Management: Add Projects · Management: Update Project · Management: Delete Projects
Brand radar
2222 read · 0 write · 0 destructive
Brand Radar: AI Responses · Brand Radar: AI Responses (JSON-body query) · Brand Radar: Citations · Brand Radar: Citations
GSC
1212 read · 0 write · 0 destructive
Google Search Console: Anonymous queries · Google Search Console: CTR by position · Google Search Console: Keyword history · Google Search Console: Keywords
Social media
96 read · 2 write · 1 destructive
Social Media: Channels · Social Media: Create post · Social Media: Posts · Social Media: Update post
Keywords explorer
77 read · 0 write · 0 destructive
Keywords Explorer: Matching terms · Keywords Explorer: Overview · Keywords Explorer: Related terms · Keywords Explorer: Search suggestions
Rank tracker
66 read · 0 write · 0 destructive
Rank Tracker: Competitors domains · Rank Tracker: Competitors overview · Rank Tracker: Competitors pages · Rank Tracker: Competitors metrics
7 more areas · 15 actions
- Public 5
- Site audit 4
- Competitive analysis 2
- Batch analysis 1
- Content helper 1
- Serp overview 1
- Subscription info 1
Top actions
The Ahrefs API, shaped for agents.
The ids your agent types, what each does, and the one name it shares with other systems. 9 of Ahrefs's 9 action names are shared with at least one other connector, so an agent learns them once.
| Action | What it does | Effect | Same name in |
|---|---|---|---|
ahrefs.management.projects_listManagement: Projects | Projects. | read | work.project.list109 connectors |
ahrefs.management.projects_createManagement: Add Projects | Add Projects. | write | work.project.create102 connectors |
ahrefs.management.projects_deleteManagement: Delete Projects | Delete Projects. | destructive | work.project.delete85 connectors |
ahrefs.social_media.channels_listSocial Media: Channels | Channels. | read | comm.social_account.list4 connectors |
ahrefs.social_media.posts_createSocial Media: Create post | Create post. | write | comm.social_post.create11 connectors |
ahrefs.social_media.posts_listSocial Media: Posts | Posts. | read | comm.social_post.list9 connectors |
ahrefs.site_explorer.anchorsSite Explorer: Anchors | Anchors. | read | this connector |
ahrefs.site_explorer.top_pagesSite Explorer: Top pages | Top pages. | read | this connector |
ahrefs.keywords_explorer.overviewKeywords Explorer: Overview | Overview. | read | this connector |
ahrefs.serp_overview.serp_overviewSERP Overview: SERP Overview | SERP Overview. | read | this connector |
ahrefs.management.keyword_lists_listManagement: Keyword lists | Keyword lists. | read | this connector |
ahrefs.management.keyword_lists_createManagement: Create Keyword list | Create Keyword list. | write | this connector |
Try it
Prompts to paste into Claude.
Each one names the Ahrefs actions it will call, so you know what it reads and what it changes before you send it.
- Readread
Give me a one-line status for every active Ahrefs project.
calls
ahrefs.management.projects_list - Writewrite
Management: Add Projects in Ahrefs. Show me exactly what you will send before you save it.
calls
ahrefs.management.projects_create
Governance for Ahrefs
Destructive actions wait for a yes.
8 Ahrefs actions are destructive. These are all of them:
- Management: Delete Projects
ahrefs.management.projects_delete - Social Media: Delete post
ahrefs.social_media.posts_delete - Management: Delete Keyword lists
ahrefs.management.keyword_lists_delete - Management: Delete Keywords
ahrefs.management.project_keywords_delete - Management: Delete Brand Radar prompts
ahrefs.management.brand_radar_prompts_delete - Management: Delete Competitors
ahrefs.management.project_competitors_delete - Management: Delete Keywords Tags
ahrefs.management.project_keyword_tags_delete - Management: Delete from Keywords list
ahrefs.management.keyword_list_keywords_delete
A destructive action runs only with confirm: true. Under the human policy the agent cannot confirm for itself: the run stops until a named person approves, in the console or from a signed link in an email. The cap on a key is refused before the call is sent, never after.
Management: Delete Projects?
intent: the user asked me to management: Delete Projects
account { op: "keys.create", name: "ahrefs-agent", allowed_actions: ["ahrefs.*"], cap_calls: 2000, confirm_policy: "human_for_writes", approval_rules: [ { match: "ahrefs.management.projects_delete", approver: "[email protected]" }, { match: "ahrefs.social_media.posts_delete", approver: "[email protected]" }, { match: "ahrefs.management.keyword_lists_delete", approver: "[email protected]" } ]}Cost
What Ahrefs costs on actionlake.
Every Ahrefs action is one upstream call, the only thing actionlake bills. Searching, check, cost, account and any call Ahrefs refused with 401, 403, 429 or a 5xx are free. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.
- 1upstream call per actionall 159 Ahrefs actions
- 159actions pageeach page of a long list is one call
- 138reads can be cacheda cache hit costs nothing
- 100,000calls a month, freepaid plans from US$49 a month for 250,000
Action index
Every Ahrefs action.
159 actions by area: the id your agent calls, what it does, and its effect.
Web analytics34
ahrefs.web_analytics.browser_versionsWeb Analytics: Browser Versionsreadahrefs.web_analytics.browser_versions_chartWeb Analytics: Browser Versions Chartreadahrefs.web_analytics.browsersWeb Analytics: Browsersreadahrefs.web_analytics.browsers_chartWeb Analytics: Browsers Chartreadahrefs.web_analytics.chartWeb Analytics: Chartreadahrefs.web_analytics.citiesWeb Analytics: Citiesreadahrefs.web_analytics.cities_chartWeb Analytics: Cities Chartreadahrefs.web_analytics.continentsWeb Analytics: Continentsreadahrefs.web_analytics.continents_chartWeb Analytics: Continents Chartreadahrefs.web_analytics.countriesWeb Analytics: Countriesreadahrefs.web_analytics.countries_chartWeb Analytics: Countries Chartreadahrefs.web_analytics.devicesWeb Analytics: Devicesreadahrefs.web_analytics.devices_chartWeb Analytics: Devices Chartreadahrefs.web_analytics.entry_pagesWeb Analytics: Entry Pagesreadahrefs.web_analytics.entry_pages_chartWeb Analytics: Entry Pages Chartreadahrefs.web_analytics.exit_pagesWeb Analytics: Exit Pagesreadahrefs.web_analytics.exit_pages_chartWeb Analytics: Exit Pages Chartreadahrefs.web_analytics.languagesWeb Analytics: Languagesreadahrefs.web_analytics.languages_chartWeb Analytics: Languages Chartreadahrefs.web_analytics.operating_systemsWeb Analytics: Operating Systemsreadahrefs.web_analytics.operating_systems_chartWeb Analytics: Operating Systems Chartreadahrefs.web_analytics.operating_systems_versionsWeb Analytics: Operating Systems Versionsreadahrefs.web_analytics.operating_systems_versions_chartWeb Analytics: Operating Systems Versions Chartreadahrefs.web_analytics.referrersWeb Analytics: Referrersreadahrefs.web_analytics.referrers_chartWeb Analytics: Referrers Chartreadahrefs.web_analytics.source_channelsWeb Analytics: Source Channelsreadahrefs.web_analytics.source_channels_chartWeb Analytics: Source Channels Chartreadahrefs.web_analytics.sourcesWeb Analytics: Sourcesreadahrefs.web_analytics.sources_chartWeb Analytics: Sources Chartreadahrefs.web_analytics.statsWeb Analytics: Statsreadahrefs.web_analytics.top_pagesWeb Analytics: Top Pagesreadahrefs.web_analytics.top_pages_chartWeb Analytics: Top Pages Chartreadahrefs.web_analytics.utm_paramsWeb Analytics: UTM Parametersreadahrefs.web_analytics.utm_params_chartWeb Analytics: UTM Parameters Chartread
Site explorer28
ahrefs.site_explorer.ai_responses_countSite Explorer: AI Responses Countreadahrefs.site_explorer.all_backlinksSite Explorer: Backlinksreadahrefs.site_explorer.anchorsSite Explorer: Anchorsreadahrefs.site_explorer.backlinks_statsSite Explorer: Backlinks statsreadahrefs.site_explorer.broken_backlinksSite Explorer: Broken Backlinksreadahrefs.site_explorer.crawled_pagesSite Explorer: Crawled pagesreadahrefs.site_explorer.domain_ratingSite Explorer: Domain ratingreadahrefs.site_explorer.domain_rating_historySite Explorer: Domain Rating historyreadahrefs.site_explorer.keywords_historySite Explorer: Keywords historyreadahrefs.site_explorer.linked_anchors_externalSite Explorer: Outgoing external anchorsreadahrefs.site_explorer.linked_anchors_internalSite Explorer: Outgoing internal anchorsreadahrefs.site_explorer.linkeddomainsSite Explorer: Linked Domainsreadahrefs.site_explorer.metricsSite Explorer: Metricsreadahrefs.site_explorer.metrics_by_countrySite Explorer: Metrics by countryreadahrefs.site_explorer.metrics_historySite Explorer: Metrics historyreadahrefs.site_explorer.organic_competitorsSite Explorer: Organic competitorsreadahrefs.site_explorer.organic_keywordsSite Explorer: Organic keywordsreadahrefs.site_explorer.outlinks_statsSite Explorer: Outlinks statsreadahrefs.site_explorer.pages_by_backlinksSite Explorer: Best pages by backlinksreadahrefs.site_explorer.pages_by_internal_linksSite Explorer: Best pages by internal linksreadahrefs.site_explorer.pages_by_trafficSite Explorer: Pages by trafficreadahrefs.site_explorer.pages_historySite Explorer: Pages historyreadahrefs.site_explorer.paid_pagesSite Explorer: Paid pagesreadahrefs.site_explorer.refdomainsSite Explorer: Refdomainsreadahrefs.site_explorer.refdomains_historySite Explorer: Refdomains historyreadahrefs.site_explorer.top_pagesSite Explorer: Top pagesreadahrefs.site_explorer.total_search_volume_historySite Explorer: Total search volume historyreadahrefs.site_explorer.url_rating_historySite Explorer: URL Rating historyread
Management26
ahrefs.management.brand_radar_prompts_createManagement: Add Brand Radar promptswriteahrefs.management.brand_radar_prompts_deleteManagement: Delete Brand Radar promptsdestructiveahrefs.management.brand_radar_prompts_listManagement: Brand Radar promptsreadahrefs.management.brand_radar_prompts_updateManagement: Update Brand Radar promptswriteahrefs.management.brand_radar_reports_createManagement: Add Brand Radar Reportswriteahrefs.management.brand_radar_reports_listManagement: Brand Radar Reportsreadahrefs.management.brand_radar_reports_updateManagement: Update Brand Radar Reportswriteahrefs.management.keyword_list_keywords_addManagement: Add to Keywords listwriteahrefs.management.keyword_list_keywords_deleteManagement: Delete from Keywords listdestructiveahrefs.management.keyword_list_keywords_listManagement: Keyword list itemsreadahrefs.management.keyword_lists_createManagement: Create Keyword listwriteahrefs.management.keyword_lists_deleteManagement: Delete Keyword listsdestructiveahrefs.management.keyword_lists_listManagement: Keyword listsreadahrefs.management.locations_getManagement: Locations and languagesreadahrefs.management.project_competitors_addManagement: Add Competitorswriteahrefs.management.project_competitors_deleteManagement: Delete Competitorsdestructiveahrefs.management.project_competitors_listManagement: Competitorsreadahrefs.management.project_keyword_tags_addManagement: Add Keywords Tagswriteahrefs.management.project_keyword_tags_deleteManagement: Delete Keywords Tagsdestructiveahrefs.management.project_keywords_addManagement: Add Keywordswriteahrefs.management.project_keywords_deleteManagement: Delete Keywordsdestructiveahrefs.management.project_keywords_listManagement: Keywordsreadahrefs.management.projects_createManagement: Add Projectswriteahrefs.management.projects_deleteManagement: Delete Projectsdestructiveahrefs.management.projects_listManagement: Projectsreadahrefs.management.projects_updateManagement: Update Projectwrite
Brand radar22
ahrefs.brand_radar.ai_responsesBrand Radar: AI Responsesreadahrefs.brand_radar.ai_responses_queryBrand Radar: AI Responses (JSON-body query)readahrefs.brand_radar.citations_historyBrand Radar: Citationsreadahrefs.brand_radar.citations_overviewBrand Radar: Citationsreadahrefs.brand_radar.cited_domainsBrand Radar: Cited Domainsreadahrefs.brand_radar.cited_domains_queryBrand Radar: Cited Domains (JSON-body query)readahrefs.brand_radar.cited_pagesBrand Radar: Cited Pagesreadahrefs.brand_radar.cited_pages_queryBrand Radar: Cited Pages (JSON-body query)readahrefs.brand_radar.impressions_historyBrand Radar: Impressionsreadahrefs.brand_radar.impressions_history_queryBrand Radar: Impressions (JSON-body query)readahrefs.brand_radar.impressions_overviewBrand Radar: Impressionsreadahrefs.brand_radar.impressions_overview_queryBrand Radar: Impressions (JSON-body query)readahrefs.brand_radar.mentions_historyBrand Radar: Mentionsreadahrefs.brand_radar.mentions_history_queryBrand Radar: Mentions (JSON-body query)readahrefs.brand_radar.mentions_overviewBrand Radar: Mentionsreadahrefs.brand_radar.mentions_overview_queryBrand Radar: Mentions (JSON-body query)readahrefs.brand_radar.sov_historyBrand Radar: Share of Voicereadahrefs.brand_radar.sov_history_queryBrand Radar: Share of Voice (JSON-body query)readahrefs.brand_radar.sov_overviewBrand Radar: Share of Voicereadahrefs.brand_radar.sov_overview_queryBrand Radar: Share of Voice (JSON-body query)readahrefs.brand_radar.topicsBrand Radar: Topicsreadahrefs.brand_radar.web_pagesBrand Radar: Web Pagesread
GSC12
ahrefs.gsc.anonymous_queriesGoogle Search Console: Anonymous queriesreadahrefs.gsc.ctr_by_positionGoogle Search Console: CTR by positionreadahrefs.gsc.keyword_historyGoogle Search Console: Keyword historyreadahrefs.gsc.keywordsGoogle Search Console: Keywordsreadahrefs.gsc.metrics_by_countryGoogle Search Console: Metrics by countryreadahrefs.gsc.page_historyGoogle Search Console: Page historyreadahrefs.gsc.pagesGoogle Search Console: Pagesreadahrefs.gsc.pages_historyGoogle Search Console: Pages historyreadahrefs.gsc.performance_by_deviceGoogle Search Console: Performance by devicereadahrefs.gsc.performance_by_positionGoogle Search Console: Performance by positionreadahrefs.gsc.performance_historyGoogle Search Console: Performance historyreadahrefs.gsc.positions_historyGoogle Search Console: Positions historyread
Social media9
ahrefs.social_media.activity_historySocial Media: Activity historyreadahrefs.social_media.authorsSocial Media: Authorsreadahrefs.social_media.channel_metricsSocial Media: Channel metricsreadahrefs.social_media.channels_listSocial Media: Channelsreadahrefs.social_media.post_metricsSocial Media: Post metricsreadahrefs.social_media.posts_createSocial Media: Create postwriteahrefs.social_media.posts_deleteSocial Media: Delete postdestructiveahrefs.social_media.posts_listSocial Media: Postsreadahrefs.social_media.posts_updateSocial Media: Update postwrite
Keywords explorer7
ahrefs.keywords_explorer.matching_termsKeywords Explorer: Matching termsreadahrefs.keywords_explorer.overviewKeywords Explorer: Overviewreadahrefs.keywords_explorer.related_termsKeywords Explorer: Related termsreadahrefs.keywords_explorer.search_suggestionsKeywords Explorer: Search suggestionsreadahrefs.keywords_explorer.service_noticesKeywords Explorer: Current service noticesreadahrefs.keywords_explorer.volume_by_countryKeywords Explorer: Volume by countryreadahrefs.keywords_explorer.volume_historyKeywords Explorer: Volume historyread
Rank tracker6
ahrefs.rank_tracker.competitors_domainsRank Tracker: Competitors domainsreadahrefs.rank_tracker.competitors_overviewRank Tracker: Competitors overviewreadahrefs.rank_tracker.competitors_pagesRank Tracker: Competitors pagesreadahrefs.rank_tracker.competitors_statsRank Tracker: Competitors metricsreadahrefs.rank_tracker.overviewRank Tracker: Overviewreadahrefs.rank_tracker.serp_overviewRank Tracker: SERP Overviewread
Public5
ahrefs.public.crawler_ip_rangesPublic: Crawler IP rangesreadahrefs.public.crawler_ipsPublic: Crawler IP addressesreadahrefs.public.domain_rating_freePublic: Domain rating freereadahrefs.public.domain_rating_free_batchPublic: Domain rating freereadahrefs.public.domain_rating_top_domainsPublic: Domain rating top domainsread
Site audit4
ahrefs.site_audit.issuesSite Audit: Project Issuesreadahrefs.site_audit.page_contentSite Audit: Page contentreadahrefs.site_audit.page_explorerSite Audit: Page explorerreadahrefs.site_audit.projectsSite Audit: Project Health Scoresread
Competitive analysis2
ahrefs.competitive_analysis.link_intersect_refdomainsCompetitive Analysis: Referring domainsreadahrefs.competitive_analysis.link_intersect_refpagesCompetitive Analysis: Referring pagesread
Batch analysis1
ahrefs.batch_analysis.batch_analysisBatch Analysis: Batch Analysisread
Content helper1
ahrefs.content_helper.topicsContent Helper: Topicsread
Serp overview1
ahrefs.serp_overview.serp_overviewSERP Overview: SERP Overviewread
Subscription info1
ahrefs.subscription_info.limits_and_usageSubscription: Limits and usageread
Questions
The Ahrefs MCP server, answered.
Is there an Ahrefs MCP server for Claude?
Yes. actionlake is an MCP gateway: a remote MCP server that gives Claude, or another MCP client, 159 Ahrefs actions across web analytics, site explorer, management and brand radar, through the same eight tools it uses for every other connector. actionlake is independent; it is not made or endorsed by Ahrefs.
What do I need to connect Ahrefs?
Ahrefs API key. The free call account { op: "connections.requirements", service: "ahrefs" } lists exactly what to paste.
Can an AI agent delete or change things in Ahrefs?
Only if its key allows it, and only with an explicit confirmation. 8 Ahrefs actions are destructive, including management: Delete Projects, social Media: Delete post and management: Delete Keyword lists. Each runs only with confirm: true. Under the human confirm policy, or an approval rule on the key, the run waits until a named person approves it.
Will an AI agent use up my Ahrefs API limit?
actionlake paces every call to the limits in the Ahrefs service file: 60 calls a minute per connection. Repeated reads are answered from cache (138 Ahrefs actions can be), which never reaches Ahrefs.
What does an Ahrefs action cost?
One upstream call, the only unit actionlake bills. A list that pages bills one call per page (159 Ahrefs actions page). Cache hits, searches, dry runs and calls Ahrefs refused with 401, 403, 429 or a 5xx are free. The Free plan includes 100,000 calls a month with no card. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.
Which Ahrefs API does it cover?
The Ahrefs API v3 (OpenAPI 3.2.0) at api.ahrefs.com/v3. It is built from Ahrefs's documentation as read on 22 October 2026. 159 actions in 15 areas, each one in the signed service file (version 1.0.0).
Does actionlake keep my Ahrefs data, and where?
actionlake processes and stores data in Sydney, Australia; there is no US region yet. Reads may be cached for up to 15 minutes, and a write clears the reads it affects. Each run's request and response is kept, sealed, for your plan's trace window: 1 day on Free, 3 days on Starter, 7 days on Pro, 14 days on Team, 30 days on Business and 30 days on Enterprise. Your Ahrefs credential is sealed under your tenant's key, never logged and never returned. Your traffic is not used to train models.
Which AI clients can use it?
Claude Code, tested by us end to end, and the Claude app as a custom connector, tested by us with an existing key. Other MCP clients that support remote servers over Streamable HTTP (MCP revisions 2025-06-18 and 2025-11-25) and OAuth dynamic client registration, or a bearer header, should connect the same way; we have not tested them. Or plain REST, under the same action names.
Give your agent Ahrefs today.
Start free - 100,000 calls/month, no card. No signup. Hard caps on every key. Cached answers are free.