NeuralTrust has been recognized by Gartner → Read more

Connect Ahrefs MCP to your AI agents, securely.

One secured endpoint for every Ahrefs call your AI agents make, scoped per user, inspected, and logged.

Select the tools your AI agents can call

135 tools from the Ahrefs MCP schema.

Showing 135 tools

  • docreadReturns the documentation for an Ahrefs tool, including its input schema, required fields and the columns available for select. Meant to be called before using a data tool.
  • subscription-info-limits-and-usagereadReturns the subscription's API limits and usage, including units consumed, the plan and key expiration.
  • management-projectsreadLists the Ahrefs projects in the account.
  • management-project-keywordsreadLists the keywords tracked in a Rank Tracker project.
  • management-project-competitorsreadLists the competitors configured in a Rank Tracker project.
  • management-keyword-list-keywordsreadLists the keywords saved in a keyword list.
  • management-locationsreadLists the locations available for rank tracking.
  • management-brand-radar-reportsreadLists the Brand Radar reports configured in the account.
  • management-brand-radar-promptsreadLists the custom prompts configured for Brand Radar tracking.
  • public-domain-rating-freereadReturns the free public Domain Rating for a domain.
  • public-domain-rating-top-domainsreadReturns the list of top domains ranked by Domain Rating from Ahrefs' public endpoints.
  • public-crawler-ipsreadReturns the IP addresses used by the Ahrefs crawler.
  • public-crawler-ip-rangesreadReturns the IP ranges used by the Ahrefs crawler.
  • batch-analysisreadReturns metrics for many URLs or domains in a single request, with the columns chosen via select.
  • site-explorer-metricsreadReturns a snapshot of organic and paid metrics for a domain or URL on a given date.
  • site-explorer-metrics-historyreadReturns the history of organic and paid metrics for a target.
  • site-explorer-metrics-by-countryreadReturns a target's organic and paid metrics broken down by country.
  • site-explorer-domain-ratingreadReturns the Domain Rating (DR) and Ahrefs Rank of a target on a given date.
  • site-explorer-domain-rating-historyreadReturns the Domain Rating history of a target.
  • site-explorer-url-rating-historyreadReturns the URL Rating history of a page.
  • site-explorer-backlinks-statsreadReturns backlink and referring domain counts for a target.
  • site-explorer-all-backlinksreadLists the backlinks pointing to a target, with filters.
  • site-explorer-broken-backlinksreadLists backlinks pointing to broken pages on the target.
  • site-explorer-referring-domainsreadLists the domains linking to a target, with their Domain Rating, traffic and link counts.
  • site-explorer-refdomains-historyreadReturns the history of a target's referring domain count.
  • site-explorer-anchorsreadReturns the anchor text distribution of the links pointing to a target.
  • site-explorer-linked-anchors-externalreadReturns the anchor texts of the external links on the target.
  • site-explorer-linked-anchors-internalreadReturns the anchor texts of the internal links on the target.
  • site-explorer-linked-domainsreadLists the domains the target links out to.
  • site-explorer-outlinks-statsreadReturns statistics on the target's outgoing links.
  • site-explorer-organic-keywordsreadLists the keywords a target ranks for in organic search.
  • site-explorer-organic-competitorsreadLists a target's organic competitors by keyword overlap.
  • site-explorer-keywords-historyreadReturns the history of a target's organic keyword count.
  • site-explorer-total-search-volume-historyreadReturns the history of the total search volume of the keywords a target ranks for.
  • site-explorer-top-pagesreadLists a target's pages ranked by organic traffic.
  • site-explorer-paid-pagesreadLists a target's pages that appear in paid search results.
  • site-explorer-pages-by-backlinksreadLists a target's pages ranked by the number of backlinks they receive.
  • site-explorer-pages-by-internal-linksreadLists a target's pages ranked by the number of internal links they receive.
  • site-explorer-pages-by-trafficreadReturns the distribution of a target's pages by organic traffic range.
  • site-explorer-pages-historyreadReturns the history of a target's page count.
  • site-explorer-crawled-pagesreadLists the pages of a target that Ahrefs has crawled.
  • site-explorer-ai-responses-countreadReturns how many AI responses cite the target.
  • keywords-explorer-overviewreadReturns volume, difficulty, CPC and clicks for a list of keywords in a country.
  • keywords-explorer-volume-historyreadReturns the monthly search volume history of a keyword.
  • keywords-explorer-volume-by-countryreadReturns a keyword's search volume broken down by country.
  • keywords-explorer-matching-termsreadLists keyword ideas that contain the input terms.
  • keywords-explorer-related-termsreadLists related keywords, such as terms that top-ranking pages also rank for.
  • keywords-explorer-search-suggestionsreadLists search suggestions for the input keywords.
  • serp-overviewreadReturns the search results page for a keyword in a country, with metrics for each ranking result.
  • content-helper-topicsreadReturns the core topics covered by the pages ranking for a keyword.
  • rank-tracker-overviewreadReturns the ranking overview of the keywords tracked in a Rank Tracker project.
  • rank-tracker-serp-overviewreadReturns the SERP snapshot for a keyword tracked in Rank Tracker.
  • rank-tracker-competitors-overviewreadReturns the ranking overview of the competitors tracked in a Rank Tracker project.
  • rank-tracker-competitors-domainsreadLists the competitor domains ranking for the keywords tracked in a project.
  • rank-tracker-competitors-pagesreadLists the competitor pages ranking for the keywords tracked in a project.
  • rank-tracker-competitors-statsreadReturns summary statistics for the competitors tracked in a project.
  • site-audit-projectsreadLists Site Audit projects with their health scores and crawl summaries.
  • site-audit-issuesreadLists the issues found in a Site Audit crawl.
  • site-audit-page-explorerreadReturns per-page crawl data from a Site Audit project.
  • site-audit-page-contentreadReturns the content of a page crawled by Site Audit.
  • gsc-keywordsreadLists the Google Search Console keywords of a connected project, with clicks, impressions, CTR and position.
  • gsc-keyword-historyreadReturns the Search Console performance history of a keyword.
  • gsc-pagesreadLists the Search Console pages of a connected project with their performance.
  • gsc-page-historyreadReturns the Search Console performance history of a page.
  • gsc-pages-historyreadReturns the history of the number of pages with Search Console data.
  • gsc-performance-historyreadReturns the history of clicks, impressions, CTR and position from Search Console.
  • gsc-performance-by-devicereadReturns Search Console performance broken down by device.
  • gsc-performance-by-positionreadReturns Search Console performance grouped by ranking position.
  • gsc-positions-historyreadReturns the history of the distribution of ranking positions from Search Console.
  • gsc-ctr-by-positionreadReturns click-through rate by ranking position from Search Console.
  • gsc-metrics-by-countryreadReturns Search Console metrics broken down by country.
  • gsc-anonymous-queriesreadReturns data on the anonymized queries that Search Console does not report by keyword.
  • brand-radar-ai-responsesreadLists AI-generated responses that mention the brand, at the domain or URL level.
  • brand-radar-ai-responses-entitiesreadLists AI-generated responses that mention the brand, at the entity level.
  • brand-radar-cited-domainsreadLists the domains cited in AI responses about the brand, at the domain or URL level.
  • brand-radar-cited-domains-entitiesreadLists the domains cited in AI responses about the brand, at the entity level.
  • brand-radar-cited-pagesreadLists the pages cited in AI responses about the brand, at the domain or URL level.
  • brand-radar-cited-pages-entitiesreadLists the pages cited in AI responses about the brand, at the entity level.
  • brand-radar-citations-overview-entitiesreadReturns an overview of citations in AI responses, at the entity level.
  • brand-radar-citations-history-entitiesreadReturns the history of citations in AI responses, at the entity level.
  • brand-radar-impressions-overviewreadReturns an overview of the brand's impressions in AI responses, at the domain or URL level.
  • brand-radar-impressions-overview-entitiesreadReturns an overview of the brand's impressions in AI responses, at the entity level.
  • brand-radar-impressions-historyreadReturns the history of the brand's impressions in AI responses, at the domain or URL level.
  • brand-radar-impressions-history-entitiesreadReturns the history of the brand's impressions in AI responses, at the entity level.
  • brand-radar-mentions-overviewreadReturns an overview of brand mentions in AI responses, at the domain or URL level.
  • brand-radar-mentions-overview-entitiesreadReturns an overview of brand mentions in AI responses, at the entity level.
  • brand-radar-mentions-historyreadReturns the history of brand mentions in AI responses, at the domain or URL level.
  • brand-radar-mentions-history-entitiesreadReturns the history of brand mentions in AI responses, at the entity level.
  • brand-radar-sov-overviewreadReturns the brand's share of voice against competitors in AI responses, at the domain or URL level.
  • brand-radar-sov-overview-entitiesreadReturns the brand's share of voice against competitors in AI responses, at the entity level.
  • brand-radar-sov-historyreadReturns the history of the brand's share of voice in AI responses, at the domain or URL level.
  • brand-radar-sov-history-entitiesreadReturns the history of the brand's share of voice in AI responses, at the entity level.
  • web-analytics-statsreadReturns overall visitor stats (visitors, pageviews, bounce rate, duration) for a Web Analytics project.
  • web-analytics-chartreadReturns a time-series chart of visitors for a Web Analytics project.
  • web-analytics-top-pagesreadReturns top pages for a Web Analytics project.
  • web-analytics-top-pages-chartreadReturns a time-series chart of top pages for a Web Analytics project.
  • web-analytics-entry-pagesreadReturns entry pages for a Web Analytics project.
  • web-analytics-entry-pages-chartreadReturns a time-series chart of entry pages for a Web Analytics project.
  • web-analytics-exit-pagesreadReturns exit pages for a Web Analytics project.
  • web-analytics-exit-pages-chartreadReturns a time-series chart of exit pages for a Web Analytics project.
  • web-analytics-sourcesreadReturns traffic sources for a Web Analytics project.
  • web-analytics-sources-chartreadReturns a time-series chart of traffic sources for a Web Analytics project.
  • web-analytics-source-channelsreadReturns traffic by source channel for a Web Analytics project.
  • web-analytics-source-channels-chartreadReturns a time-series chart of traffic by source channel for a Web Analytics project.
  • web-analytics-referrersreadReturns referrers for a Web Analytics project.
  • web-analytics-referrers-chartreadReturns a time-series chart of referrers for a Web Analytics project.
  • web-analytics-utm-paramsreadReturns UTM parameters for a Web Analytics project.
  • web-analytics-utm-params-chartreadReturns a time-series chart of UTM parameters for a Web Analytics project.
  • web-analytics-countriesreadReturns visitors by country for a Web Analytics project.
  • web-analytics-countries-chartreadReturns a time-series chart of visitors by country for a Web Analytics project.
  • web-analytics-citiesreadReturns visitors by city for a Web Analytics project.
  • web-analytics-cities-chartreadReturns a time-series chart of visitors by city for a Web Analytics project.
  • web-analytics-continentsreadReturns visitors by continent for a Web Analytics project.
  • web-analytics-continents-chartreadReturns a time-series chart of visitors by continent for a Web Analytics project.
  • web-analytics-languagesreadReturns visitors by language for a Web Analytics project.
  • web-analytics-languages-chartreadReturns a time-series chart of visitors by language for a Web Analytics project.
  • web-analytics-devicesreadReturns visitors by device type for a Web Analytics project.
  • web-analytics-devices-chartreadReturns a time-series chart of visitors by device type for a Web Analytics project.
  • web-analytics-browsersreadReturns visitors by browser for a Web Analytics project.
  • web-analytics-browsers-chartreadReturns a time-series chart of visitors by browser for a Web Analytics project.
  • web-analytics-browser-versionsreadReturns visitors by browser version for a Web Analytics project.
  • web-analytics-browser-versions-chartreadReturns a time-series chart of visitors by browser version for a Web Analytics project.
  • web-analytics-operating-systemsreadReturns visitors by operating system for a Web Analytics project.
  • web-analytics-operating-systems-chartreadReturns a time-series chart of visitors by operating system for a Web Analytics project.
  • web-analytics-operating-systems-versionsreadReturns visitors by operating system version for a Web Analytics project.
  • web-analytics-operating-systems-versions-chartreadReturns a time-series chart of visitors by operating system version for a Web Analytics project.
  • social-media-channelsreadLists the social media channels tracked in Ahrefs.
  • social-media-channel-metricsreadReturns metrics for social media channels.
  • social-media-postsreadLists social media posts.
  • social-media-post-metricsreadReturns metrics for social media posts.
  • social-media-activity-historyreadReturns the posting activity history of social media channels.
  • social-media-authorsreadLists the authors of social media posts.
  • render-scorecardreadRendering helper that displays metrics returned by other tools as a scorecard.
  • render-time-series-chartreadRendering helper that displays time-series data returned by other tools as a chart.
  • render-data-tablereadRendering helper that displays rows returned by other tools as a data table.

