Backlink Building Framework

Simple + boring = works. Find link gaps, outreach at scale, and track every conversation — with AI agents talking to your RankingSolution brain, not raw APIs.

← E-commerce & Internet Marketing knowledge base  ·  Tech knowledge base  ·  AI knowledge base

Source: Post by Hasan Cagli (@HsanC_) — Read the original post on X

Why Backlinks Still Matter (and Why Start Now)

Hasan puts it plainly: he wishes he'd started backlink building much sooner. It's one of the most important levers in SEO — and it's easy to ignore because it feels slow, manual, and unglamorous compared to content or paid ads.

But that's exactly why a simple, boring, repeatable system wins. No hacks. No black-hat tricks. Find pages that link to your competitors but not to you, reach out politely, track everything, and do it every day.

His current pace: 30–50 outreach messages per day, with positive replies already coming in. The framework below is adapted from his process so you and your team can run it across your own sites.

Our Implementation: RankingSolution Brain via MCP

Hasan's original workflow connects DataForSEO directly to Claude Code. That works — but for our own tool use, we route differently:

AI Agents (Claude Code, etc.)
  └── MCP connection
        └── RankingSolution.net "brain"
              ├── Backlink & SERP data (DataForSEO lives here, not exposed to agents)
              ├── Past gap analyses, outreach results, competitor profiles
              └── Accumulated SEO context that compounds over time

Instead of agents calling the DataForSEO API directly on every session, our MCP connects to the RankingSolution brain at rankingsolution.net. The brain owns the data layer, stores what we learn, and gives agents richer context each time — which competitor gaps we already pursued, what outreach angles converted, which domains are worth re-visiting.

This mirrors the Company Brain pattern: one persistent intelligence layer that agents query, not a fresh API call with zero memory every time. DataForSEO still powers the underlying data — it just feeds the brain, not the agent directly.

  • Agents stay dumb-simple — they ask the brain for "competitor link gaps for mikesblogdesign.com" and get back filtered, contextualized results
  • Context compounds — every gap analysis, outreach batch, and win/loss gets stored in the brain for next time
  • Team shares one source of truthclient.rankingsolution.net and the dashboard keep SEO work visible across the portfolio
  • DataForSEO credentials stay centralized — configured once in RankingSolution, not scattered across every developer's MCP config

The 5-Step Framework

1. Connect MCP to RankingSolution Brain

Wire your AI agents to the RankingSolution brain via MCP — not directly to DataForSEO. The brain is your intelligence layer: competitor profiles, gap analysis, and accumulated SEO context.

2. Find Competitor Link Gaps

Ask Claude to find pages and domains where your competitors have backlinks but your site doesn't. Focus on relevant, real websites — not link farms.

3. Export as CSV

Get a clean, actionable list: domain, page URL, contact method, competitor they link to, and notes. This becomes your daily outreach queue.

4. Outreach via Contact Forms & Email

Reach out to each site personally. Contact forms and direct email work. Keep messages short, genuine, and focused on value — not begging for links.

5. Track Everything in a Spreadsheet

Log every touchpoint: sent, replied, accepted, rejected, follow-up date. SEO is a numbers game — tracking is how you improve conversion over time.

Step 1: Set Up RankingSolution Brain + MCP

For our team, step one is connecting agents to the brain — not wiring DataForSEO into every Claude Code session by hand.

  • RankingSolution brain — configured at dashboard.rankingsolution.net with your domains, competitors, and DataForSEO credentials (see the DataForSEO guide for the underlying API details)
  • MCP server — points agents at the RankingSolution brain endpoints, not raw DataForSEO URLs
  • Claude Code (or other agents) — query the brain for gap analysis, past outreach history, and tiered target lists

DataForSEO still powers backlink and SERP data behind the scenes. The difference: results land in the brain first, building context agents can reuse next week, next month, across the whole team.

Example Prompt for Claude Code (via Brain)

Using the RankingSolution brain (via MCP), find competitor link gaps for:
- our domain: mikesblogdesign.com
- competitors: [list from brain]

Pull referring domains where competitors have links we don't.
Cross-reference with past outreach in the brain — skip domains we
already contacted in the last 90 days.

Filter for Domain Rank > 20 and topical relevance.
Export as CSV: domain, page_url, links_to_competitor, contact_page,
tier, notes

Log this gap analysis back to the brain when done.

The last line matters: write results back to the brain so the next agent session starts smarter.

