Ahrefs MCP server
Ahrefs in any MCP client, through Memtro: Ahrefs does not publish this server. Memtro's Ahrefs connector reads Ahrefs through its API with the credentials you connect, and one endpoint hands those tools, every other system you connect and Memtro's memory tools to Claude Code, Cursor, Claude Desktop or anything else that speaks Streamable HTTP, as you.
What the model can do
SEO data from Ahrefs API v3: domain rating and backlink totals, organic traffic and keyword counts, top organic keywords and pages, recent backlinks, keyword volume and difficulty, Rank Tracker positions and projects, keyword lists and connected social channels; can also create or delete a Rank Tracker project, add, tag or stop tracking keywords, add competitors, create a keyword list and add to it, add Brand Radar prompts, and publish, schedule, draft, edit or delete a social post, when you ask. Requires an Ahrefs Enterprise plan (or API add-on); most reads consume API units, the actions do not.
Reads
ahrefs_site_overviewSite Explorer overview for a domain or URL: Domain Rating and Ahrefs Rank, live/all-time backlinks and referring domains, organic keywords…ahrefs_organic_keywordsOrganic keywords a site ranks for: keyword, best position (and change), ranking URL, monthly volume, difficulty, CPC and estimated traffic.ahrefs_backlinksBacklinks pointing at a site or URL, newest first: referring page and its title, anchor text, target URL…ahrefs_top_pagesPages of a site with the most estimated organic traffic: URL, monthly traffic, number of ranking keywords, top keyword with its position and volume…ahrefs_keyword_overviewKeywords Explorer metrics for up to 50 keywords in one country: monthly volume, keyword difficulty (0–100), CPC, clicks, global volume…ahrefs_rank_trackerTracked keyword positions from an Ahrefs Rank Tracker project (free, no API units): keyword, current and previous position, change, volume…ahrefs_projectsRank Tracker projects in the Ahrefs workspace (free): project id, name, target URL and mode, access, keyword count, owner and folder.ahrefs_keyword_listsKeywords Explorer keyword lists (free): list id, name, location, keyword count, access.ahrefs_social_channelsSocial media channels connected to Ahrefs (free): channel id, platform, username, display name and status.
Acts, when you ask
These change something in Ahrefs. The model is told to use them only when you ask for exactly that, and each one is granted by name: per team on a shared connection, by the owner on a personal one.
ahrefs_create_projectCreates a Rank Tracker project in Ahrefs for a site, owned by the API key's owner.ahrefs_delete_projectsPermanently deletes Rank Tracker projects and all their tracking history; it cannot be undone.ahrefs_add_project_keywordsAdds keywords to a Rank Tracker project to be tracked in the given countries, optionally with tags.ahrefs_delete_project_keywordsStops tracking keywords in a Rank Tracker project; their ranking history in the project is lost.ahrefs_tag_project_keywordsTags tracked keywords in a Rank Tracker project.ahrefs_add_project_competitorsAdds competitor sites to a Rank Tracker project so their positions are tracked beside the project's.ahrefs_create_keyword_listCreates a Keywords Explorer keyword list, owned by the API key's owner, optionally with its first keywords.ahrefs_add_keywords_to_listAdds keywords to a Keywords Explorer keyword list (ahrefs_keyword_lists gives the id).ahrefs_add_brand_radar_promptsAdds custom AI-search prompts to an Ahrefs Brand Radar report, to be tracked in the given countries; they count against the plan's prompt allowance.ahrefs_create_social_postCreates a post on social channels connected to Ahrefs.ahrefs_update_social_postEdits a social post that has not gone out yet (a draft or a scheduled post): its text, channels, auto-comment or timing.ahrefs_delete_social_postDeletes a social post in Ahrefs, permanently; a scheduled post will then not go out.
Connect it
First connect Ahrefs on Dashboard → Connections, then add Memtro to your client once. The Ahrefs tools appear alongside the tools of everything else you have connected; nothing is configured per connector.
Claude Code
The Memtro plugin registers the server and a skill for when to use it; the tools are then available in every session.
claude plugin marketplace add memtro-org/claude-memtro
claude plugin install memtro@memtro --config api_key=sk-memtro-...Cursor
Add the server to .cursor/mcp.json in the project, or to the global file under ~/.cursor/.
{
"mcpServers": {
"memtro": {
"url": "https://platform.memtro.com/api/mcp",
"headers": {
"Authorization": "Bearer sk-memtro-..."
}
}
}
}Claude Desktop
Create a personal API key on Dashboard → Profile → API keys. In Claude Desktop add an MCP server of type HTTP with URL https://platform.memtro.com/api/mcp and the header Authorization: Bearer sk-memtro-…
OpenCode
A remote server in opencode.json.
{
"mcp": {
"memtro": {
"type": "remote",
"url": "https://platform.memtro.com/api/mcp",
"headers": {
"Authorization": "Bearer sk-memtro-..."
}
}
}
}Pi
One command: pi mcp add memtro --url https://platform.memtro.com/api/mcp --bearer-token-env-var MEMTRO_API_KEY. Tools arrive as mcp__memtro__*. The pi-memtro extension registers it for you, alongside Memtro as the model.
Any other client
Add an MCP server of type HTTP (Streamable HTTP, stateless) at https://platform.memtro.com/api/mcp with the header Authorization: Bearer sk-memtro-.... Codex, Zed, Windsurf, Cline and the SDKs all take a remote server this way.
Who may use it
The key identifies the person, and the server offers that person the tools they may use everywhere else in Memtro. A shared Ahrefs connection is used by the teams an administrator granted it to, tool by tool, on the Permissions page; a personal connection is used by its owner alone, and its tools that act stay off until the owner allows them. See Teams and permissions and Connectors.
Ask it like this
- › What is our Domain Rating and how many referring domains do we have?
- › Which keywords do we rank for on page one in the UK?
- › Show backlinks we gained in the last 30 days
- › Which tracked keywords dropped the most this week?
- › Add 'company memory software' and 'team knowledge base' to our Rank Tracker project for the UK and US
Questions
- Is this an official Ahrefs MCP server?
- No. It is Memtro's MCP server with Memtro's Ahrefs connector behind it: the connector reads Ahrefs through its API with the credentials you connect on Dashboard → Connections, and Ahrefs publishes nothing here. The same endpoint carries every other system you connect and Memtro's memory tools.
- What does it cost?
- Nothing on top of Memtro. One price per organisation by its number of users, from $50 a month for up to 10 users after a 7-day free trial, with every connector, the MCP server, jobs and memory included. You bring your own model keys.
- Can it change anything in Ahrefs?
- Only when you ask, and only what it has been granted: create a Rank Tracker project for a site; delete Rank Tracker projects with their tracking history, which cannot be undone; add keywords to a Rank Tracker project for chosen countries; stop tracking keywords in a Rank Tracker project; tag tracked keywords; add competitor sites to a Rank Tracker project; create a Keywords Explorer keyword list, or add keywords to one; add AI-search prompts to a Brand Radar report; publish, schedule or draft a post on connected social channels; edit or reschedule a social post that has not gone out; delete a social post. Every other tool reads, searches or lists. An administrator grants each acting tool by name per team, and a personal connection acts only after its owner allows it.
- Which clients work?
- Any MCP client that speaks Streamable HTTP: Claude Code, Cursor, Claude Desktop, OpenCode, Codex, Zed, Windsurf, Cline and the Anthropic and OpenAI SDKs. There is no local process to run; the server is remote and authenticated with your key.