AL

adityaarsharma/librecrawl-technical-seo-audit-mcp

Developer tools
43 stars 7 forks Quality 85 Trend 42MIT

The AI-native technical SEO crawler. Open-source MCP server for Claude / Cursor / Codex — 37 tools, 50+ checks, unlimited pages, WAF detection, ephemeral by design. Built on LibreCrawl. MIT.

Overview

Run a complete on-site SEO audit on any website — straight from Claude, Cursor, Codex, or any Model Context Protocol (MCP) client. Built on the open-source engine, exposed through 37 MCP tools your AI assistant calls directly. is the open standard that lets AI assistants like Claude, Cursor, or Codex call external tools. Think of it as "USB for AI assistants" — you plug a tool in, the AI can use it. librecrawl-technical-seo-audit-mcp is one of those tools. Once installed, you just ask your AI assistant to audit a site, and it does. No GUI. No dashboard. No exports. - Don't have Claude Code yet? → Install Claude Code (free for individuals). - Prefer Cursor? → Get Cursor. - Already have one of those? → Skip to Install in 60s. That's the product. You get a branded PDF + 7 CSVs covering 50+ technical checks, ready to hand a client. The server wipes everything the moment you download. No flags to remember, no caps to set.

README


📑 Table of contents


🤔 Don’t know what an MCP is? Read this 30-second explainer

Model Context Protocol (MCP) is the open standard that lets AI assistants like Claude, Cursor, or Codex call external tools. Think of it as “USB for AI assistants” — you plug a tool in, the AI can use it. librecrawl-technical-seo-audit-mcp is one of those tools. Once installed, you just ask your AI assistant to audit a site, and it does. No GUI. No dashboard. No exports.

New to all this?


🪄 The whole pitch in 4 lines

You:    Audit https://acme.com — full site, no caps, give me the zip
Agent:  → librecrawl_start_chunked_audit · polls until done · saves zip locally
You:    Show me broken pages + broken external links + hreflang errors
Agent:  → reads CSVs, prints filtered tables. Server already forgot the audit.

That’s the product. Your AI assistant runs a full technical SEO audit for you. You get a branded PDF + 7 CSVs covering 50+ technical checks, ready to hand a client. The server wipes everything the moment you download.


✅ One command = a complete audit (v2.2.0)

No flags to remember, no caps to set. Anyone who runs:

librecrawl_start_chunked_audit(url="https://yoursite.com")

gets a full end-to-end audit by default:

  • Every page — entire sitemap crawled, including orphan pages not linked from the homepage
  • Every page’s text — readability, AI-tells, boilerplate analyzed word-by-word
  • Every outbound link — every domain (yours, third-party, social, CDN) HTTP-validated for broken links
  • No silent dropping — per-page checks + link validation cover 100% of pages; the report states exactly what was covered
  • Heavy sites safe — 4–5 MB pages crawl fine; Screaming-Frog-grade politeness never overloads the origin
  • Zero history — the server forgets the entire audit the moment you download the zip; re-scan anytime, nothing persists

Verified on real production sites: 1,942-page and 709-page WordPress sites, full coverage, origins healthy throughout.

Note: runs one audit at a time (single-tenant backend). For team use, queue audits sequentially — concurrent multi-audit routing is on the roadmap.


🔥 Why this exists

There are great desktop SEO crawlers (you know the ones). There are great cloud SEO suites. There was no AI-native crawler. librecrawl-technical-seo-audit-mcp fills that gap with five things no comparable open-source MCP server does:

⚡ It runs inside your AI assistant

38 MCP tools your agent calls directly. No GUI app to babysit, no SaaS dashboard to log into, no CSV exports to upload to ChatGPT. You just ask.

🚀 Chunked-progressive crawler that never times out

Most SEO MCP servers (SiteAudit MCP, AgentAEO, SE Ranking MCP) run synchronously and disconnect on sites over a few hundred pages. librecrawl-technical-seo-audit-mcp runs the crawl in a background worker thread, persists progress to SQLite WAL, and returns a session_id in under 2 seconds. Your agent polls a tiny status tool until done. 10,000-page enterprise sites work the same as 50-page blogs. Survives PM2 / MCP-client restarts mid-crawl.

