ahrefs / setup / cursor
Setup guide

Set up Ahrefs in Cursor

partnerstreamable_httpwrite capable

Ahrefs' full SEO toolkit for your agent: Site Explorer, Keywords Explorer, Rank Tracker, backlinks, SERP and Web Analytics — 130 tools over real Ahrefs data.


01Configuration
{ "mcpServers": { "ahrefs": { "command": "npx", "args": [ "-y", "mcp-remote", "https://api.ahrefs.com/mcp/mcp" ] } } }

Remote server. This uses the mcp-remote bridge so Cursor can reach the hosted endpoint. Add it to .cursor/mcp.json.


02Steps
  1. Make sure Cursor is installed and up to date.
  2. Open .cursor/mcp.json and add the block above (merge into any existing mcpServers).
  3. Provide any required API keys/credentials as environment variables.
  4. Restart Cursor and confirm Ahrefs’s tools appear.

03Other runtimes

04Provenance
config_sourcegenerated from captured install method
last_checked
sourcesunknown

Next step

Want agents that act within guardrails? Apex is the live governed-agent product — paced, capped, and fully-logged actions with approvals before anything runs.

Explore Apex →

See also: server page · is it safe? · alternatives