Original Approach (Hasan's Direct DataForSEO Method)

If you're not on RankingSolution yet, Hasan's simpler path still works — connect DataForSEO directly to Claude Code and skip the brain layer:

Using the DataForSEO Backlinks API, pull the referring domains for:
- competitor1.com, competitor2.com, competitor3.com
Compare against our domain. Export gaps as CSV.

We prefer the brain route because context compounds. The direct API route is fine for a one-off experiment.

Step 2: What Makes a Good Link Target

Not every competitor backlink is worth pursuing. Prioritize:

  • Relevant sites — same industry, audience, or topic cluster as your site
  • Real editorial links — blog posts, resource pages, roundups, tool lists (not footer spam or PBNs)
  • Reachable contacts — sites with a contact page, about page email, or visible author
  • Reasonable authority — doesn't need to be TechCrunch; mid-tier niche sites often convert faster

Ask Claude to score or tier targets (A/B/C) so your team hits the best opportunities first.

Step 3: Your CSV Template

Standardize the export so anyone on the team can pick up outreach:

Column What to Track
domain Root domain of the target site
page_url The specific page linking to your competitor
competitor_linked Which competitor they currently link to
contact_method Email, contact form URL, or social handle
tier A / B / C priority
status queued → sent → replied → linked → rejected → no response
date_sent When outreach went out
follow_up_date When to nudge if no reply (usually 5–7 days)
notes Personalization angle, reply summary, link URL if won

Step 4: Outreach That Actually Gets Replies

Hasan's approach is high-volume but not spammy. Each message should feel human. Templates help — copy-paste-with-personalization beats writing from scratch 50 times a day.

Contact Form / Email Template

Subject: Quick suggestion for your [topic] resource page

Hi [Name / Team],

I came across your page at [their URL] — great roundup on [topic].

I noticed you link to [competitor]. We built something similar at [your URL]
that [one specific differentiator — free tool, deeper guide, updated data, etc.].

Would you consider adding us as an additional resource? Happy to suggest
exact placement text if helpful.

Thanks for the great content,
[Your name]

Outreach Rules

  • Personalize the first line — mention their specific page, not a generic compliment
  • One clear ask — add your link as an additional resource, not a replacement
  • Offer value — suggest anchor text, offer a guest contribution, or share updated data
  • Follow up once — a single polite nudge after 5–7 days, then move on
  • 30–50 per day is the target — consistency beats intensity; block 60–90 minutes daily

Step 5: Track, Iterate, Repeat

The spreadsheet is your feedback loop. After 2–4 weeks, review:

  • Reply rate by tier (are A-tier targets converting better?)
  • Which message angles get positive responses
  • Which competitor link sources produce the most wins
  • Average time from outreach to live link

Feed learnings back into the RankingSolution brain — and into your Claude prompts: "Prioritize resource pages like the ones where we got replies last month." The brain + spreadsheet together are how the system gets smarter over time.

Running This Across Multiple Sites (Team Playbook)

For a portfolio of sites — mikesblogdesign.com, client sites, e-commerce brands — run one pipeline per domain:

  1. Assign owners — one person per site or one person doing outreach across all sites with separate spreadsheets
  2. Shared competitor lists — maintain a master list of 3–5 competitors per site in a doc Claude can reference
  3. Weekly gap refresh — re-run the brain query via MCP every Monday to refill the queue (brain deduplicates against past outreach automatically)
  4. Daily outreach block — same time every day, 30–50 messages, no exceptions
  5. Monthly review — new referring domains gained, reply rates, which content types earn links

This pairs with Distribution Engineering thinking — treat backlink outreach as infrastructure, not a one-off campaign. And with case studies, you create link-worthy assets that make outreach easier ("we published a detailed case study your readers might find useful").

Complementary Link-Building Tactics

Outreach to competitor link sources is the core loop, but stack these for compounding results:

  • Publish link-worthy content — original data, tools, guides, and case studies people actually want to reference
  • Client case study backlinks — ask featured clients to link to published case studies from their own sites
  • Resource page prospecting — search "best [topic] tools" or "[topic] resources" and pitch your site for inclusion
  • Broken link building — find dead links on resource pages, offer your content as a replacement (brain + agents can surface these from stored crawl data)
  • HARO / journalist requests — respond to media queries for expert quotes that include a link

What Not to Do

  • Don't buy links from link farms or Fiverr "SEO packages" — Google penalizes this
  • Don't blast identical emails to 500 people — personalization matters even at volume
  • Don't skip tracking — without data you're guessing
  • Don't expect results in a week — backlink building compounds over months
  • Don't ignore relevance — a link from a random high-DA site in an unrelated niche helps less than a mid-tier niche link

Key Takeaways

  • Backlink building is simple, boring, and high-leverage — start now, not later.
  • Our stack: MCP → RankingSolution brain → agents do the research; you do the human outreach. Context compounds in the brain every cycle.
  • Export gaps as CSV, outreach 30–50/day, track everything in a spreadsheet.
  • Positive replies come from genuine, personalized messages — not bulk spam.
  • Run it as a daily habit across every site you care about ranking.

Related Guides

RankingSolution Dashboard

Our SEO brain — domain portfolio, rankings, team coordination, and the context layer agents query via MCP.

Open dashboard →

DataForSEO API

The underlying backlink and SERP data source — configured in RankingSolution, not called directly by agents.

Explore DataForSEO →

Company Brain

The broader pattern: one persistent intelligence layer that specialist agents query and enrich over time.

Read the deep dive →

The Distribution Engineer

Treat SEO and outreach as engineering infrastructure, not one-off campaigns.

Read the deep dive →

Case Studies

Create link-worthy assets and earn backlinks when clients share their success stories.

Read the guide →

SSH + VPS for AI Development

Run Claude Code with MCP → RankingSolution brain on a remote VPS for heavy research sessions.

Read the guide →

Marketing Trends 2025

Broader content and distribution strategies that complement link building.

Read the playbook →

Amazon Market Data APIs

For e-commerce sites — supplement SEO with marketplace intelligence.

Research APIs →

Browse more in E-commerce (internet marketing tools), Tech, and AI.

Framework from Hasan Cagli (@HsanC_).
View the original post on X →