Ahrefs MCP server for AI agents
Let Claude, ChatGPT or your own agent read Ahrefs: 1 typed function through one MCP server. No Ahrefs API key needed.
- Site
- ahrefs.com
- Functions
- 1
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
Just Ahrefs
An MCP server for Ahrefs alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.
https://api.bowmark.ai/mcp/site/ahrefsEvery site
One MCP server for Ahrefs and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.
Functions
Open a function to see its arguments, what it returns and how to call it.
Read 1
getDomainRatingReturns Ahrefs' 0–100 Domain Rating for one domain or URL.Arguments
Name Type Required targetstringYes Returns
AhrefsDomainRatinginterface AhrefsDomainRating { target: string; domainRating: number; license: string | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/ahrefs/getDomainRatingCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.ahrefs.getDomainRating("ahrefs.com");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.ahrefs.getDomainRating("ahrefs.com"))curl -X POST https://api.bowmark.ai/v1/sites/ahrefs/getDomainRating \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"target":"ahrefs.com"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.ahrefs.getDomainRating("ahrefs.com");
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/ahrefs/<function> - OpenAPI
/v1/sites/ahrefs/openapi.json