🛡️ Catches WAF challenges other crawlers silently misreport

Cloudflare, Akamai, DataDome, Imperva, and PerimeterX challenge pages are served as 200 OK but contain a JavaScript challenge instead of your content. Most crawlers report these as “page OK, all good”. librecrawl-technical-seo-audit-mcp fingerprints the challenge in the response body and flags bot_block_challenge_detected. You see what’s actually broken.

🤖 An AIMD controller tunes crawl delay live

Additive-Increase / Multiplicative-Decrease — the same algorithm TCP congestion control uses. Error rate > 10% → halve chunk, double delay. p95 latency > 1.5× target → 1.5× delay. Clean signals → additive decrease. Polite by construction. No rate-limit blow-ups. No manual tuning. Respects robots.txt Crawl-Delay floor.

🧹 Ephemeral by design — the agency-safe default

Once you download the zip, the server deletes the session row, every artifact file on disk, AND the upstream LibreCrawl crawl record. Per-audit server footprint after cleanup: 0 bytes, 0 rows. Auditing 50 client sites? Zero data persists where another operator could see it.

📄 Branded PDF reports ready to hand a client

WeasyPrint, A4, page numbers, footer on every page. Open in any PDF viewer. No SaaS watermark. Hand it to a client as your work.


⚡ Install in 60 seconds

curl -fsSL https://raw.githubusercontent.com/adityaarsharma/librecrawl-technical-seo-audit-mcp/main/install.sh | bash

The installer asks 3 questions (target client, optional Google PageSpeed API key, optional GSC integration) and writes a ready-to-use MCP entry into your Claude / Cursor / Codex / Windsurf config. Done.

Three ways to run: the one-liner above (guided installer) · Docker (full stack, one command — best for self-hosting/VPS) · manual (Python venv + your own backend). New here? Start with the one-liner.

Brings up both the LibreCrawl engine and the MCP server, wired together and health-gated, with one command. Requires Docker + Docker Compose.

git clone https://github.com/adityaarsharma/librecrawl-technical-seo-audit-mcp.git
cd librecrawl-technical-seo-audit-mcp
docker compose up --build          # MCP at http://127.0.0.1:5081/mcp

The mcp service waits for LibreCrawl to report healthy before it starts. First build takes a few minutes (LibreCrawl pulls Chromium for JS rendering). Audit zips land in ./reports. Full knobs in docs/CONFIGURATION.md.

Add to your client config (Claude Desktop / Code — HTTP transport):

{
  "mcpServers": {
    "librecrawl": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "http://127.0.0.1:5081/mcp"]
    }
  }
}

🔧 Manual install

Python 3.10+, plus a LibreCrawl backend (the Docker path above is the easiest way to get one).

git clone https://github.com/adityaarsharma/librecrawl-technical-seo-audit-mcp.git
cd librecrawl-technical-seo-audit-mcp
python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt
# Point the MCP at your running LibreCrawl backend, then start it:
LIBRECRAWL_URL=http://127.0.0.1:5080 python server.py

Add to your client config (Claude Desktop example):

{
  "mcpServers": {
    "librecrawl": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "http://127.0.0.1:5081/mcp"]
    }
  }
}

Per-client setup (Claude Code, Cursor, Windsurf, Codex, Continue.dev) and every environment variable: docs/GETTING-STARTED.md · docs/CONFIGURATION.md.


🚀 50+ checks every audit

🔗 Every outbound URL HEAD/GET-validated into 17 status classes — ok · redirect · forbidden · not_found · timeout · dns_error · ssl_error · connection_refused · etc. Per-target: final URL after redirects, source pages, anchor text, response time, server header.

📈 GSC merge — pull Google Search Console data, call librecrawl_merge_gsc_data(crawl_id, gsc_data). URLs normalised before joining. Emits 4 extra CSVs: per-page-with-gsc · gsc-winners · gsc-losers (high impr + CTR <2%) · gsc-quick-wins (position 11–20 + impr ≥100).


