EveryDev.ai
Subscribe
Home
Tools

3,891+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2782
  • Coding1973
  • Infrastructure825
  • Projects603
  • Marketing598
  • Research520
  • Analytics468
  • Design462
  • MCP419
  • Testing346
  • Security323
  • Data305
  • Integration224
  • Prompts220
  • Communication210
  • Extensions196
  • Learning179
  • Voice175
  • Commerce160
  • DevOps135
  • Web95
  • Finance31
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. LLM Documentation Scraper (doc-scraper)
    LLM Documentation Scraper (doc-scraper) icon

    LLM Documentation Scraper (doc-scraper)

    Retrieval-Augmented Generation

    A configurable, concurrent, and resumable Go CLI tool that crawls documentation websites and converts content to clean Markdown for LLM ingestion, RAG pipelines, and training data.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open source under Apache License 2.0. Self-hosted CLI tool with no usage limits.

    Engagement

    Available On

    CLI
    API
    Windows
    macOS
    Linux

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Retrieval-Augmented GenerationMCP ServersDocumentation

    Alternatives

    XbergGraphlitkapa.ai
    Developer
    Sriram PeriannanSriram Periannan builds open-source developer tools focused…

    Listed Sep 2026

    About LLM Documentation Scraper (doc-scraper)

    doc-scraper is an open-source command-line tool written in Go by Sriram Periannan (GitHub: Sriram-PR), licensed under Apache 2.0. It crawls technical documentation websites, extracts main content using CSS selectors or automatic framework detection, and converts the result to clean GitHub-Flavored Markdown optimized for ingestion by Large Language Models. The project is actively maintained, with its latest release (v2.9.2) published in September 2026.

    What It Is

    doc-scraper is a web crawler purpose-built for the LLM data-preparation workflow. Rather than producing raw HTML dumps, it targets the content region of documentation pages — stripping navigation, analytics, and page chrome — and outputs structured Markdown files that preserve the original site hierarchy. It also emits JSONL records (one per page) and llms.txt/llms-full.txt manifests following the llmstxt.org convention, making the output directly consumable by RAG pipelines and downstream indexers. The tool runs entirely locally: no telemetry, no accounts, and no network requests beyond the crawls you explicitly configure.

    Core Crawling Architecture

    doc-scraper uses Go's concurrency model with configurable worker pools, a global semaphore, and per-host semaphores to parallelize crawls without overwhelming target servers. Key architectural choices include:

    • State persistence via BadgerDB — supports resuming interrupted crawls with --resume
    • Incremental crawling — hashes the extracted content region (not the raw page) so navigation churn and analytics tokens don't trigger unnecessary reprocessing
    • Exponential backoff with jitter for HTTP retries
    • robots.txt and sitemap processing built in
    • Graceful shutdown on SIGINT/SIGTERM with state flush

    Configuration is YAML-driven, with global defaults overridable per site. A single config can define dozens of sites, each with its own start URLs, allowed domain/path prefix, content selector, depth limit, and rate-limiting settings.

    Auto Content Detection and Framework Support

    When content_selector: "auto" is set, the crawler detects the documentation framework and applies a validated selector automatically. Detection covers 30+ generators and hosted platforms across three tiers of trust: <meta name="generator"> tags, structural DOM signatures, and asset path patterns. Covered families include Docusaurus, VitePress, VuePress, Starlight/Astro, Nextra, Fumadocs, Mintlify, GitBook, MkDocs (Material, ReadTheDocs, and plain), Sphinx (multiple themes), Antora, Docsy, mdBook, rustdoc, pkg.go.dev, Javadoc, Doxygen, TypeDoc, Writerside, ReadMe.com, and more. Every detected selector is validated against the live page before being trusted; if it matches nothing or captures too little text, the crawler falls back to Mozilla's Readability algorithm rather than silently producing an empty crawl.

    MCP Server Mode and AI Tool Integration

    doc-scraper can run as a Model Context Protocol (MCP) server over stdio, enabling direct integration with Claude Code and Cursor. The MCP interface exposes eleven tools:

    • describe_server — orientation manifest combining server identity, sites, and recent jobs
    • crawl_site / get_job_status / cancel_crawl — background crawl lifecycle management
    • list_pages / read_page — paginated enumeration and retrieval of stored Markdown without network access
    • search_docs — offline BM25 full-text search with stemming and section anchors over the crawled corpus (backed by SQLite FTS5)
    • get_freshness / diff_crawl — staleness reporting and change diffing from the crawl-history index
    • get_page — live single-URL fetch returning Markdown
    • list_sites — enumerate configured sites

    The add command probes a docs URL, detects its framework, proposes a crawl scope from the sitemap, previews extracted content with code-block fidelity metrics, and appends a config entry only after confirmation — preserving existing YAML comments byte-for-byte.

    Update: v2.9.2

    The latest release is v2.9.2, published 2026-09-06. The v2.x line removed the SSE MCP transport (stdio only remains), added the run command for JSON-driven orchestration, introduced the add command for interactive site onboarding, expanded auto-detection to 30+ frameworks, added diff_crawl and get_freshness MCP tools, and brought incremental crawling with content-scoped change detection. The repository shows active development with the last push on 2026-09-06 and 99 stars at the time of indexing.

    LLM Documentation Scraper (doc-scraper) - 1

    Community Discussions

    Be the first to start a conversation about LLM Documentation Scraper (doc-scraper)

    Share your experience with LLM Documentation Scraper (doc-scraper), ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open source under Apache License 2.0. Self-hosted CLI tool with no usage limits.

    • Full crawling functionality
    • MCP server mode
    • JSONL and Markdown output
    • Incremental and watch modes
    • BM25 full-text search

    Capabilities

    Key Features

    • Configurable YAML-driven crawling with global and per-site settings
    • CSS selector-based content extraction
    • Auto content detection for 30+ documentation frameworks
    • HTML to GitHub-Flavored Markdown conversion
    • JSONL output for RAG pipeline ingestion
    • llms.txt and llms-full.txt manifest generation
    • Resumable crawls via BadgerDB state persistence
    • Incremental crawling with content-scoped change detection
    • Parallel multi-site crawling with shared resource management
    • Configurable worker pools and per-host rate limiting
    • robots.txt and sitemap processing
    • MCP server mode for Claude Code and Cursor integration
    • Offline BM25 full-text search over crawled corpus (SQLite FTS5)
    • Watch mode for scheduled periodic re-crawling
    • Graceful shutdown with SIGINT/SIGTERM handling
    • HTTP retries with exponential backoff and jitter
    • Image downloading and local link rewriting (opt-in)
    • Structured logging with optional JSON output
    • Config validate and config list CLI utilities
    • add command for interactive site onboarding
    • run command for JSON-driven orchestration
    • Readability fallback for unknown frameworks
    • SSRF guard for private network protection

    Integrations

    Claude Code
    Cursor
    Model Context Protocol (MCP)
    BadgerDB
    SQLite FTS5
    GoQuery
    html-to-markdown
    go-readability
    mcp-go
    Docusaurus
    MkDocs
    Sphinx
    GitBook
    VitePress
    ReadTheDocs
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate LLM Documentation Scraper (doc-scraper) and help others make informed decisions.

    Developer

    Sriram Periannan

    Sriram Periannan builds open-source developer tools focused on LLM data preparation and documentation processing. The doc-scraper project provides a production-ready Go CLI for crawling and converting technical documentation into clean Markdown for RAG pipelines and LLM training. The project is actively maintained on GitHub under the Apache 2.0 license.

    Read more about Sriram Periannan
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    Xberg icon

    Xberg

    Ultra-fast open-source document intelligence engine that extracts text, tables, entities, and embeddings from 100+ formats with 15 language bindings and a Rust core.

    Graphlit icon

    Graphlit

    Graphlit is a cloud API platform that provides organizational knowledge infrastructure for AI agents, handling content ingestion, entity extraction, semantic search, and RAG in one unified API.

    kapa.ai icon

    kapa.ai

    Kapa.ai turns technical documentation into enterprise-grade AI assistants that accurately answer complex product questions across docs, support, Slack, Discord, and more.

    Browse all tools

    Related Topics

    Retrieval-Augmented Generation

    RAG Systems that enhance LLM outputs by retrieving relevant information from external knowledge bases, combining the power of generative AI with information retrieval for more accurate and contextual responses.

    122 tools

    MCP Servers

    Model Context Protocol servers that extend AI capabilities.

    241 tools

    Documentation

    AI-driven tools that automatically generate, maintain, and organize technical documentation, user guides, and project artifacts with context-aware content and intelligent updating.

    95 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions