ahrefs-mcp-server
11
Ahrefs MCP is a server designed to integrate Claude Desktop and other AI assistants with Ahrefs, using the Model Context Protocol. It enables configuration and integration via a standardized setup and addresses common install issues through extensive documentation.
Ahrefs MCP
A Model Context Protocol server to connect Claude desktop and other compatible AI assistants to Ahrefs.
Installation
- Use
npm install --prefix=~/.global-node-modules @ahrefs/mcp -g
for installation. - If upgrading, use
npm install --prefix=~/.global-node-modules @ahrefs/mcp@latest -g
.
Configuration
- Integrate with AI assistants by adding the appropriate configuration in your app's config file.
- Specific configuration steps vary slightly for Windows and macOS.
Common Installation Issues & Fixes
- Node.js or npm not installed: Verify using terminal commands.
- Permission errors: Avoid using
sudo
; adjust folder permissions if necessary. npx
cannot find MCP command: Ensure configuration matches installation prefix.- Configuration file not detected: Check file paths for Claude.
- API key problems: Insert the correct API key in the config file.