Skip to main content
Glama

Ady's Backlinks MCP

CI Python License

An MCP server that turns Claude into an SEO and link-building assistant. Point it at a website (or its code) and it:

  • audits the site and ranks what to fix first, with a 0–100 health score

  • shows exactly where to add links and text: the page, the sentence, and the file and line in your code

  • writes ready-to-paste schema for local businesses and SaaS products

  • finds where to get backlinks: about 150 directories, plus search queries for lists, guest posts, "competitor alternatives" pages and unlinked brand mentions

  • scores prospects, finds the right contact and drafts honest outreach emails

  • tracks every link, reminds you to follow up, verifies links are live, and warns when the anchor mix looks unnatural

  • exports a client-ready HTML report

Works for any business, in any country, and for as many sites as you like. A dentist in Austin, a plumber in Manchester, a SaaS product, or a software company in Nashik: each gets its own local directories, search queries, phone format and schema. JavaScript sites (React/Vite/Vue) are crawled properly with an optional headless browser.

No spam. It never auto-posts links (no comment spam, forum spam, PBNs or paid link farms). Google penalises those. It finds the right places and prepares everything; you submit and send.


Contents


Related MCP server: SEO Content Analysis MCP

What it can do

 Your site / code
       │
       ▼
 1. SCAN      →  crawls the site (renders JS apps), reads sitemaps + robots, finds business details
 2. AUDIT     →  health score + ranked fixes: dead buttons, broken links, sitemap/robots problems,
                 template placeholders, hreflang, canonicals, schema, thin pages, alt text…
 3. CONTENT   →  where to add in-text links (exact sentence + file/line) and what paragraphs thin pages need
 4. SCHEMA    →  ready-to-paste JSON-LD: LocalBusiness, Organization, SoftwareApplication + pricing, FAQ
 5. FIND      →  directories for the niche + country, and search queries for lists, guest posts,
                 "X alternatives" pages, unlinked mentions, partners, podcasts
 6. QUALIFY   →  scores each prospect 0-100, finds the real contact email, picks the right email template
 7. PREPARE   →  one copy-paste kit (same name/address/phone everywhere) + honest outreach emails
 8. TRACK     →  todo → submitted → pitched → live, with follow-up reminders (and "lost" if a link disappears)
 9. MEASURE   →  verify links, follow/nofollow mix, anchor-text health, client HTML report

JavaScript sites (React, Vite, Vue)

Many modern sites send an empty <div id="root"> and build the page in the browser. A normal crawler sees nothing there. When it detects one, the MCP automatically switches to a headless browser (Playwright) so it sees the real pages, text and links. It also flags the site as JS-only, because search engines and link-preview bots have the same problem; the fix is prerendering.

It's optional. The installer asks (~150 MB download), or add it later:

~/adys-backlinks-mcp/.venv/bin/pip install -e "~/adys-backlinks-mcp[render]"
~/adys-backlinks-mcp/.venv/bin/python -m playwright install chromium

scan_site takes render="auto" (the default), "always" or "never". Without the browser, everything else still works.


Works for any business and country

About 150 built-in directories, picked automatically for the niche and country:

Type

Examples

Every business

Google Business Profile, Bing Places, Apple Business Connect, LinkedIn, Facebook, Trustpilot, Hotfrog

Local directories

US BBB, Yellow Pages, Manta · UK Yell, Thomson Local, FreeIndex · CA YellowPages.ca · AU Yellow Pages, True Local · NZ Finda · IN Justdial, Sulekha · AE Yellow Pages UAE · DE Gelbe Seiten, Das Örtliche · FR PagesJaunes · ES Páginas Amarillas · IT PagineGialle · ZA Brabys

Software and IT agencies

Clutch, GoodFirms, DesignRush, The Manifest, TechBehemoths

SaaS, dev tools and AI

G2, Capterra, Product Hunt, AlternativeTo, SaaSHub, SourceForge, Indie Hackers, Show HN, DevHunt, Uneed, Peerlist, StackShare, npm, Futurepedia, There's An AI For That, SoftwareSuggest

Trades and home services

Checkatrade, TrustATrader (UK) · Angi, Thumbtack (US) · HomeStars (CA) · hipages (AU) · Houzz Pro, Bark

Healthcare

Zocdoc, Healthgrades (US) · Practo (IN) · RateMDs

Legal

Avvo, Justia, FindLaw (US) · Law Society (UK) · LawRato (IN)

Real estate

Zillow, Realtor.com (US) · Rightmove, Zoopla (UK) · realestate.com.au · Bayut, Property Finder (UAE) · 99acres, MagicBricks (IN)

Restaurants and food