🆚 Feature comparison to other on-site SEO crawlers

This is a factual feature comparison. Prices were checked at publication and may have changed — see each vendor’s site for current pricing. Brand names belong to their respective owners.

Capability Desktop crawler (Screaming Frog SEO Spider™)1 Desktop+cloud crawler (Sitebulb™)2 Cloud site-audit (Ahrefs™)3 librecrawl-technical-seo-audit-mcp
Pricing model Free tier (500 URLs) · paid annual licence Paid monthly subscription Bundled with main subscription Free, MIT-licensed, self-hosted
Page cap 500 free / unlimited paid Unlimited Tiered by subscription plan ♾️ Unlimited
Runs inside your AI assistant ❌ ❌ ❌ ✅
Chunked / background crawl (no timeout) ❌ ❌ Cloud only ✅
Auto-adaptive crawl delay (AIMD) ❌ Manual Hidden ✅
WAF / bot-block detection on 200-OK pages ❌ ❌ ❌ ✅
Sitemap-orphan fill (URLs not internally linked) ❌ ❌ ❌ ✅
Ephemeral by default (zero server footprint) N/A N/A N/A ✅
Broken links (4xx/5xx/timeout/DNS/SSL) ✅ ✅ ✅ ✅
Redirect chains with destination ✅ ✅ ✅ ✅
Title / meta / H1 + duplicates ✅ ✅ ✅ ✅
Canonical full audit ✅ ✅ ✅ ✅
Hreflang full audit (incl. return-tag graph) ✅ ✅ Partial ✅
Sitemap full cross-checks ✅ ✅ Partial ✅
Schema.org validation (16 types + Rich Results) ✅ ✅ Partial ✅
Soft-404 fingerprinting ✅ ✅ ✅ ✅
Mixed content (HTTPS → HTTP) ✅ ✅ ✅ ✅
Security headers pack ✅ ✅ Partial ✅
Image performance + CLS ✅ ✅ ✅ ✅
Content quality (Flesch · AI-tells · boilerplate) ❌ Partial ❌ ✅
Crawl-budget traps (calendar · session-id · facets) ✅ ✅ ✅ ✅
Branded PDF report ❌ ✅ ❌ ✅
GSC clicks/impressions merge Paid add-on Paid add-on Native ✅
JavaScript rendering ✅ ✅ Cloud only 🛣️ Roadmap

1 Screaming Frog SEO Spider is a trademark of Screaming Frog Ltd, UK. We are not affiliated. 2 Sitebulb is a trademark of Sitebulb Ltd, UK. We are not affiliated. 3 Ahrefs is a trademark of Ahrefs Pte. Ltd., Singapore. We are not affiliated.

Reading guide: if you currently use a paid on-site crawler and your workflow is “crawl → export CSVs → analyse”, librecrawl-technical-seo-audit-mcp covers that flow inside your AI assistant for £0 with no page caps. If your workflow depends on JavaScript-rendered SPAs, that’s on the roadmap but not shipped yet — use the desktop tool for now.


📊 What every audit produces

Single zip, 9 files:

File Use
SUMMARY.txt One-page orientation
-.pdf Branded human-readable PDF (open in any viewer)
-.md Markdown source of the PDF (grep-friendly)
per-page.csv 1 row per URL × 30 columns of check booleans + failed_checks_list + fetch_error
sitemap-recon.csv Sitemap-vs-crawl diff
external-links.csv Every outbound URL + status
content-audit.csv Per-page readability + AI-tells
extended-checks.csv 1 row per (URL × check × severity × detail) — all 50+ checks
schema-validation.csv JSON-LD findings per page against schema.org and Google rich-result required fields

📖 Your first audit

You:   Audit https://example.com — full site, no caps

