Important API details:
- Each Ahrefs plan has a maximum number of rows per request that an AI agent can retrieve; higher-tier plans allow access to more data per call.
- Every tool invocation consumes monthly API units from your Ahrefs account; usage can be monitored in Account Settings → Limits and Usage.
- Workspace admins can set a monthly API unit cap per API key in the Ahrefs API Keys report to prevent unintentional over-consumption.
- Enterprise customers can purchase additional monthly API unit add-ons if the included allowance is insufficient.
Server Details
| Property | Value |
|---|---|
| Transport | Streamable HTTP |
| Server Type | External |
| Endpoint | https://api.ahrefs.com/mcp/mcp |
| Categories | SEO & Analytics, Sales & Marketing |
Authentication
This server supports the following authentication methods:OAuth
Scopes:apiv3-mcp
During the server onboarding flow, you will be prompted to complete the OAuth flow to grant access. See the Ahrefs Authentication guide for step-by-step credential configuration.
Header Authentication
This server authenticates via HTTP headers. During the server onboarding flow, you will be prompted to confirm the required headers. Note that you do not provide the values for the headers during the server on-boarding. Header values are provided by the users during the Auth Link flow.Getting Started
Add the server
Navigate to the Server Library and click on the New Server button. Find Ahrefs in the Caylex Catalog.
Use in a project
Add the server to a project by configuring project connections. Its tools are now available to any agents connected to that project.