Tripadvisor, OpenTable, Uber Eats, Yelp, DoorDash, Deliveroo, TheFork, Talabat, Zomato, Swiggy

Hotels and stays

Booking.com, Airbnb, MakeMyTrip

Beauty and fitness

Fresha, Booksy, Treatwell, Vagaro, Mindbody, ClassPass

Manufacturing / B2B

Kompass, Europages, Wer liefert was, Thomasnet, IndiaMART, TradeIndia, Alibaba

Education, events, nonprofits

Niche, GreatSchools, The Knot, Hitched, WedMeGood, Candid, GlobalGiving

Niches it understands: software, SaaS, AI tools, APIs and dev tools, CMS, no-code, IT, web/app development, marketing/SEO agency, design, startup, manufacturing, industrial, pharma, wholesale, restaurant, cafe, bakery, catering, salon, spa, barber, gym, yoga, hotel, resort, travel, clinic, dentist, vet, pharmacy, physio, lawyer/solicitor, real estate, plumber, electrician, contractor, home builder, roofer, cleaner, interior design, architect, HVAC, landscaping, school, coaching, tutor, online store, wedding, events, photographer, accountant, tax, insurance, car repair, charity/NGO. Something not on the list still works; you just get general directories plus anything you add yourself.

Countries: India, US, Canada, UK, Ireland, Australia, New Zealand, UAE, Saudi Arabia, Qatar, Singapore, Malaysia, Philippines, Indonesia, Thailand, Vietnam, Japan, Pakistan, Bangladesh, Sri Lanka, Nepal, Germany, France, Spain, Italy, Netherlands, Belgium, Switzerland, Sweden, Poland, Portugal, South Africa, Nigeria, Kenya, Egypt, Brazil and Mexico. You can type names or codes: UK, GB, United Kingdom, UAE, USA, India, IN. Each country gets the right local directories, search queries, phone format (+44 161 496 0123) and schema country code. Adding a country takes one line in backlink_mcp/countries.py.


Quick install (1 command)

You need Python 3.10 or newer and git.

macOS / Linux

git clone https://github.com/RandomKid24/adys-backlinks-mcp.git ~/adys-backlinks-mcp
cd ~/adys-backlinks-mcp
bash install.sh

Windows (PowerShell)

git clone https://github.com/RandomKid24/adys-backlinks-mcp.git $HOME\adys-backlinks-mcp
cd $HOME\adys-backlinks-mcp
powershell -ExecutionPolicy Bypass -File install.ps1

The installer:

  1. creates a private Python environment in .venv (nothing installed system-wide)

  2. installs the server

  3. asks whether to add JavaScript rendering (say yes if you work with React/Vite/Vue sites). Skip the question with --render / --no-render (-Render / -NoRender on Windows).

  4. adds it to Claude Desktop automatically, backing up your old config as .bak

  5. adds it to Claude Code too, if you have it

Then fully quit Claude Desktop (Mac: Cmd + Q, Windows: tray icon → Quit), reopen it, and you're done.

Mac tip: keep the folder in your home folder (~/adys-backlinks-mcp), not in Downloads, Desktop or Documents. macOS can block apps from running files there.


Manual install

git clone https://github.com/RandomKid24/adys-backlinks-mcp.git ~/adys-backlinks-mcp
cd ~/adys-backlinks-mcp

python3 -m venv .venv
source .venv/bin/activate          # Windows: .venv\Scripts\activate
pip install -e .

which backlink-mcp                 # Windows: where backlink-mcp

Copy the path that last command prints. You'll paste it into your app's config below. It looks like /Users/you/adys-backlinks-mcp/.venv/bin/backlink-mcp.


Connect it to your app

Replace /FULL/PATH/TO/ with your real path. If you used the installer, it printed this path at the end.

Claude Desktop

The installer already did this. To do it by hand, open the config file:

OS

File

macOS

~/Library/Application Support/Claude/claude_desktop_config.json

Windows

%APPDATA%\Claude\claude_desktop_config.json

Linux

~/.config/Claude/claude_desktop_config.json

Or open it from Claude Desktop: Settings → Developer → Edit Config.

{
  "mcpServers": {
    "backlinks": {
      "command": "/FULL/PATH/TO/adys-backlinks-mcp/.venv/bin/backlink-mcp"
    }
  }
}

On Windows the path looks like C:\\Users\\you\\adys-backlinks-mcp\\.venv\\Scripts\\backlink-mcp.exe (use double backslashes).

If you already have other servers, add "backlinks": {...} inside your existing mcpServers instead of replacing the whole file.

Save the file, fully quit Claude Desktop, and reopen it.

Claude Code

