Backlinks MCP
Summary: An MCP server that turns Claude into an SEO and link-building assistant — crawl and audit a site, find backlink opportunities, prepare outreach, and track every link.
Scan a site (
scan_site) — crawls a live URL respecting robots.txt/sitemaps and returns business profile, per-page SEO data, broken links and link stats (cached for other tools).Scan a codebase (
scan_codebase) — reads a local React/Vite, Next.js, Django or plain HTML project to find routes, meta tags, sitemap/robots, structured data, contact details and external links.Audit (
seo_link_audit) — flags missing titles/descriptions/canonicals, noindex, thin pages, missing schema/OG, broken links and orphan pages that waste link equity.Internal linking (
internal_link_suggestions) — suggests source page → target page with anchor text, based on keyword overlap.Manage projects (
save_project,list_projects) — store each site/client with niche, location, country, keywords and competitors so every other tool reuses them.Find opportunities (
find_opportunities) — matching directories/citation sites filtered by niche and country, plus ready-to-run search footprint queries (roundups, guest posts, resource pages, podcasts, competitor mentions).Extend the data (
add_custom_directory,add_custom_footprint) — add your own directories (optionally city-scoped) and footprint queries, saved tocustom.json.Qualify prospects (
qualify_prospect) — scores a prospect 0–100, detects guest-post/roundup/resource pages and directories, finds real contact emails, and recommends an outreach template.Build a submission kit (
build_submission_kit) — one consistent name/address/phone + descriptions kit, rejecting placeholder values and returningneeds_review.Generate schema (
generate_schema) — ready-to-paste LocalBusiness/Organization JSON-LD from the kit, listing missing fields instead of inventing them.Draft outreach (
draft_outreach) — writes emails for 8 templates (guest post, list inclusion, resource page, broken link, unlinked mention, partner, testimonial, local press) with warnings; never sends.Verify backlinks (
verify_backlink) — checks anchor text, rel (nofollow/sponsored/ugc) and source indexability, updating the tracker.Track and re-check (
tracker_add,tracker_update,tracker_list,recheck_live_links) — manage opportunity status and flag live links that disappeared or turned nofollow.
(Note: the schema exposes 18 tools, while the README documents 23 — content_plan, link_profile, next_actions, export_report and domain_authority are described but absent here.)
Includes Airbnb as a built-in hotel/stay directory target for listing and backlink preparation.
Includes Apple Business Connect as a built-in business directory target for listing and backlink preparation.
Includes Deliveroo as a built-in restaurant/food directory target for listing and backlink preparation.
Includes DoorDash as a built-in restaurant/food directory target for listing and backlink preparation.
Includes Facebook as a built-in business directory target for listing and backlink preparation.
Includes GitHub as a built-in software/IT directory target for listing and backlink preparation.
Includes Google Business Profile as a built-in business directory target for listing and backlink preparation.
Includes Houzz Pro as a built-in trades/home-services directory target for listing and backlink preparation.
Includes Product Hunt as a built-in software/startup directory target for listing and backlink preparation.
Includes Swiggy as a built-in restaurant/food directory target for listing and backlink preparation.
Includes Thumbtack as a built-in trades/home-services directory target for listing and backlink preparation.
Includes Tripadvisor as a built-in restaurant/food directory target for listing and backlink preparation.
Includes Trustpilot as a built-in general business directory target for listing and backlink preparation.
Includes Uber Eats as a built-in restaurant/food directory target for listing and backlink preparation.
Includes Wellfound as a built-in software/startup directory target for listing and backlink preparation.
Includes Yelp as a built-in restaurant/food directory target for listing and backlink preparation.
Includes Zillow as a built-in real-estate directory target for listing and backlink preparation.
Includes Zomato as a built-in restaurant/food directory target for listing and backlink preparation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Backlinks MCP find directories for my Austin dental clinic and draft outreach emails"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Ady's Backlinks MCP
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 reportJavaScript 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 chromiumscan_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.shWindows (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.ps1The installer:
creates a private Python environment in
.venv(nothing installed system-wide)installs the server
asks whether to add JavaScript rendering (say yes if you work with React/Vite/Vue sites). Skip the question with
--render/--no-render(-Render/-NoRenderon Windows).adds it to Claude Desktop automatically, backing up your old config as
.bakadds 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-mcpCopy 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 |
|
Windows |
|
Linux |
|
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-mcpInside 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.cloudflared2. Terminal 1: start the server in HTTP mode
~/adys-backlinks-mcp/.venv/bin/backlink-mcp --httpIt prints your secret path, for example:
claude.ai connector URL: https://<your-tunnel-host>/Lvl_-h-kNDN896jX2w7yO5w7TdOQPeXN/mcp3. Terminal 2: start the tunnel
cloudflared tunnel --url http://localhost:8787It prints a URL like https://random-words.trycloudflare.com.
4. Add it on claude.ai
Go to Settings → Connectors → Add custom connector, then:
Name:
backlinksURL:
https://random-words.trycloudflare.com/<your-secret>/mcpLeave 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.comURL 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 shows404instead.Options:
--port 8787(default),--host 127.0.0.1(default). You can also set the secret with theBACKLINK_MCP_TOKENenvironment variable.
Check it works
Option A: in Claude. Open a new chat and type:
use backlinks to scan https://yoursite.com with max 5 pagesYou 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-mcpClick 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-mcpIf 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,20XXoryour 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 monthWhere to add links and text on your pages
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 needsscan_codebase ... site=example.com(orsave_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 projectsscan_sitecreates a project automatically the first time a site is scanned. Runsave_projectto add the niche, location and country.Each project has its own scan, submission kit, schema and tracker entries.
list_projectsshows 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 |
| Crawls the live site, respecting |
| (Pass |
| A health score (0–100, A–F) and a ranked |
| 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. |
| 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. |
| Saves a site (yours or a client's) with its niche, location, country, keywords, competitors and code folder, so every other tool uses them. |
| Lists all your sites with niche, location, country, tracker progress and whether a kit is saved. |
| 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 |
| Adds your own directory (optionally only for one city). It's saved to |
| Adds your own search query using |
| 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 |
| 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 |
| Ready-to-paste JSON-LD built from your kit: any |
| Writes an email: |
| 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 |
| Adds an opportunity to your tracker. Blocks a second entry for the same directory. |
| Changes status or notes ( |
| Shows your tracker with a summary. |
| Re-checks all live (and lost) links. Flags removed links, nofollow-only links and links on noindex pages. |
| Referring domains, follow/nofollow mix and anchor-text mix, with warnings when it looks unnatural. |
| Today's to-do list across all projects: due follow-ups, unstarted opportunities, stale or lost links, missing setup. |
| A client-ready, self-contained HTML report for a site. |
| 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 |
| your sites/clients: niche, location, country, keywords, competitors |
| your own directories, search queries, email templates and categories |
| your opportunities and their status (for all sites) |
| your copy-paste kit |
| the last scan (used by audit and link suggestions) |
| exported client reports |
| 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 # WindowsAdd 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 |
|
|
| optional; only shown for projects in this city or area |
| the niches it suits: |
| 5 = do first … 1 = nice to have |
Footprint placeholders |
|
Template placeholders |
|
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 |
| The path in your config is wrong. Run |
| claude.ai can't run local paths. Use the HTTP + tunnel setup, or use Claude Desktop. |
| You ran |
| The folder is in Downloads/Desktop/Documents. Move it to |
Tools don't appear in Claude Desktop | Fully quit it ( |
| Normal. Browsers can't speak MCP. Add the URL in claude.ai instead. |
| Wrong secret in the URL. Copy it again from the |
SSL certificate error during scans (Mac) | Run |
Scan finds 0 pages | The site blocks bots or is client-side only. Use |
Prospect says | That site blocks bots. It's not a bad site. Open it yourself or ask Claude to read it with web fetch. |
| Run |
No | Run |
| No country was set, or the niche word wasn't recognised. Run |
| Use a name or code: |
Kit says | Look at |
Scan finds 1 page / almost no words on a React or Vite site | Install JS rendering. |
| Run |
| The venv isn't active. Use the full path: |
Logs
Mac:
tail -50 ~/Library/Logs/Claude/mcp-server-backlinks.logWindows:
%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 -qThe 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
Remove the
"backlinks"block from your Claude Desktop config (and runclaude mcp remove backlinksfor Claude Code).Delete the folder:
rm -rf ~/adys-backlinks-mcp(Optional) delete your data:
rm -rf ~/.backlink-mcp
Requirements
Python 3.10+
Works with the
mcpPython SDK 1.x and 2.xmacOS, Windows, Linux
License
MIT. See LICENSE.
Available Tools
18 toolsadd_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.
internal_link_suggestionsB
Suggest internal links (source page -> target page, anchor text) for weakly-linked pages, based on keyword overlap from the cached scan. Internal linking passes backlink equity to deeper pages.
Inputs: domain (required), limit. Returns: result
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.
recheck_live_linksB
Re-verify every 'live' tracker entry for a site and flag links that disappeared or became nofollow.
Inputs: site (required).
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.
seo_link_auditA
Audit the cached scan_site result for problems that waste or block link equity: missing titles/ descriptions/canonicals, noindex, thin pages, missing schema/OG, broken links, orphan pages. Run scan_site first.
Inputs: domain (required).
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.
verify_backlinkA
Check whether a page links to your domain: anchor text, rel (nofollow/sponsored/ugc), target URL, and whether the source page is indexable. Updates any matching tracker entry.
Inputs: source_url (required), target_domain (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 18 tools
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.
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.
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.
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
Related MCP Connectors
Live SEO workflow tools for Claude Code, Codex, and AI agents.
Keyword research, Google SERPs, backlinks, rank checks and SEO audits in Claude.
SEO audits, Search Console, GA4, keyword and backlink data for Claude, ChatGPT and Cursor.
Live SEO intelligence, rank tracking, site audits, and backlink analysis for AI agents.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables Claude Desktop to perform advanced web scraping and crawling operations, extracting structured data, analyzing website architectures, and discovering content relationships through natural conversation.54-
- AlicenseNot gradedqualityBmaintenanceEnables 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 npmMIT
- AlicenseBqualityBmaintenanceEnables 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.1025 PyPI5MIT
- AlicenseNot gradedqualityBmaintenanceEnables 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