Agent: → librecrawl_start_chunked_audit(url=..., total_max_pages=10000)
         returns session_id in <2s

       → polls librecrawl_audit_status every 25s
         status: crawling, pages_done: 47,  current_delay_ms: 250
         status: crawling, pages_done: 312, last chunk p95: 480ms, err_rate: 0%
         status: done,     pages_done: 534, artifacts_ready: true

       → librecrawl_audit_zip(session_id)
         returns base64 zip (9 files, 320 KB) + sha256
         SAVES LOCALLY as example.com-1a2b3c4d.zip

       → librecrawl_audit_confirm_saved(session_id, sha256=)
         hash matches, so the server wipes: session rows, files, zip, upstream crawl

You:   Show me broken pages + broken external links

Agent: → unzips, reads per-page.csv (filters status_4xx OR status_5xx)
       → reads external-links.csv (filters not_found · forbidden · 5xx · timeout)
       → prints both tables

Local zip is the only copy. The server deletes nothing until the agent proves the save with a matching sha256, and unconfirmed zips are swept after an hour.


🛣️ Roadmap

Status
JavaScript rendering (Playwright headless, DOM diff vs raw HTML) — catches SPA / React / Next.js apps 🟡 Designed
Core Web Vitals from CrUX — real-user 28-day field data, not just lab PSI 🟡 Designed
axe-core accessibility audit — contrast, ARIA, focus order, alt-text quality 🟡 Planned
White-label PDF theming (--brand-config for agencies) 🟡 Planned
Diff mode — audit A vs audit B, “what regressed since last week?” 🟡 Planned
Webhook on completion (Slack / Discord) — ping when long crawls finish 🟡 Planned

Not planned: keyword research, backlink analysis, SERP tracking. Those are different problems with different MCP servers (DataForSEO, etc.). This tool is laser-focused on technical on-site SEO crawling.

Open an issue to bump priorities or request a check.


🔎 How it works

One audit, start to finished zip — every step is an MCP tool your agent calls:

sequenceDiagram
    actor You
    participant Agent as AI assistant
    participant MCP as librecrawl-mcp
    participant LC as LibreCrawl engine
    You->>Agent: "Audit https://acme.com — full site, give me the zip"
    Agent->>MCP: librecrawl_start_chunked_audit(url)
    MCP->>LC: start crawl on a background worker
    MCP-->>Agent: session_id (returned in < 2s)
    loop every ~25s until done
        Agent->>MCP: librecrawl_audit_status(session_id)
        MCP-->>Agent: crawling · pages_done · p95 latency · err_rate
    end
    MCP-->>Agent: status: done · artifacts_ready
    Agent->>MCP: librecrawl_audit_zip(session_id)
    MCP-->>Agent: base64 zip + sha256 (branded PDF + 7 CSVs)
    Agent->>Agent: save locally, hash the saved bytes
    Agent->>MCP: librecrawl_audit_confirm_saved(session_id, sha256)
    MCP-->>Agent: hash matches, server wiped, per-step cleanup result
    Agent-->>You: saved locally, cleanup passed

🏗️ Architecture

Two processes: a thin MCP wrapper your agent talks to, and the LibreCrawl engine that does the crawling.

flowchart TD
    A["🖥️ MCP clientClaude Code · Desktop · Cursor · Codex · Windsurf"]
    A -->|streamable HTTP or stdio| B
    subgraph MCP["🕷️ librecrawl-technical-seo-audit-mcp — server.py (FastMCP · 38 tools)"]
        direction TB
        B["runner.pybackground worker thread + AIMD controller"]
        C["state.pySQLite WAL — session state"]
        D["external_links · schema · content_auditextended_checks · sitemap_fill · pdf_report"]
        E["libreclient.pytyped wrapper to the upstream API"]
        B --> C
        B --> D
        B --> E
    end
    E -->|HTTP :5080| F["🐍 LibreCrawl Flask backendsingle-tenant · crawls + extracts SEO data"]

Full component walk-through: docs/ARCHITECTURE.md.


⚙️ Configuration

All environment variables are optional — the defaults just work. Set them via your shell, docker compose, or your MCP client config.

