How to Use the Ahrefs MCP in Windsurf
Give Windsurf a goal and it runs a full SEO analysis with Ahrefs. No hand-holding, just the final report.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Ahrefs MCP to Windsurf
Create your Vinkius account to connect Ahrefs to Windsurf and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Autonomous Competitor Teardowns
Point Windsurf's Cascade agent at a competitor's domain. It gets to work immediately, running a sequence of tools to build a full picture of their strategy. It starts with `get_domain_overview` for the 10,000-foot view, then digs into their best content with `list_top_pages`. Cascade doesn't wait for your next prompt. After finding the top pages, it automatically runs `list_organic_keywords` on each one to see what they rank for. You set the target, and Windsurf delivers a complete analysis without you having to manage each step. It's research that runs itself.
Keyword Research That Actually Thinks
Stop guessing which keywords matter. Give Cascade a single seed keyword and it maps out the entire topic cluster for you. It uses `list_keyword_ideas` to generate a broad set of options, then automatically qualifies each one with data from `get_keyword_overview` and `get_keyword_volume_history`. This isn't just a data dump. Cascade analyzes the results to find low-difficulty keywords with decent search volume, presenting you with a prioritized list of opportunities. It separates the signal from the noise so you can focus on creating content that ranks.
Find and Fix Links with Windsurf
A broken backlink is a missed opportunity. Set Windsurf on your own domain to run a complete backlink audit. Cascade starts by pulling a full inventory using the `list_backlinks` tool, giving you a baseline of your entire link profile. Next, it automatically cross-references that inventory by running `list_broken_backlinks`. This isolates every inbound link pointing to a 404 on your site. The final result is a clean, actionable list of links you need to reclaim, letting you focus your energy where it counts.
Set up Ahrefs MCP in Windsurf
Prerequisites
- Windsurf IDE installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP configuration
Click the Cascade assistant icon in the sidebar, then click the hammer icon (🔨) at the top of the panel. Select "Configure" to open
~/.codeium/windsurf/mcp_config.json. - 2
Add the Ahrefs MCP
Paste the JSON snippet shown on the right into the
mcpServersobject. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Refresh MCPs
Go back to the hammer icon (🔨) in Cascade and click "Refresh". Windsurf will detect the new server. No full restart is needed — the connection is hot-reloaded.
- 4
Verify in Cascade
Start a new Cascade conversation and ask something like "Show my Ahrefs payment history." If connected, Cascade will call the Ahrefs tools directly. You will see a green dot next to the server name in the MCP panel.
{
"mcpServers": {
"ahrefs-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Ahrefs. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Ahrefs MCP in Windsurf
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Ahrefs MCP today
We host it, we monitor it, we maintain it. You just paste one token.