---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://elaichi.ai/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Ahrefs MCP connector

The Ahrefs connector lets Claude, ChatGPT and other AI assistants research backlinks, keywords, organic traffic, rank tracking, site audits and brand mentions in Ahrefs, with each person signed in as themselves and every request logged.

Source: https://elaichi.ai/connectors/ahrefs/

## Facts

| | |
| --- | --- |
| Application | Ahrefs |
| Category | Analytics |
| Authentication | Connects over OAuth |
| Bring your own OAuth app | No |
| Native MCP | Yes. Ahrefs builds and runs this MCP server. Elaichi adds sign-in, access controls and an audit log on top |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. Connected tools are never listed one by one, however few there are. The endpoint advertises `search_tools` and `execute_tool` instead |

## Why connect Ahrefs' MCP server through Elaichi

Ahrefs builds and runs this MCP server. Elaichi sits in front of it, so Ahrefs' tools follow the same sign-in, access rules and audit log as every other connector your organization uses. Calls an AI client makes to Ahrefs' server directly, outside Elaichi, get none of this.

- **One address for every AI client.** Claude, ChatGPT, Perplexity, Grok, Cursor and Microsoft Copilot reach Ahrefs' tools at the same Elaichi address as every other connected app. Nobody adds Ahrefs' server to each client one by one.
- **Each person signs in as themselves.** Each person signs in to Elaichi as themselves. Members connect with their own Ahrefs sign-in, and a connection someone shares runs on its owner's account. The credential stays in Elaichi's separate credential service, and the AI client holds only its Elaichi sign-in.
- **Rules checked before a call leaves.** Restrictions on a role or a person, for the whole connector or a single tool, are checked before a call reaches Ahrefs' server. By default, a tool Ahrefs does not mark read-only or non-destructive counts as destructive, and over MCP it still runs under the "Use your connected apps" consent.
- **One audit log for every app.** Each call that runs is recorded with the person, the tool, the connection and the AI client that made it, in the same audit log as every other app.
- **Tool issues go to Ahrefs.** Ahrefs builds and runs these tools, and Elaichi staff do not curate them, so a report about how a tool behaves goes to the Ahrefs team.

