SEO Skill

Ahrefs MCP for VS Code

Ask VS Code about your Ahrefs data in plain words. Add one server, sign in with Google, and it reads your own numbers on each request.

Get started free
  1. 1

    Open the Command Palette, run MCP: Add Server and choose HTTP. Enter the server URL and the name seoskill:

    https://seoskill.dev/mcp
  2. 2

    Or add it to .mcp.json at the root of your workspace:

    {
      "mcpServers": {
        "seoskill": { "type": "http", "url": "https://seoskill.dev/mcp" }
      }
    }
  3. 3

    Sign in with Google when VS Code opens the browser.

  4. 4

    Save your Ahrefs API key under Keys on your account page at seoskill.dev/account. It works in every client you connect.

  5. 5

    Or send the key as a header, so nothing is saved on your account:

    {
      "mcpServers": {
        "seoskill": {
          "type": "http",
          "url": "https://seoskill.dev/mcp",
          "headers": {
            "X-Ahrefs-Key": "${AHREFS_API_KEY}"
          }
        }
      }
    }

VS Code opens the Google sign-in the first time the server connects, then keeps the token.

Prompts to try in VS Code

Ask in plain words and your agent picks the tool. Ahrefs numbers are estimates from its own index. They stay separate from your first-party data.

  • What keywords does example.org rank for that I don't?

    Ranked keywords for the competitor, which your agent can set against your own Search Console queries.

  • Which sites compete with mine?

    Competitors: domains that rank for the same keywords, each with its Domain Rating.

  • Who links to this competitor?

    Backlinks: the referring domains for a domain or URL.

  • How hard is this keyword?

    Keyword metrics with volume, keyword difficulty and cost per click.

Ahrefs in other AI clients

The same server and sign-in, with each client's own setup steps.

More data for VS Code

One server reads all of these. Add a key or a site and your agent can use it.

Questions about Ahrefs in VS Code