by universal-mcp
Ahrefs Universal MCP Server provides programmatic access to Ahrefs' SEO data and services through a standardized API, enabling automated retrieval, analysis, and integration of SEO information.
The Ahrefs Universal MCP Server is an implementation of the Model Context Protocol (MCP) designed to provide programmatic access to Ahrefs' SEO data and services. It acts as a standardized interface, allowing users to interact with Ahrefs' tools through a unified API. This server is built using the Universal MCP framework, ensuring compatibility with other MCP-compliant services and tools.
There are two primary ways to use the Ahrefs Universal MCP Server:
uv
, syncing project dependencies using uv sync
, activating the virtual environment, and then starting the MCP Inspector with mcp dev src/universal_mcp_ahrefs/server.py
or installing the application with mcp install src/universal_mcp_ahrefs/server.py
.src/universal_mcp_ahrefs/README.md
../src/universal_mcp_ahrefs/README.md
within the project repository.uv
installed globally.mcp dev src/universal_mcp_ahrefs/server.py
.This repository contains an implementation of an Ahrefs Universal MCP (Model Context Protocol) server. It provides a standardized interface for interacting with Ahrefs's tools and services through a unified API.
The server is built using the Universal MCP framework.
This implementation follows the MCP specification, ensuring compatibility with other MCP-compliant services and tools.
You can start using Ahrefs directly from agentr.dev. Visit agentr.dev/apps and enable Ahrefs.
If you have not used universal mcp before follow the setup instructions at agentr.dev/quickstart
The full list of available tools is at ./src/universal_mcp_ahrefs/README.md
Ensure you have the following before you begin:
pip install uv
)Follow the steps below to set up your development environment:
Sync Project Dependencies
uv sync
This installs all dependencies from pyproject.toml
into a local virtual environment (.venv
).
Activate the Virtual Environment
For Linux/macOS:
source .venv/bin/activate
For Windows (PowerShell):
.venv\Scripts\Activate
Start the MCP Inspector
mcp dev src/universal_mcp_ahrefs/server.py
This will start the MCP inspector. Make note of the address and port shown in the console output.
Install the Application
mcp install src/universal_mcp_ahrefs/server.py
.
├── src/
│ └── universal_mcp_ahrefs/
│ ├── __init__.py # Package initializer
│ ├── server.py # Server entry point
│ ├── app.py # Application tools
│ └── README.md # List of application tools
├── tests/ # Test suite
├── .env # Environment variables for local development
├── pyproject.toml # Project configuration
└── README.md # This file
This project is licensed under the MIT License.
Generated with MCP CLI — Happy coding! 🚀
Reviews feature coming soon
Stay tuned for community discussions and feedback