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.Try Ahrefs MCP now
What your agents can ask once Ahrefs MCP is connected.
Select the tools your AI agents can call
135 tools from the Ahrefs MCP schema.
Showing 135 tools
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.
| Category | Covers | Access | Suggested policy |
|---|---|---|---|
| Web Analytics | Visitor 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 variant | Read | This 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 Explorer | Domain 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 request | Read | Read-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 Radar | Brand 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 competitors | Read | Read-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 & Audits | Listing 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 content | Read | Every 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 Console | Google 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 queries | Read | Private 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 & Utilities | Tool 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 tables | Read | Harmless 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 & SERP | Keyword 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 it | Read | Read-only public market data and the safest group to grant broadly, limited only by unit consumption |
| Social Media | Social media channels and their metrics, posts and post metrics, posting activity history and post authors | Read | Read-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.
- 01
Sign in to NeuralTrust
Open the NeuralTrust platform, sign in and go to Getting started, then Connect your tools.
- 02
Choose your agent
When asked which agent you use, pick Claude Code, Codex, Cursor, Windsurf, Copilot or your own code.
- 03
Connect Ahrefs
Find Ahrefs in the tool list and connect it.
- 04
Connect your agent
Follow the steps on screen to add the config to your agent, then send the test prompt.
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 MCP | 135 TOOLS AVAILABLE |
|---|---|
| Code review agent | 4 tools, read only |
| Issue triage bot | 9 tools |
| Platform team assistant | all 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 assistants | Connection & credentialsper user | Web Analytics34 tools |
| Internal copilots | Tool access policiesdeny by default | Site Explorer29 tools |
| Workflow automations | Request & response inspectioninline | Brand Radar20 tools |
| Compatible MCP clients | Activity monitoringalerts and logs | All other tools52 tools |
Use Ahrefs MCP with any AI agent framework
Setup guides for the tools your team already uses.
Claude CodeAdd Ahrefs MCP to Claude Code from the terminal
CursorUse Ahrefs MCP tools inside Cursor's agent
CodexConnect Ahrefs MCP to the OpenAI Codex CLI
WindsurfGive Windsurf's Cascade access to Ahrefs MCP
Gemini CLICall Ahrefs MCP from Gemini CLI prompts
Google AntigravityLet Antigravity agents work with Ahrefs MCP
GitHub CopilotUse Ahrefs MCP in Copilot agent mode
Claude EnterpriseRoll out Ahrefs MCP across your Claude workspace
Microsoft Copilot StudioAdd Ahrefs MCP as a tool for Copilot Studio agents
Open WebUIBring Ahrefs MCP tools into Open WebUI chats
LangChainLoad Ahrefs MCP tools into LangChain agents
HaystackPlug Ahrefs MCP into Haystack agent pipelines
Strands AgentsGive Strands agents Ahrefs MCP tools
Vercel AI SDKCall Ahrefs MCP from Vercel AI SDK apps
n8nUse Ahrefs MCP in n8n AI agent workflows
Common questions about running Ahrefs MCP through TrustGate.
Other MCP servers
More servers from the catalog.
Semrush
Securely connect your AI agents to Semrush through TrustGate: domain and keyword research, backlinks, competitors, traffic and audience data, position tracking and site audits, scoped per agent and logged.
14 toolsViewSerpApi
Securely connect your AI agents to SerpApi through TrustGate: live search across Google, Bing, Amazon, eBay and 100+ other engines, with JSON or Markdown output and interactive views, scoped per agent and logged.
3 toolsViewFirecrawl
Securely connect your AI agents to Firecrawl through TrustGate: web scraping, search, crawling, document parsing, autonomous research and live page interaction, scoped per agent and logged.
30 toolsViewWebflow
Securely connect your AI agents to Webflow through TrustGate: sites, pages, CMS collections, elements, components, styles, assets, webhooks and the live Designer session, scoped per agent and logged.
37 toolsView
Connect Ahrefs MCP instantly
Pick the tools, point your agent at TrustGate, and Ahrefs MCP is live: scoped, inspected, logged.