Diagram

One file vs one server

memvid

A single .mv2 file

Data, search index and metadata live in one portable file. You open it from your code with the SDK. Lexical search is BM25 through Tantivy. Vector search is a build feature.

XERJ

A local search server

One binary serves memory over HTTP and MCP, next to logs, docs and code. BM25 by default. Semantic and hybrid recall in neural mode, with MiniLM built in.

memvid details are from its README on 2026-10-31. In our run we used memvid-sdk 2.0.160 from PyPI.