Show HN: Docxtract – Turn docs into clean LLM context and study guides github.co...

@show

Show HN: Docxtract – Turn docs into clean LLM context and study guides github.com · 2 points · 0 comments · HN thread

TL;DR docxtract is an open-source Python toolkit (PyPI package docxtract-ai) that crawls documentation sites and course portals, strips navigation, cookie banners and scripts, and outputs compact Markdown for LLM context. It can also run a three-stage map-reduce synthesis into a master_review.md using a local or cloud model. The README claims 70%+ noise reduction and an 84% token reduction on a 12-article Warp course, but the thread has no comments yet.

  • Crawls a doc portal (e.g. warp.dev/learn with --depth 2) and writes cleaned Markdown files, keeping code blocks, YAML, tables and video embeds such as Mux, Loom and YouTube.
  • Claims about 115,000 raw HTML tokens reduced to about 18,000 Markdown tokens (84%) on 12 Warp course articles; synthesis took about 2 minutes with Ollama and llama3.3.
  • Works with any OpenAI-compatible endpoint: llama.cpp, Ollama, LM Studio, vLLM, OpenAI and Groq, with a connection test command.
  • Includes a web UI on localhost:7860, a Colab notebook, and a stdio MCP server exposing crawl_docs, extract_page and synthesize_docs for Claude Desktop, Cursor and Windsurf.
  • Licensed Apache-2.0; installable via pip install docxtract-ai or from source.

Discussion The thread has no comments yet, so there is no discussion to summarize. The submission has 2 points and was posted as a Show HN.

#llm #documentation #markdown #webScraping #showHN #mcp