#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

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
Also in RAG and search
RankProjectScore
1xerjElasticsearch-compatible search server that auto-indexes folders for coding agents Live demo ↗ (opens in a new tab)18.9k stars+15,411 (+437%) in 30 daysApache-2.086 out of 100
2llm-appYAML-configured RAG server that keeps a vector database synced with a document folder58.7k starsMIT82 out of 100
3sonicLightweight schema-less search index that returns object IDs, written in Rust Live demo ↗ (opens in a new tab)21.4k starsMPL-2.082 out of 100
#4qmdLocal hybrid search over markdown notes and docs, with CLI and MCP server31.1k stars+755 (+2.5%) in 30 daysMIT78 out of 100
#5paradedbPostgres extension adding BM25 full-text, vector and hybrid search9.5k stars+124 (+1.3%) in 30 daysAGPL-3.076 out of 100