Open source CLI tool

Give your AI the docs it needs

One command converts any documentation site into clean Markdown files your AI assistant can read. Works with Claude Code, Cursor, VS Code, and Windsurf.

npx docmunch <url> Open source
terminal
$ npx docmunch docs.stripe.com --crawl --name stripe
Detecting platform... Mintlify
Crawling 47 pages...
✓ Saved to .ai/docs/stripe/
 
Your AI can read the docs now.

How it works

From zero to AI-readable docs in three steps.
1

Crawl any docs

No install needed
terminal
$ npx docmunch docs.stripe.com --crawl --name stripe
Detecting platform... Mintlify
Crawling 47 pages...
✓ Saved to .ai/docs/stripe/

One command crawls an entire doc site and saves clean Markdown to your project. Uses npx — nothing to install. Your AI assistant reads the files directly.

Level up
2

Connect your AI via MCP

Search & browse
terminal
$ claude mcp add --scope project docmunch -- npx docmunch serve
✓ MCP server registered

Run /mcp inside Claude Code to verify the server is connected.

Scale up
3

Manage multiple sources

Config file
.docmunch.yaml
version: 1
output_dir: .ai/docs
sources:
  - name: stripe
    url: https://docs.stripe.com/api
    crawl: true
  - name: supabase
    url: https://supabase.com/docs
    crawl: true
terminal
$ docmunch update
✓ stripe: 2 pages updated
✓ supabase: up to date

Define all your doc sources in a config file. One command keeps everything fresh — content hashing ensures only changed pages are re-processed.

Everything you need

A complete toolkit for making documentation accessible to AI coding assistants.
  • Crawl entire doc sites
    Follow sidebar navigation and extract every page. Configurable depth, scoped to documentation paths.
  • MCP server & hosted endpoint
    Built-in local MCP server or hosted endpoint at docmunch.dev/mcp. Search, browse, and read docs from your AI.
  • Platform auto-detection
    Automatically detects Mintlify, Docusaurus, GitBook, ReadMe. Falls back to Readability for generic sites.
  • Config file management
    Manage multiple doc sources with .docmunch.yaml. Add, update, and list sources with simple commands.
  • Smart fetching & refresh
    Static HTTP first, auto-retries with Playwright for JS-rendered sites. Content hashing skips unchanged pages.
  • Works everywhere
    Claude Code, Cursor, VS Code, Windsurf — any tool supporting MCP gets full access to your docs.

Ready to get started?

Give your AI assistant the documentation it needs. No sign-up, no API keys.
$ npx docmunch <url>
or install globally:npm install -g docmunch
quick start
# Crawl docs — no install needed
$ npx docmunch docs.stripe.com --crawl --name stripe
 
# Connect MCP to Claude Code
$ claude mcp add --scope project docmunch -- npx docmunch serve
 
# Or manage multiple sources with a config file
$ docmunch add https://supabase.com/docs --name supabase --crawl
$ docmunch update