Overview
This guide explains how to integrate ChatGPT with Ahrefs through an MCP (Model Context Protocol) server connection, allowing you to query your Ahrefs data directly through ChatGPT’s interface.
If you are usin Ahrefs on your website, check out how to set it up correctly. After completing the setup, you can begin asking ChatGPT questions about your Ahrefs data directly in the chat interface. The integration allows for natural language queries about your SEO data, making it easier to extract insights and analyze trends without switching between platforms.
Setup Instructions
Step 1: Access ChatGPT Settings
- Open ChatGPT
- Navigate to your Settings
Step 2: Enable Developer Mode
- Click on “Connectors”
- Select “Advanced Settings”
- Toggle “Developer Mode” to “On”
Step 3: Create New Developer Mode Session
- Start a new ChatGPT conversation
- Click the “+” sign
- Choose “Developer Mode”
Step 4: Configure MCP Connection
- Under sources, select “Connect more”
- Fill out the required connection data
- In the “MCP Server URL” field, enter the “Streamable HTTP” link from the Ahrefs website
Step 5: Activate the Connection
- Ensure the “Ahrefs” source is switched on in your chat interface

After this, you will receive a verification code at the email address you used to sign up for your ChatGPT account. Enter the code, and the setup is complete.
What You Can Do After Setup
Once connected, you can ask ChatGPT questions about:
- Traffic trends from your Ahrefs data
- Competitor analysis
- Query performance drops
- Content theme analysis
- Any other insights from your Ahrefs data