Petteri Pucilowski Posted on May 31 I wrapped a backlink API in an MCP server so I could do SEO gap analysis from inside Claude # mcp # ai # seo # typescript I do a fair amount of competitor backlink research, and the workflow always annoyed me: open a dashboard, run a query, export a CSV, eyeball it, copy domains into a doc, switch to email. Lots of tab-hopping for what is fundamentally a data-filtering problem an agent should handle. So I wrapped the backlink API I'd been using into an MCP server. Now I stay in Claude Code (or Cursor, Cline, Zed, Windsurf) and just describe the goal. This is the build: the architecture, the four tools, and the one design decision I'm still not sure about. The data source The server runs on the Common Crawl hyperlink webgraph — about 4.4 billion edges across 120 million domains, published quarterly as Parquet. That matters for an MCP tool specifically: the data is open, so there's no scraped-proprietary-index liability in handing it to an agent, and the same query is reproducible by anyone. The HTTP API in front of it ( CrawlGraph ) does the heavy DuckDB work; the MCP server is a thin TypeScript stdio client over it. Keeping the server thin was deliberate — all the query cost, caching, and quota logic lives server-side, so the MCP package stays a ~300-line wrapper that's easy to audit before you hand it your API key. The four tools backlinks → referring domains for a target, with authority scores gap_analysis → domains linking to your competitors but not to you gap_outreach_targets → the composite play (below) releases → list the Common Crawl snapshots Enter fullscreen mode Exit fullscreen mode backlinks and gap_analysis map 1:1 to API endpoints. gap_analysis is the interesting primitive: submit your domain plus 2-5 competitors, and it returns every domain that links to at least one competitor but not to you, each tagged with a found_on array listing which competitors it links to. The composite tool, and the decision I'm unsure abo
Back to Home

I wrapped a backlink API in an MCP server so I could do SEO gap analysis from inside Claude
B
Blizine Admin
·2 min read·0 views
📰Dev.to — dev.to
B
Blizine Admin
View Profile Staff Writer
Related Articles
I Sent 240 PRs to Open Source Repos Using an AI Agent — Here's the Brutal Truth About What Actually Gets Merged
May 31, 2026·2 min read
LangGraph Production, RAG Memory Challenges, and AI Agent Patterns
May 31, 2026·1 min read
One month ago I was a cook.,I had an idea.I used AI tools to build it.In 3 days I had working code.63 developers cloned it.750 Reddit views in one hour Constitutional Governance Kernel for AI Agents
May 31, 2026·1 min read