New

50% off Shop Products & 50% off 1st Month of Retainer Packages. Terms apply*. Contact us to apply your discount.

How to Connect ChatGPT with Ahrefs MCP Server

Last updated:

Kahunam Newsletter

Get quality content to grow your website. Sign up today for fresh ideas and inspiration.

As a subscriber, you'll have access to regular competitions with valuable prizes.

Home » Articles » Blog » How to Connect ChatGPT with Ahrefs MCP Server

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 using 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

  1. Open ChatGPT
  2. Navigate to your Settings

Step 2: Enable Developer Mode

  1. Click on “Connectors”
  2. Select “Advanced Settings”
  3. Toggle “Developer Mode” to “On”

Note: Developer Mode is available for:

  • ChatGPT Plus ($20/month) or Pro ($200/month) users
  • ChatGPT Business, Enterprise, and Education plans
  • Currently only available on web (not mobile apps)

Step 3: Create New Developer Mode Session

  1. Start a new ChatGPT conversation
  2. Click the “+” sign
  3. Choose “Developer Mode”

Step 4: Configure MCP Connection

  1. Under sources, select “Connect more”
  2. Fill out the required connection data
  3. In the “MCP Server URL” field, enter the “Streamable HTTP” link from the Ahrefs website
  4. Check the “I trust this application” box (only if you trust Ahrefs)

Step 5: Activate the Connection

  1. Ensure the “Ahrefs” source is switched on in your chat interface

You will then authenticate using OAuth, it will involve logging in to your Ahrefs account. And the process should be step by step after clicking “create”.

Step 6: Grant Workspace Access

  1. Select your workspace
  2. Click “Allow” to grant access to it

Step 7: Verify Connection

Check that the Ahrefs connector in ChatGPT is successfully connected

Important Note About Search Functionality:

After connecting the Ahrefs MCP server, ChatGPT may display the message: “can’t be used for search because no search action was found.”

This is expected and does not mean the connector is broken. The server provides Ahrefs data actions, not search actions.

Step 8: Activate the Connection

Before starting your queries, ensure the Ahrefs connector is activated:

  1. In your chat interface, ensure the “Ahrefs” source is switched on
  2. You can verify this by checking that the Ahrefs connector is enabled in your current Developer Mode session

Additional Steps for Business/Enterprise Users

If you’re on a Business, Enterprise, or Education plan:

Admin Setup (Required)

  1. Workspace admins must enable Developer Mode from Workspace Settings → Permissions & Roles → Connected Data Developer mode
  2. Only admins/owners can enable Developer Mode and deploy new MCP connectors
  3. For Enterprise/Edu: Admins can use RBAC (role-based access control) to control who can access specific connectors

Publishing Connectors (Admin Only)

  1. Test the connector in Developer Mode first
  2. Go to Workspace Settings → Connectors to publish
  3. Review safety warnings (especially for write actions)
  4. Enterprise/Edu admins can determine who can access the connector using RBAC
  5. Once published, connectors appear in the workspace’s approved connectors list

Confirmation Modals for Write Actions

ChatGPT will display explicit confirmation modals before any write/modify operation. Always review these carefully before approving.

Using the Ahrefs MCP Connector

Once setup is complete, you can start using the connector by:

  1. Making sure Developer Mode is active in your chat
  2. Ensuring the Ahrefs connector is enabled
  3. Using explicit, structured prompts as shown in the examples above

Reference: For the latest updates, see the official ChatGPT Developer Mode documentation

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

Why your website is not working?

We will assist you by sending helpful material once a month. Join the newsletter to receive what you need for your website.

Data processed subject to the Kahunam privacy policy.

Just posted

Become an expert website owner

Join our community of website professionals and learn how to achieve website success through our helpful newsletter.