claude mcp add backlinks -- /FULL/PATH/TO/adys-backlinks-mcp/.venv/bin/backlink-mcp

Inside Claude Code, type /mcp and you should see backlinks · connected.

OpenCode / Cursor / other clients

OpenCode: add to ~/.config/opencode/opencode.json:

{
  "mcp": {
    "backlinks": {
      "type": "local",
      "command": ["/FULL/PATH/TO/adys-backlinks-mcp/.venv/bin/backlink-mcp"],
      "enabled": true
    }
  }
}

Cursor: add to ~/.cursor/mcp.json, using the same format as the Claude Desktop JSON above.

Any other MCP client works too: it's a standard stdio server. Point it at the backlink-mcp path.

claude.ai web (custom connector)

claude.ai runs in the cloud, so it can't start a program on your computer. It needs a public https:// URL. Run the server in HTTP mode and open a free Cloudflare tunnel to it.

1. Install cloudflared (one time)

brew install cloudflared          # Mac
# Windows: winget install Cloudflare.cloudflared

2. Terminal 1: start the server in HTTP mode

~/adys-backlinks-mcp/.venv/bin/backlink-mcp --http

It prints your secret path, for example:

claude.ai connector URL:  https://<your-tunnel-host>/Lvl_-h-kNDN896jX2w7yO5w7TdOQPeXN/mcp

3. Terminal 2: start the tunnel

cloudflared tunnel --url http://localhost:8787

It prints a URL like https://random-words.trycloudflare.com.

4. Add it on claude.ai

Go to Settings → Connectors → Add custom connector, then:

  • Name: backlinks

  • URL: https://random-words.trycloudflare.com/<your-secret>/mcp

  • Leave the OAuth fields empty, then click Add.

Then turn it on in a chat from the + / tools menu.

Good to know:

  • Keep both terminals open and your computer awake while you use it.

  • The trycloudflare.com URL changes every restart. For a permanent URL, use a named Cloudflare tunnel on your own domain (e.g. seo-mcp.yourdomain.com).

  • The secret in the URL is the password. Don't share it. Make a new one with backlink-mcp --http --new-token.

  • Opening the URL in a browser shows "Missing session ID". That's normal: browsers can't speak MCP. A wrong secret shows 404 instead.

  • Options: --port 8787 (default), --host 127.0.0.1 (default). You can also set the secret with the BACKLINK_MCP_TOKEN environment variable.


Check it works

Option A: in Claude. Open a new chat and type:

use backlinks to scan https://yoursite.com with max 5 pages

You should get your business name, pages and keywords back.

Option B: MCP Inspector (needs Node.js; tests the server without Claude)

npx @modelcontextprotocol/inspector ~/adys-backlinks-mcp/.venv/bin/backlink-mcp

Click Connect, then Tools → List Tools. You should see 23 tools. Run scan_site to test.

Option C: quick terminal check

~/adys-backlinks-mcp/.venv/bin/backlink-mcp

If it just sits there waiting, it's working (it's listening for an MCP client). Press Ctrl + C to stop.


How to use it (copy-paste prompts)

Send these to Claude one at a time, in order. Replace the example values with the real site's details. Works the same for your own site or a client's.

Golden rule: give Claude real details. The tool rejects placeholders like XXXXXXXXXX, 20XX or your full address, because one wrong phone number copied to 20 directories is worse than none.

1. Save the site as a project (once per site)

Use backlinks save_project for example.com with niche "dental clinic", location "Austin", country "US", keywords ["dentist", "family dentist", "teeth whitening"], competitors ["competitor1.com", "competitor2.com"].

After this, every other tool remembers the niche, city, country and keywords. Just mention the site.

2. Scan and audit

Use backlinks to scan https://example.com (max 50 pages), then run seo_link_audit and internal_link_suggestions. Show me the priority_fixes list.

3. Connect the code (optional, if you have it)

Use backlinks scan_codebase on /path/to/the/website/code with site example.com and tell me exactly which files to change for each priority fix.

Passing site remembers the code folder, so the next step can name the exact file and line for every edit.

3b. Where to add links and text

Use backlinks internal_link_suggestions and content_plan for example.com. For each link, show me the page, section, the sentence with the link added, and the file/line. For thin pages, show which sections and paragraphs to add.

4. Make the submission kit (real details only)

Use backlinks build_submission_kit for example.com with business_name "Example Dental", address "1200 Congress Ave", postal_code "78701", state "TX", email "hello@example.com", phone "(512) 555-0142", founded "2016", services ["Family Dentistry", "Teeth Whitening", "Dental Implants"], description "One or two sentences in your own words.". Show me needs_review.

Leave out anything you don't know yet. The kit will list it under needs_review. City and country come from the project.

