Ask your vault, not the cloud
vrag searches an Obsidian vault on your own machine. It's one engine with three surfaces: a terminal UI for
people, a CLI with --json for scripts, and a read-only MCP server so Claude Code or Cursor can
look things up in your notes.
Every stage is a switch
Notes are chunked by heading and scored with BM25, tuned for German: stopwords, compound splitting, stemming, acronyms. Dense embeddings, a wikilink boost and a reranker are optional, so the defaults need nothing but Python. Each hit carries its score per stage, so you can see why it ranked where it did.
Measured, not guessed
Every change is scored against an eval set, and the tuning runs as an agent loop: change one thing, run
vrag eval, keep it or revert it. BM25 alone went from 0.742 to 0.921 MRR@10, the full hybrid
pipeline reaches 0.988. BM25 answers in under a millisecond, hybrid in about 23 ms.
Those are 40 dev queries on a small vault the loop was tuned on. The held-out split hasn't been checked yet.