Ahrefs MCP
Lets your AI agent pull live Ahrefs SEO data: keywords, backlinks, competitor traffic and content ideas.
by AhrefsUpdated β
How to install
This MCP is remote: it runs in the cloud.
Nothing to install. Copy the address and paste it into your AI app:
Server address
https://api.ahrefs.com/mcp/mcp
- βΊClaude (site or app): Settings β Connectors β Add custom connector.
- βΊChatGPT: Settings β Apps β Create app (developer mode), and paste the address.
- βΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.
Paste in the terminal:
claude mcp add --transport http ahrefs https://api.ahrefs.com/mcp/mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Show me the top 20 trending terms in my industry that could grow this year.
Using this list of 10 sites, tell me which ones grew organic search traffic over the past 6 months.
What it is
This is the official Ahrefs server. It connects your AI agent to live Ahrefs data so you can ask SEO and marketing questions in plain language. You can research keywords, audit backlink profiles and compare competitors without writing code.
What it can do
- Keyword research: search volume, traffic potential, growth trend, keyword difficulty
- Backlink profile and domain rating comparisons
- Competitor organic traffic over time
- Content gap analysis and content planning
- International SEO research
- Create, update or delete social media posts and view their performance
When to use
- βΊWhen you want to find trending keywords and content ideas in your industry
- βΊWhen you need to compare backlink profiles of several competitor sites
- βΊWhen you want to see which competitors gained or lost organic traffic in the last months
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
seo-ahrefsLets your agent pull live Ahrefs data for a website, including backlinks, referring domains, organic keywords and content ideas. Needs an Ahrefs API token.Ahrefs AutomationAutomates SEO research with Ahrefs. Analyzes links, keywords, and metrics to improve your website.e2e-seo-assistantHelps your agent run a full SEO check, from technical audit and content gaps to backlinks, on-page fixes and a ready content brief.Frequently asked questions
Is it free?
No. It is included on all paid Ahrefs plans (Lite, Standard, Advanced, Enterprise). Your plan sets how many rows and API units you get.
Who makes it?
Ahrefs, the company behind the SEO product. It is their official MCP server.
What does it need?
An Ahrefs account on a paid plan. You connect to the remote server at the Ahrefs MCP address and sign in.
Which AI tools work with it?
Setup guides exist for ChatGPT, Claude, Cursor and Copilot Studio.
Are there limits?
Yes. Rows per request are 100 on Lite, 250 on Standard, 500 on Advanced and unlimited on Enterprise. Monthly API units are 200,000, 800,000, 2M and 4M or custom.
Do I need to code?
No. You ask in natural language and the agent fetches the data.
If it does not work
- βΊCheck that your Ahrefs plan is a paid one that includes the MCP.
- βΊIf results are cut short, you may have hit the row limit or monthly API units of your plan.
- βΊRestart your AI app fully and sign in again if the connection fails.
5 new skills a week. 1 minute to read.