5. Add business schema to the site

Use backlinks generate_schema for example.com with business_type "Dentist" and add the script tag to the site's <head>.

For a SaaS or app, use the product schema with real plans:

Use backlinks generate_schema for example.com with business_type "SoftwareApplication", app_name "Example App", app_category "BusinessApplication", offers [{"name": "Starter", "price": 999, "billing": "per month"}, {"name": "Pro", "price": 2499, "billing": "per month"}].

Common types: ProfessionalService, LocalBusiness, Dentist, Physician, LegalService, Attorney, RealEstateAgent, Plumber, Electrician, GeneralContractor, Restaurant, CafeOrCoffeeShop, Bakery, BeautySalon, HealthClub, Hotel, Store, AutoRepair, AccountingService, EducationalOrganization, NGO. The full list is on schema.org/LocalBusiness.

6. Find where to get links

Use backlinks find_opportunities for example.com. Give me the top 15 directories to sign up on first, with links.

Now sign up on those directories, copy-pasting from the kit. This is the fastest way to get the first links.

7. Find real sites to pitch

Run the roundups_and_lists and local search footprints for example.com with web search. Run qualify_prospect on the top 15 results with my_domain example.com. Add the "good" ones to the tracker. List any "check_manually" ones separately.

8. Write the emails

For each good prospect, use draft_outreach with its recommended_template, my_site example.com, my_name "Your Name", a one-line hook about their page, and proof from these real facts: ["fact 1", "fact 2"]. Show me any warnings.

Only put true facts in proof (customers served, years in business, reviews, awards). Skip prospects whose template is signup: those are just profile sign-ups, no email needed.

9. Client report

Use backlinks export_report for example.com with prepared_by "Your Agency" and client_name "Example Dental", then open it.

Anytime later

what are my backlink next_actions today
list my backlink projects
show the link_profile for example.com
show my backlink tracker for example.com
I got listed on https://somesite.com/our-profile, verify it for example.com and mark it live
recheck my live links for example.com          ← do this once a month

Links inside your body text (the paragraphs on a page) are called contextual or in-content links. The clickable words are the anchor text. These links pass far more value than links in the menu or footer. The MCP tells you exactly where to put them, and what text to add when a page is too short.

internal_link_suggestions: where to put each link

{
  "placement": "existing_text",
  "add_link_on_page": "https://example.com/",
  "link_to": "https://example.com/product/erp",
  "anchor_text": "manufacturing ERP",
  "section": "What we build",
  "sentence": "We design manufacturing ERP systems that replace messy spreadsheets...",
  "sentence_with_link": "We design <a href=\"/product/erp\">manufacturing ERP</a> systems that replace messy spreadsheets...",
  "code_location": [{"file": "src/pages/Home.tsx", "line": 6}]
}
  • existing_text: the words are already on the page. Just wrap them in a link.

  • add_sentence: nothing on the page mentions the topic yet. You get a short sentence to add (reword it in your own voice) and the paragraph to add it after.

  • code_location: the file and line to edit. Works with React/JSX (even when text is split across lines), Next.js, Vue, Svelte, Astro, HTML, Markdown and Django templates. It needs scan_codebase ... site=example.com (or save_project ... code_path=...) run once.

  • Menu and footer links don't count as "already linked", because a link inside the paragraph is stronger.

  • It never suggests vague anchors like "click here" or a lone "software", and it adds at most one link per sentence where possible.

content_plan: what paragraphs to add to thin pages

For each short page, it gives:

  • the page type (home, service, contact, about, article, case study, pricing, FAQ…)

  • words now vs. the target length

  • the sections to add, each with what to write in it (e.g. a contact page gets "Contact details", "Opening hours", "How to find us", "What happens next" and "Areas we serve")

  • keywords to work in naturally (once or twice, never stuffed)

  • internal links the new text should include

  • where to insert it, and which file to edit

Ask for one page with content_plan for example.com url /contact.


Multiple sites and clients

Every site is its own project, so one install handles your site and every client's:

Use backlinks save_project for client-one.com with niche "law firm", location "Leeds", country "UK"
Use backlinks save_project for client-two.com with niche "restaurant", location "Pune", country "India"
list my backlink projects
  • scan_site creates a project automatically the first time a site is scanned. Run save_project to add the niche, location and country.

  • Each project has its own scan, submission kit, schema and tracker entries.

  • list_projects shows every site with its tracker progress (todo / submitted / live).

  • When working on a client, always mention their domain so the tools use the right project.


All tools

Tool

What it does

scan_site