Env var Default Purpose
LIBRECRAWL_URL http://127.0.0.1:5080 Full base URL of the LibreCrawl backend (Docker sets http://librecrawl:5000)
LIBRECRAWL_PORT 5080 Backend port (used only when LIBRECRAWL_URL is unset)
MCP_HOST 127.0.0.1 Bind address for HTTP transport (Docker sets 0.0.0.0)
MCP_PORT 5081 MCP wrapper port
MCP_TRANSPORT http http (streamable) or stdio
REPORTS_DIR ~/librecrawl-reports Where audit zips land
LIBRECRAWL_UPSTREAM_DB ~/.librecrawl/upstream/users.db LibreCrawl’s SQLite, for orphan/cleanup checks (degrades gracefully if absent)
PAGESPEED_API_KEY unset Optional. librecrawl_pagespeed* works without it on Google’s low shared quota; a key raises the limit
LIBRECRAWL_ALLOW_PRIVATE_TARGETS unset Set to 1 to audit intranet or localhost sites. By default every fetch refuses private, loopback and cloud-metadata addresses, including on redirects
LIBRECRAWL_PDF_FOOTER author credit Replaces the PDF footer text

📖 Full reference, per-client config, and transport details: docs/CONFIGURATION.md.


🛠️ 38 MCP tools


📚 Documentation

Deeper guides live in docs/:

Guide What’s inside
Getting Started Install every way (one-liner · Docker · manual), per-client config for Claude Code/Desktop, Cursor, Windsurf, Codex, Continue.dev, and your first audit end-to-end
Configuration Every environment variable, HTTP vs stdio transport, ports, reports directory, PageSpeed key
Tools Reference All 38 MCP tools — signatures, arguments, when to use each
Architecture How the wrapper, background worker, AIMD controller, and LibreCrawl backend fit together
Troubleshooting Common errors and fixes — backend unreachable, empty audits, PDF/WeasyPrint, Docker health, big-site tuning

📜 License & trademarks

Code: MIT. Use it on client work, agency work, internal tools, anything. No attribution required (but appreciated). See LICENSE.

Trademarks. All third-party product names mentioned in this README (including any names referenced in the comparison table) are property of their respective owners. This project is not affiliated with, endorsed by, or sponsored by any third-party tool vendor. Comparisons are based on publicly available information at the time of writing and exist for the purpose of informing readers evaluating different categories of SEO tooling.


🙏 Credits

  • LibreCrawl — the upstream open-source crawler this MCP server wraps. MIT. Please go star them — this project would not exist without that work.
  • Anthropic Model Context Protocol — the protocol this server speaks
  • WeasyPrint — Markdown → HTML → PDF rendering
  • FastMCP — the Python MCP server framework


Discoverability keywords: seo audit mcp server · open-source seo crawler · self-hosted seo crawler · technical seo audit mcp · on-site seo audit tool · alternative to paid seo crawlers · free seo audit tool · seo crawler for claude · seo crawler for cursor · seo crawler for openai codex · seo crawler for windsurf · seo crawler for continue.dev · mcp server for seo · model context protocol seo · hreflang audit tool free · canonical chain checker · broken link checker unlimited · core web vitals audit cli · structured data validator command line · schema.org rich results validator · sitemap audit tool · sitemap orphan detection · WAF detection crawler · cloudflare challenge detector · security headers checker · CSP HSTS audit · google search console integration crawler · soft 404 detection · chunked crawler no timeout MCP · technical SEO audit api · python seo crawler · seo agency tool open source · ephemeral seo audit · agency-safe seo crawler · branded pdf seo report · seo audit cli tool · mit-licensed seo crawler · free site audit tool · enterprise seo crawler self-hosted · librecrawl mcp · librecrawl mcp server

View this README on GitHub

Install

npx -y mcp-remote http://127.0.0.1:5081/mcp

Configuration

{ "mcpServers": { "librecrawl": { "command": "npx", "args": ["-y", "mcp-remote", "http://127.0.0.1:5081/mcp"] } } }