#66th of 19 in RAG and searchFor data and documents, documents and ocr
xberg
Rust document extraction engine with OCR, tables and 15 language bindings
Live demo ↗
(opens in a new tab)Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 9.6k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Oct 2026
- Language
- Rust
Missed the latest GitHub check; these facts may be older.
Overview
Xberg is a Rust engine that detects and reads 107 document formats (PDF, Office, images, email, archives, audio, URLs, source code) and returns text, tables, metadata or schema-driven JSON. It adds OCR backends, layout and table models, chunking and embeddings, and runs as a library, a 14-command CLI, a REST server or an MCP server. It is the v1 rebrand of Kreuzberg.
Who it is for: Developers feeding documents into RAG or extraction pipelines in any language
Strengths
- 107 formats, including nested archives guarded by zip-bomb and depth limits
- OCR via Tesseract, PaddleOCR, Candle or VLM backends with fallback chains
- Bindings for 15 languages plus CLI, REST (`xberg serve`) and MCP stdio server
- MIT license; CPU by default, no GPU required, with content-hash caching
Weaknesses
- URL ingestion, transcription and reranker need Cargo features in from-source builds
- Structured extraction needs an external LLM such as Ollama, vLLM or a hosted API
- v1 rebrand of Kreuzberg; migration path from the old package is not described
- Bindings are generated by alef, so each language package depends on that toolchain
What it needs
- Rust, Whisper ONNX (tiny to large-v3), PaddleOCR, PP-DocLayout-V3, RT-DETR
- Needs Tesseract (optional OCR backend), Ollama, LM Studio, vLLM or hosted LLM (structured extraction)
Also in RAG and search
See all 19| Rank | Project | Score |
|---|---|---|
| 1 | xerjElasticsearch-compatible search server that auto-indexes folders for coding agents | 86 out of 100 |
| 2 | llm-appYAML-configured RAG server that keeps a vector database synced with a document folder | 82 out of 100 |
| 3 | sonicLightweight schema-less search index that returns object IDs, written in Rust | 82 out of 100 |
| #4 | qmdLocal hybrid search over markdown notes and docs, with CLI and MCP server | 78 out of 100 |
| #5 | paradedbPostgres extension adding BM25 full-text, vector and hybrid search | 76 out of 100 |