Crawls the live site, respecting robots.txt. Reads sitemaps, including sitemap indexes and Sitemap: lines in robots.txt. Renders JavaScript apps automatically. Finds business details, page SEO data, broken links, redirects, robots-blocked pages and sitemap health. Separates truly broken links from bot-blocked ones (LinkedIn, Instagram…).

scan_codebase

(Pass site= to remember the folder for that project.) Reads a local project (Next.js, React/Vite, Django, FastAPI, plain HTML…). Finds routes, meta tags, sitemap/robots, structured data, contact info and which file holds each social link. Flags mixed-case routes (/About vs /about), inconsistent LinkedIn URLs and missing prerendering. Ignores lockfiles and minified bundles.

seo_link_audit

A health score (0–100, A–F) and a ranked priority_fixes list covering: noindex, dead buttons (links with no destination), broken links, JS-only pages, the right schema type (LocalBusiness vs SoftwareApplication), template placeholders (@yourtwitterhandle, "Vite + React"), sitemap entries that 404, redirect or are blocked, robots blocks, canonicals, hreflang, http links, one-page sites, duplicate titles/descriptions, thin pages, alt text and subdomain cross-links.

internal_link_suggestions

Says exactly where to add in-text links: page, section, paragraph, sentence, anchor text, the sentence with the link already added, and the file and line in your code. If no sentence fits, it suggests a new one and where to put it.

content_plan

For thin pages: which sections and paragraphs to add, what to write in each, keywords to use naturally, links to include, where to insert them, and which file to edit.

save_project