What Ahrefs MCP exposes

Ahrefs MCP groups its 135 tools into 8 categories, each with a suggested starting policy.

All 135 tools as JSON, ready to paste.

CategoryCoversAccessSuggested policy
Web AnalyticsVisitor stats and trend charts for an Ahrefs Web Analytics project: top, entry and exit pages, sources, source channels, referrers, UTM parameters, continents, countries, cities, languages, devices, browsers and operating systems, each with a time-series chart variantReadThis is first-party traffic data about the organization's own site, not Ahrefs' public index, so it deserves the same care as any analytics export. Grant it only to agents that report on owned properties, or drop the web-analytics groups from the connection URL
Site ExplorerDomain Rating and URL Rating with history, organic and paid metrics overall, by country and over time, backlinks, broken backlinks, referring domains, anchors, linked domains and outlinks, organic keywords and competitors, top, paid and crawled pages, AI citation counts, and batch analysis of many targets in one requestReadRead-only research on Ahrefs' index of any public site, which is the core of the server. The cost is in API units rather than data exposure: batch-analysis and the large list reports can burn through a key's allowance quickly, so cap the key and watch row limits
Brand RadarBrand visibility in AI assistants at the domain or URL level and at the entity level: AI responses mentioning the brand, cited pages and domains, citation, impression and mention overviews and history, and share of voice against competitorsReadRead-only and market-facing. The two group names, brand-radar-simple and brand-radar-entities, let a connection take one level without the other
Projects & AuditsListing projects, tracked keywords and competitors, keyword lists, tracking locations and Brand Radar reports and prompts, Rank Tracker overviews, SERP snapshots and competitor domains, pages and stats, and Site Audit projects, issues, per-page crawl data and page contentReadEvery management tool exposed here is a read; the create, update and delete operations the REST API has for projects and keyword lists are not tools on this server. These tools reveal which competitors and keywords the organization tracks, which is strategy worth keeping inside SEO agents
Search ConsoleGoogle Search Console data for connected projects: keywords and pages with their history, overall performance history, performance by device, position and country, positions history, CTR by position and anonymized queriesReadPrivate first-party data from the organization's Search Console, reached through Ahrefs. Treat it like Web Analytics: allow the gsc group only where the agent needs owned-site performance
Account & UtilitiesTool documentation, subscription limits and usage, the free public Domain Rating and top domains by DR, Ahrefs crawler IPs and ranges, and rendering helpers for scorecards, time-series charts and data tablesReadHarmless and always useful. The doc tool and the rendering helpers are always included whatever groups are selected, and subscription-info is the agent's own view of how many units it has left
Keywords & SERPKeyword overview with volume, difficulty, CPC and clicks, volume history and by country, matching terms, related terms and search suggestions, the SERP overview for a keyword, and the core topics covered by pages ranking for itReadRead-only public market data and the safest group to grant broadly, limited only by unit consumption
Social MediaSocial media channels and their metrics, posts and post metrics, posting activity history and post authorsReadRead-only. Small group, allow it where social reporting is part of the agent's job

