Skip to content

Connect Ahrefs to Cursor

  • Is this page safe to change?

Edit pages in Cursor with Ahrefs data on hand: the keywords they rank for, the links they earn and what to fix. Lemonado connects them in about 2 minutes, no API keys needed.

MCPhttps://mcp.lemonado.io/mcp

Why connect Ahrefs to Cursor?

Cursor's agent sees the page you're editing but not its backlinks or rankings. Add Lemonado and it reads that page's Ahrefs data, so it knows which keywords to keep in the title, which anchor texts point at it and which changes put links at risk.

  • All your Ahrefs data

    Backlinks, new and lost, ready to ask about.

  • Always today's numbers

    Organic keywords and positions, synced from Ahrefs automatically, so answers use today's numbers.

  • Connect all your tools

    Questions like "Do estimates match real clicks?" use Ahrefs and Search Console, Semrush at once.

How to connect Ahrefs to Cursor

Before you start

  • A Ahrefs account you can sign in to
  • Cursor installed
  • A Lemonado account (the free trial works)
  1. 1

    Connect Ahrefs in Lemonado

    In Lemonado, open Connectors, find Ahrefs and sign in. Use an Ahrefs account on a paid plan with API access. Free and trial accounts can't share data.

  2. 2

    Turn on external access

    In the company's settings, open External tools, turn the connection on, choose which sources it can reach and copy the server URL.

    text
    https://mcp.lemonado.io/mcp
  3. 3

    Open your MCP config

    Open ~/.cursor/mcp.json for every project, or .cursor/mcp.json for this project only. Create the file if it doesn't exist.

  4. 4

    Add Lemonado

    Merge this into the file and save.

    json
    {
      "mcpServers": {
        "lemonado": {
          "url": "https://mcp.lemonado.io/mcp"
        }
      }
    }
  5. 5

    Sign in

    Cursor asks you to sign in to Lemonado. Approve access, then ask the agent about your data.

  6. 6

    Ask Cursor about Ahrefs

    Try "Before I rewrite the page I have open, show its Ahrefs backlinks, the anchors they use and the keywords it ranks top 10 for." Or ask: "Which anchors point here?" or "Did the migration lose links?"

Good to know

  • Editing the file directly avoids relying on menu labels that change between Cursor versions.

What can Cursor do with Ahrefs?

Cursor's agent reads your Ahrefs data while it edits: it fills components with real data, checks tracking code and writes the analysis next to your code.

Cursor logoCursor

Before I rewrite the page I have open, show its Ahrefs backlinks, the anchors they use and the keywords it ranks top 10 for.

It has 46 referring domains, mostly with the anchor "tent footprint guide", and ranks top 10 for 18 keywords. Keep the URL and that phrase in the H1.

Source: Ahrefs + your code

Reading this as an AI agent?

Everything an agent needs to set this up, in plain text. Paste this page's link into Cursor and ask it to connect you, or copy the block.

For agents · markdown
# Connect Ahrefs to Cursor (Lemonado MCP)

- Server URL: https://mcp.lemonado.io/mcp
- Transport: Streamable HTTP
- Auth: OAuth; the user signs in to Lemonado in the browser. No API keys.
- In Lemonado: connect the Ahrefs account. Use an Ahrefs account on a paid plan with API access. Free and trial accounts can't share data.
- In Cursor: ~/.cursor/mcp.json

```json
{
  "mcpServers": {
    "lemonado": {
      "url": "https://mcp.lemonado.io/mcp"
    }
  }
}
```

First question to try: "Before I rewrite the page I have open, show its Ahrefs backlinks, the anchors they use and the keywords it ranks top 10 for."

More: https://lemonado.io/integrations/ahrefs · https://lemonado.io/llms.txt
FAQ

Frequently Asked Questions

Yes. Ahrefs covers any domain, so the agent can pull a competitor's top pages or backlinks while you work on yours, for example to see which sections their best guides have that yours don't.

Yes. Ahrefs' official MCP server is hosted, so Cursor can use it too. It covers Ahrefs only. Lemonado covers Ahrefs plus your ad platforms, GA4 and the rest of your stack in one connection, so Cursor can answer questions across them.

Open Cursor's settings and find lemonado in the MCP list. A red dot or a sign-in prompt means the login expired. Restart Cursor after editing mcp.json. In Lemonado, check that Ahrefs is connected and External tools is on for the company. If Ahrefs returns nothing, check that your plan includes API access and has units left. Each request uses some.

Yes, if both are connected in Lemonado. One connection reaches every source you allow, so you can ask things like "Our top Ahrefs pages by organic traffic next to GA4 conversions from organic search on the same pages."

MCP is included in Lemonado's paid plans and in the free trial, so you can try it before you pay.

See plans and pricing

Still have a question?

Shoot us an email at hello@lemonado.io.

Try for free

Stop fighting with data. Start feeding your AI.

Connect your data to AI and free your team from reporting and busywork.

Try Lemonado free