Saves a site (yours or a client's) with its niche, location, country, keywords, competitors and code folder, so every other tool uses them.

list_projects

Lists all your sites with niche, location, country, tracker progress and whether a kit is saved.

find_opportunities

Lists directories and citation sites for the niche and country, plus ready search queries for roundups, local lists, guest posts, resource pages, "competitor alternatives" pages, unlinked brand mentions, podcasts and partners. Pass site= to use a saved project.

add_custom_directory

Adds your own directory (optionally only for one city). It's saved to custom.json and survives updates.

add_custom_footprint

Adds your own search query using {kw}, {loc} and {country}.

qualify_prospect

Opens a prospect and scores it 0-100 (plus authority, if you've added an Open PageRank key). Detects guest-post pages, "top N companies" roundups, resource pages and directories. Judges spam by where the page links out (not by words in it). Follows contact/about pages to find a real email, and returns recommended_template. Blocked sites return check_manually, not a bad score.

build_submission_kit

Builds one consistent Name/Address/Phone + descriptions kit for all directory sign-ups. Rejects placeholder values, never uses your brand name as the category, formats the phone one way, and lists needs_review. Saved as .md + .json.

generate_schema

Ready-to-paste JSON-LD built from your kit: any LocalBusiness type, Organization, or SoftwareApplication with pricing plans (currency set from the country), plus optional FAQ and real ratings. Lists missing fields instead of inventing them.

draft_outreach

Writes an email: guest_post, list_inclusion, resource_page, broken_link, unlinked_mention, partner, testimonial, local_press. Uses your personal hook and real proof, never claims a relationship you don't have, and returns warnings until it's ready to send. Never sends anything.

verify_backlink

Checks a page really links to you (rendering JS pages if needed): anchor text, follow/nofollow/sponsored, and whether that page is indexable. Records it in the tracker, and marks it lost if it disappears.

tracker_add

Adds an opportunity to your tracker. Blocks a second entry for the same directory.

tracker_update

Changes status or notes (todo, submitted, pitched, live, lost, rejected, cold). Records follow-ups and sets reminder dates.

tracker_list

Shows your tracker with a summary.

recheck_live_links

Re-checks all live (and lost) links. Flags removed links, nofollow-only links and links on noindex pages.

link_profile

Referring domains, follow/nofollow mix and anchor-text mix, with warnings when it looks unnatural.

next_actions

Today's to-do list across all projects: due follow-ups, unstarted opportunities, stale or lost links, missing setup.

export_report

A client-ready, self-contained HTML report for a site.

domain_authority

Open PageRank authority (0–10) for up to 100 domains. Optional, needs a free key.


Client reports and daily to-dos

export_report builds one self-contained HTML page (light and dark mode, phone-friendly) that you can email to a client or keep for yourself. It includes the health score and grade, ranked fixes, internal links to add (with file/line), pages that need content, where to list the business, the backlink tracker with follow-up dates, and the link profile. It's saved to ~/.backlink-mcp/reports/.

next_actions is your daily list across all sites: follow-ups that are due, opportunities not started, live links not re-checked in 30+ days, lost links to recover, and setup steps still missing.

Follow-ups are automatic. pitched gets a reminder after 6 days and submitted after 14. Record a follow-up with tracker_update followed_up=true. After two unanswered follow-ups, the entry is marked cold so you stop chasing it. If a live link disappears, recheck_live_links marks it lost.

link_profile shows referring domains, follow vs nofollow, and the anchor-text mix (branded, URL, exact-match, partial, generic). It warns when the mix looks unnatural, for example when more than 20% of anchors are exact-match keywords.


Optional: domain authority scores

Add a free Open PageRank key and qualify_prospect will factor in each prospect's authority (0–10). The domain_authority tool also checks up to 100 domains at once. Add the key to your Claude Desktop config:

{
  "mcpServers": {
    "backlinks": {
      "command": "/Users/YOU/adys-backlinks-mcp/.venv/bin/backlink-mcp",
      "env": { "OPENPAGERANK_API_KEY": "your-key" }
    }
  }
}

Without a key, everything else works the same.


Where your data is saved

Everything stays on your computer in ~/.backlink-mcp/:

File

What

projects.json

your sites/clients: niche, location, country, keywords, competitors

custom.json

your own directories, search queries, email templates and categories

tracker.json

your opportunities and their status (for all sites)

submission_kit_<domain>.md / .json

your copy-paste kit

scans/<domain>.json

the last scan (used by audit and link suggestions)

reports/<domain>-<date>.html

exported client reports

http_token

the secret for HTTP mode

To use a different folder, set the BACKLINK_MCP_DATA environment variable.

Open the folder:

open ~/.backlink-mcp        # Mac
explorer %USERPROFILE%\.backlink-mcp   # Windows

Add your own directories and queries

Your additions go in ~/.backlink-mcp/custom.json, not in the code, so git pull never overwrites them.

The easy way: ask Claude

Use backlinks add_custom_directory "Leeds Chamber of Commerce", url https://www.leedschamber.co.uk/, tags ["general", "local"], region "UK", priority 5, location "Leeds"
Use backlinks add_custom_footprint group "local", query "{loc} {kw} association members"

By hand: edit custom.json

{
  "directories": [
    {"name": "Leeds Chamber of Commerce", "url": "https://www.leedschamber.co.uk/",
     "tags": ["general", "local"], "region": "GB", "priority": 5, "location": "Leeds",
     "notes": "members get a listing"}
  ],
  "footprints": {
    "local": ["{loc} {kw} association members"]
  },
  "outreach_templates": {
    "sponsorship": {
      "needs": ["topic"],
      "subject": "Sponsoring {topic}",
      "body": "Hi {contact},\n\n{hook}\n\nWe'd love to sponsor {topic}...\n\n{my_name}\n{my_site}"
    }
  },
  "category_hints": [
    [["drone", "aerial"], "Aerial Photography Service"]
  ]
}

Field

Meaning

region

global, a country code (US, GB, IN…) or a region: EU, EUROPE, GCC, ANZ, NA, SEA, SOUTH_ASIA. Can be a list.

location

optional; only shown for projects in this city or area

tags

the niches it suits: general, local, software, it, saas, agency, design, startup, manufacturing, b2b, food, hospitality, beauty, fitness, healthcare, legal, realestate, trades, education, ecommerce, events, finance, automotive, nonprofit

priority

5 = do first … 1 = nice to have

Footprint placeholders

{kw} keyword, {loc} city/area, {country} country name

Template placeholders

{contact} {target_site} {topic} {hook} {proof} {my_site} {my_name} {my_page} {broken_url}

Your entries win over built-ins with the same name. To change the built-in lists for everyone (for example, in a pull request), edit backlink_mcp/data.py and backlink_mcp/countries.py.


Troubleshooting

Problem

Fix

spawn ... ENOENT

The path in your config is wrong. Run which backlink-mcp (inside the venv) and paste that exact path.

Remote connect failed on claude.ai

claude.ai can't run local paths. Use the HTTP + tunnel setup, or use Claude Desktop.

externally-managed-environment

You ran pip install outside the venv. Use bash install.sh, or run source .venv/bin/activate first.

Operation not permitted (Mac)

The folder is in Downloads/Desktop/Documents. Move it to ~/adys-backlinks-mcp, delete .venv, and run bash install.sh again.

Tools don't appear in Claude Desktop

Fully quit it (Cmd + Q / tray → Quit), not just close the window. Check the JSON is valid.

"Missing session ID" in the browser

Normal. Browsers can't speak MCP. Add the URL in claude.ai instead.

404 on the HTTP URL

Wrong secret in the URL. Copy it again from the --http startup message.

SSL certificate error during scans (Mac)

Run /Applications/Python\ 3*/Install\ Certificates.command

Scan finds 0 pages

The site blocks bots or is client-side only. Use scan_codebase on the project folder instead.

Prospect says check_manually

That site blocks bots. It's not a bad site. Open it yourself or ask Claude to read it with web fetch.

internal_link_suggestions says "older version"

Run scan_site again. Paragraph data was added in 1.3.0.

No code_location in suggestions

Run scan_codebase with site= once, or save_project with code_path=. If it's still empty, that text comes from a CMS or database, not the code.

find_opportunities shows only general sites

No country was set, or the niche word wasn't recognised. Run save_project with a country and a common niche word (e.g. "dentist"), or add your own with add_custom_directory.

Unknown country

Use a name or code: India/IN, UK/GB, US/USA, UAE/AE, Australia/AU…

Kit says ready_to_submit: false

Look at needs_review. Usually a missing street address or PIN code.

Scan finds 1 page / almost no words on a React or Vite site

Install JS rendering. scan_site returns a render_note telling you when it's missing.

JS rendering failed: ... Executable doesn't exist

Run ~/adys-backlinks-mcp/.venv/bin/python -m playwright install chromium

command not found: backlink-mcp

The venv isn't active. Use the full path: ~/adys-backlinks-mcp/.venv/bin/backlink-mcp

Logs

  • Mac: tail -50 ~/Library/Logs/Claude/mcp-server-backlinks.log

  • Windows: %APPDATA%\Claude\logs\mcp-server-backlinks.log


Development and tests

cd ~/adys-backlinks-mcp
.venv/bin/pip install -e ".[dev,render]"
.venv/bin/python -m pytest -q

The tests run against a local fixture website and codebase (tests/fixture_site, tests/fixture_code), so they need no internet. CI runs them on Python 3.10–3.13 with both MCP SDK 1.x and 2.x, on Linux, macOS and Windows, plus a job with real JS rendering.


Update

See CHANGELOG.md for what changed.

cd ~/adys-backlinks-mcp
git pull
.venv/bin/pip install -e .         # Windows: .venv\Scripts\pip install -e .

Then restart Claude.

Uninstall

  1. Remove the "backlinks" block from your Claude Desktop config (and run claude mcp remove backlinks for Claude Code).

  2. Delete the folder: rm -rf ~/adys-backlinks-mcp

  3. (Optional) delete your data: rm -rf ~/.backlink-mcp


Requirements

  • Python 3.10+

  • Works with the mcp Python SDK 1.x and 2.x

  • macOS, Windows, Linux

License

MIT. See LICENSE.

Available Tools

18 tools
add_custom_directoryA

Add your own directory/citation site so find_opportunities includes it from now on (saved to ~/.backlink-mcp/custom.json, survives updates). tags = niches it suits, e.g. ["legal", "local"] (see NICHE_TAGS in data.py); region = "global", a country (name or code) or a region (EU, GCC, ANZ, NA, SEA). location = optional city/area; if set, it only shows for projects in that location (e.g. a city chamber).

Inputs: url (required), name (required), tags (required), notes, +3 more.

add_custom_footprintA

Add your own search footprint (saved to custom.json). Use {kw} for keyword, {loc} for city/area and {country} for the country name, e.g. group "local", query '{loc} {kw} association members'.

Inputs: group (required), query (required).

build_submission_kitB

Build one consistent Name/Address/Phone + descriptions kit for directory/citation sign-ups. Merges the cached scan profile with fields you pass (yours win). Placeholder values (XXXX, 20XX, "your address"...) are rejected, never saved. Returns needs_review so you know what to fix before submitting. Saves .md + .json; generate_schema reuses it.

Inputs: domain (required), city, save, email, +11 more.

draft_outreachA

Draft an outreach email to edit and send yourself (never sends anything). template: guest_post | list_inclusion (for "top N companies" roundups) | resource_page | broken_link | unlinked_mention | partner | testimonial | local_press. topic: a noun phrase, e.g. "how to choose a family dentist" or "local bakery wins state award". proof: real facts only, e.g. ["Served 200+ local families since 2019", "4.9 stars from 120 Google reviews"]. hook: ONE specific sentence about their page so it doesn't read as a mass email. Returns warnings when something required is missing - fix them before sending.

Inputs: my_name (required), my_site (required), template (required), hook, +7 more.

find_opportunitiesA

Return legit backlink opportunities for ANY business in ANY country: matching citation/directory/profile sites (filtered by niche and country) plus ready-to-run web-search footprint queries (roundups, local lists, guest posts, resource pages, podcasts, partners, competitor mentions). Run the queries with web search. Pass site= to use a saved project's niche/location/country/keywords/competitors (anything you pass wins). niche examples: software, saas, digital marketing, manufacturing, restaurant, salon, gym, hotel, dental clinic, law firm, real estate, plumber, interior design, school, online store, wedding photographer, charity. country: name or code (India, US, UK, UAE, Australia, Germany...).

Inputs: site, niche, country, keywords, +2 more.

generate_schemaA

Generate ready-to-paste LocalBusiness JSON-LD (name, address, phone, email, logo, sameAs, foundingDate) from the saved submission kit (or the last scan). Paste the returned script tag into your site's (e.g. index.html). business_type: ProfessionalService, LocalBusiness, Organization, Restaurant, BeautySalon, Hotel, MedicalClinic, Store... Fields still missing are listed, never invented.

Inputs: domain (required), area_served, price_range, business_type.

list_projectsB

List every site you've scanned or saved, with niche, location, country and tracker progress.

Inputs: no named parameters.

qualify_prospectA

Fetch a prospect page and score it 0-100. Detects guest-post pages, roundup/"top N companies" lists (ask to be included), resource pages and directories; checks noindex, outbound spam links and sponsored-only policies; follows the site's contact/about/write-for-us pages to find real contact emails; and says which outreach template to use. topic_keywords (e.g. ["dentist", "dental"]) raises the score for relevant pages; if omitted, the saved project's keywords for my_domain are used.

Inputs: url (required), my_domain, topic_keywords.

save_projectB

Save (or update) a site you're working on - your own or a client's - so every other tool knows its niche, location, country, keywords and competitors. Only the fields you pass are changed. country: name or code ("India", "IN", "UK", "United States"...).

Inputs: site (required), niche, notes, country, +4 more.

scan_codebaseA

Scan a local website project (React/Vite, Next.js, Django, plain HTML, etc.): detect framework, routes/pages, meta tags, sitemap/robots, structured data, contact details and external links. Use when the site isn't live yet or to find what to fix in code.

Inputs: path (required), max_files.

scan_siteB

Crawl a live website (respects robots.txt, reads sitemap.xml) and return a business profile (name, contact, address, keywords, social profiles), per-page SEO data, broken links and link stats. Results are cached for the other tools.

Inputs: url (required), max_pages.

tracker_addB

Add a backlink opportunity to the tracker. kind: citation | directory | guest_post | resource_page | broken_link | mention | partner | press | profile. status: todo | submitted | pitched | live | rejected.

Inputs: url (required), kind (required), site (required), notes, +2 more.

tracker_listA

List tracked opportunities, optionally filtered by your site and/or status, with a summary.

Inputs: site, status.

tracker_updateC

Update a tracker entry's status/notes/contact by id.

Inputs: id (required), notes, status, contact.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 18 tools

    Disambiguation5/5

    Each tool has a distinct role across scanning, prospecting, outreach, citations, and tracking. Potentially overlapping pairs are clearly differentiated: scan_site handles live sites while scan_codebase handles local projects, and verify_backlink checks one page while recheck_live_links bulk-checks tracked live links.

    Naming Consistency4/5

    All names use readable snake_case, and most follow a consistent verb_noun pattern. The tracker_add/tracker_update/tracker_list resource-first convention and noun-style names such as seo_link_audit and internal_link_suggestions introduce minor inconsistencies.

    Tool Count4/5

    Eighteen tools is somewhat above the ideal compact range, but the server covers a broad end-to-end workflow and the tools generally earn their place. It feels comprehensive rather than padded, though the additional technical SEO and schema utilities expand the surface beyond core backlink management.

    Completeness4/5

    The workflow is well covered from site profiling and opportunity discovery through qualification, outreach drafting, submission assets, tracking, and link verification. Minor lifecycle gaps remain: tracker entries and saved projects cannot be deleted, and custom directories and footprints have add-only management without listing, editing, or removal tools.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      D
      maintenance
      Enables Claude Desktop to perform advanced web scraping and crawling operations, extracting structured data, analyzing website architectures, and discovering content relationships through natural conversation.
      5
      4
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables Claude to perform full SEO audits on unpublished HTML, Markdown, or Word documents, including keyword analysis, meta tag suggestions, readability scoring, and heading structure validation.
      11 npm
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables MCP clients such as Claude Code, Cursor and Codex to search a 1,245-site backlink library, plan link-building campaigns, build links in the user's own browser by following each site's method, and verify every placement by checking the live hyperlink, anchor text and nofollow status. It also resolves captcha, login and email-code gates in the chat, and re-checks placed links and referring domains over time with spam flags and a disavow file.
      10
      25 PyPI
      5
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables Claude to operate a local SEO tool through 50 MCP tools for crawling websites, listing and prioritizing issues, checking on-page optimization, measuring Core Web Vitals, researching keywords, viewing ranking data, and generating PDF reports.
      MIT