Connect Ahrefs MCP to your AI agent

Four steps, under ten minutes.

  1. 01

    Sign in to NeuralTrust

    Open the NeuralTrust platform, sign in and go to Getting started, then Connect your tools.

    Sign in to NeuralTrust
  2. 02

    Choose your agent

    When asked which agent you use, pick Claude Code, Codex, Cursor, Windsurf, Copilot or your own code.

    Choose your agent
  3. 03

    Connect Ahrefs

    Find Ahrefs in the tool list and connect it.

    Connect Ahrefs
  4. 04

    Connect your agent

    Follow the steps on screen to add the config to your agent, then send the test prompt.

    Connect your agent

Permissions down to the single tool

You do not allow Ahrefs MCP or block it. You allow the exact tools each agent can call, one by one.

Ahrefs MCP135 TOOLS AVAILABLE
Code review agent4 tools, read only
Issue triage bot9 tools
Platform team assistantall 135 tools
  • Tool by toolConnecting the server is not the unit of access. Each tool is granted on its own.
  • Default denyA tool you have not enabled is never exposed to the agent.
  • Approval on writesTools that change or delete things can require a human to confirm.

Is Ahrefs MCP secure?

One endpoint instead of raw credentials. Every call is checked against policy and logged.

AI agentsConnect through your MCP client configuration.NeuralTrustApply controls based on your configuration.Ahrefs MCP135 tools on the hosted server at api.ahrefs.com/mcp/mcp over streamable HTTP, all read-only. Tool list as configured for this server in Dust's remote MCP catalog, cross-checked against the Claude connectors directory and Ahrefs' tool group docs. A tools query parameter in the URL limits the connection to chosen groups or a curated essentials set. Every call consumes API units, and OAuth-created keys default to 200,000 units per month.
Coding assistantsConnection & credentialsper userWeb Analytics34 tools
Internal copilotsTool access policiesdeny by defaultSite Explorer29 tools
Workflow automationsRequest & response inspectioninlineBrand Radar20 tools
Compatible MCP clientsActivity monitoringalerts and logsAll other tools52 tools
FAQ

Common questions about running Ahrefs MCP through TrustGate.

Connect Ahrefs MCP instantly

Pick the tools, point your agent at TrustGate, and Ahrefs MCP is live: scoped, inspected, logged.