---
title: "Ahrefs MCP for ChatGPT | SEO Skill"
description: "Connect Ahrefs to ChatGPT with the free SEO Skill MCP server. Keyword metrics, ranked keywords, SERPs, competitors and backlinks with your own key. Setup steps and prompts to try."
canonical: "https://seoskill.dev/integrations/ahrefs/chatgpt"
language: "en"
---

# Ahrefs MCP for ChatGPT

Ask ChatGPT 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](https://seoskill.dev/account)

1.  1

    Open Plugins, choose +, then Add custom MCP server.

2.  2

    Name it seoskill and enter the server URL under Connection:

    ```
    https://seoskill.dev/mcp
    ```

3.  3

    Choose OAuth for authentication, confirm, and choose Create as a plugin. Sign in with Google when ChatGPT asks.

4.  4

    In a chat, type @ and pick seoskill.

5.  5

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

ChatGPT opens the Google sign-in while it sets up the plugin, and refreshes the token after that.

## Prompts to try in ChatGPT

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.

[

### Claude Code

One command in your terminal.

Ahrefs in Claude Code](https://seoskill.dev/integrations/ahrefs/claude-code)[

### Claude

A custom connector, added once for web, desktop and mobile.

Ahrefs in Claude](https://seoskill.dev/integrations/ahrefs/claude)[

### Codex

Two commands in your terminal.

Ahrefs in Codex](https://seoskill.dev/integrations/ahrefs/codex)[

### Cursor

One entry in mcp.json.

Ahrefs in Cursor](https://seoskill.dev/integrations/ahrefs/cursor)[

### VS Code

The Add Server command, or one entry in .mcp.json.

Ahrefs in VS Code](https://seoskill.dev/integrations/ahrefs/vs-code)[

### Gemini CLI

One command in your terminal.

Ahrefs in Gemini CLI](https://seoskill.dev/integrations/ahrefs/gemini-cli)[

### Windsurf

Two commands, or one entry in mcp\_config.json.

Ahrefs in Windsurf](https://seoskill.dev/integrations/ahrefs/windsurf)[

### Le Chat

A custom MCP connector.

Ahrefs in Le Chat](https://seoskill.dev/integrations/ahrefs/le-chat)

## More data for ChatGPT

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

[

### Google Search Console

Clicks, impressions, CTR, positions, queries, pages and URL Inspection.

Google Search Console in ChatGPT](https://seoskill.dev/integrations/google-search-console/chatgpt)[

### Google Analytics

Search sessions beside your clicks, landing pages and visits from AI assistants.

Google Analytics in ChatGPT](https://seoskill.dev/integrations/google-analytics/chatgpt)[

### DataForSEO

Keyword metrics, rankings, SERPs, competitors, backlinks and AI answer checks with your own login.

DataForSEO in ChatGPT](https://seoskill.dev/integrations/dataforseo/chatgpt)[

### Clicky

Visits by landing page, with the traffic sources and search engines that sent them.

Clicky in ChatGPT](https://seoskill.dev/integrations/clicky/chatgpt)

## Questions about Ahrefs in ChatGPT