More: [why run a vendor's MCP server through Elaichi](https://elaichi.ai/blog/vendor-mcp-servers-through-elaichi/)

## What you can ask once Ahrefs is connected

- Which tracked keywords dropped out of the top ten this week?
- Show new and lost backlinks for our domain this month.
- List the top issues from our latest site audit.

## Connect Ahrefs in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick Ahrefs.
2. Optionally set Share with, then press Connect.
3. Approve it in Ahrefs. Ahrefs's own window opens. Whoever approves it decides what this connection can reach.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which Ahrefs tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## Ahrefs MCP connector for Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## Ahrefs MCP connector for Claude Code

Endpoint: https://api.elaichi.ai/mcp

1. Copy the `claude mcp add` command and run it in a terminal.
2. Start Claude Code and run `/mcp`.
3. Pick elaichi, then sign in and approve in the browser.

```bash
claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp
```

Use `--scope project` instead to share it with the repository through `.mcp.json`.

## Ahrefs MCP connector for ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

## Ahrefs MCP connector for Perplexity

Endpoint: https://api.elaichi.ai/mcp

1. In the left sidebar, click Plugins, then Add custom, then Add MCP connector, then Remote.
2. Name it Elaichi.
3. Paste the endpoint as the MCP server URL.
4. Open Advanced. Pick OAuth, so you can sign in, and Streamable HTTP, which is how Elaichi talks. Leave the client ID and secret empty.
5. Tick the box about custom connectors, then click Add.
6. Click the Elaichi card. Sign in to Elaichi and approve.

Needs a paid Perplexity plan. In an organization, an admin may first need to allow custom connectors.

[Setup guide for Perplexity](/blog/connect-elaichi-to-perplexity/)

## Ahrefs MCP connector for Grok

Endpoint: https://api.elaichi.ai/mcp

On grok.com:

1. Go to grok.com/connectors and click New Connector.
2. Choose Custom.
3. Paste the endpoint as the MCP server URL.
4. Sign in to Elaichi and approve.

In Grok Bot:

1. Open Connect apps and click Add a custom connector.
2. Name it Elaichi.
3. Set the type to Remote HTTPS.
4. Paste the endpoint as the Server URL.
5. Leave Client ID empty.
6. Click Add plugin. Then click Authorize, sign in to Elaichi and approve.

On Grok Business and Enterprise, a team admin adds the connector in console.x.ai first.

[Setup guide for Grok](/blog/connect-elaichi-to-grok/)

## Ahrefs MCP connector for Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## Ahrefs MCP connector for Microsoft Copilot

Endpoint: https://api.elaichi.ai/mcp

1. In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.
2. Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.
3. Create a new connection, sign in and approve, then press Add to agent.
4. Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

## Connect Ahrefs to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Every scope the client asks for starts ticked except "Delete things", which you tick yourself. Calling a Ahrefs tool needs "Use your connected apps". Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Think hard before granting Use your connected apps, which can also delete in connected apps and cannot be undone.

## What teams do with Ahrefs through Elaichi

### Check how target keywords are ranking this week

SEO. Ask which tracked keywords moved up or down and by how much. You get the rank tracking picture without opening a single report.

### Find keywords worth writing about next

Content. Ask for keyword ideas around a topic with search volume and difficulty. The content calendar starts from real demand instead of guesswork.

### Review new and lost backlinks

SEO. Ask which sites started or stopped linking to your domain recently. Spot a lost link from a key partner before it costs you traffic.

### Compare organic traffic against a competitor

Marketing. Ask how your organic traffic trend stacks up against a rival domain. Useful before a planning meeting or a budget conversation.

### Pull the top issues from the latest site audit

Web. Ask what the most recent Ahrefs site audit flagged, grouped by severity. Hand developers a short, prioritized list instead of a raw export.

### See where the brand was mentioned lately

PR. Ask for recent brand mentions across the web. Find coverage worth thanking, and mentions that could become links.

## Elaichi vs Zapier MCP vs Composio for Ahrefs

All three can connect Ahrefs to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

| What to check | Elaichi | Zapier MCP | Composio |
| --- | --- | --- | --- |
| Where the AI connects | One address for the whole organization. Endpoint: https://api.elaichi.ai/mcp | A server per member, created at sign-in. | An MCP endpoint per team, or an SDK. |
| Control over Ahrefs tools | Allow or restrict single Ahrefs tools, per role or user. | App and action restrictions on the account. | Role permissions, down to the action. |
| Record of calls | One audit entry per Ahrefs call. | A History tab of tool calls. | A log of every tool call. |
| Single sign-on | SAML or OIDC, plus SCIM, on Gold. | SAML on Enterprise. | SAML and OIDC on Enterprise. |
| Price | Free for one person; $15 per user per month on Gold. | 2 tasks per successful call. | Billed per tool call. |

Sources: Zapier MCP [docs](https://docs.zapier.com/mcp/get-started/quickstart), [security](https://docs.zapier.com/mcp/manage/security), [usage](https://docs.zapier.com/mcp/features/usage); Composio [docs](https://docs.composio.dev/docs/composio-connect), [gateway](https://composio.dev/mcp-gateway), [enterprise](https://composio.dev/enterprise), [pricing](https://composio.dev/pricing). Checked September 2026.

Longer take: [Zapier MCP alternative](/blog/zapier-mcp-alternative/) and [when you don't need an MCP gateway](/blog/when-you-dont-need-an-mcp-gateway/).

## Frequently asked questions

### How do I connect Ahrefs to Claude?

First connect Ahrefs in Elaichi, where you sign in to your Ahrefs account over OAuth and approve access. Then paste https://api.elaichi.ai/mcp into Claude under Customize, then Connectors, then Add. There is no client ID or secret to generate for Ahrefs.

### Does Ahrefs work with ChatGPT, Perplexity, Grok and Cursor as well as Claude?

Yes. Once Ahrefs is connected in Elaichi, the same endpoint, https://api.elaichi.ai/mcp, works in Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot and any other MCP client. You connect Ahrefs once and every client can use it.

### What can an AI agent actually do with my Ahrefs data?

An AI agent can research your Ahrefs data for you: backlinks, keyword ideas and volumes, organic traffic trends, rank tracking, site audit issues and brand mentions. What is available depends on what your Ahrefs account has set up. Short, concrete asks like "lost backlinks this month for our domain" tend to work better than long sentences.

### Does connecting Ahrefs give the AI access to every project in our account?

No. An AI working through Ahrefs sees only what the person who signed in can see in Ahrefs. Elaichi can narrow that access further, and it never widens it beyond the person's own Ahrefs permissions.

### Can my team share one Ahrefs connection?

Yes. One person connects Ahrefs in Elaichi and shares the connection with a team, and nobody else ever handles a credential. Each teammate still signs in to Elaichi as themselves, so the audit log names the person behind every Ahrefs request.

### Can I stop an agent from deleting or changing things in Ahrefs?

Yes. Elaichi restricts Ahrefs actions one by one, on a role or on one person. A restricted Ahrefs action still appears in Elaichi's tool search, flagged as restricted, but no client can run it, whatever the prompt says.

### What happens to an Ahrefs connection when someone leaves?

Offboarding a person in Elaichi ends their access to Ahrefs at once. A shared Ahrefs connection keeps working for everyone else on the team. Disconnecting Ahrefs once in Elaichi removes it from every client.

### Does the Ahrefs MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. Ahrefs is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

### Is Elaichi an alternative to Zapier MCP for Ahrefs?

Yes. Both let Claude, ChatGPT or Cursor use Ahrefs. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every Ahrefs call.

### How is Elaichi different from Composio for Ahrefs?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to Ahrefs: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.
