Skip to content

v0.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 15 Nov 21:14
· 27 commits to main since this release

First published version. An MCP server that turns directories of prepared project knowledge into
searchable collections: Markdown, TSV, YAML, JSONL, SQL, PDF (by pages or by outline), HTML and
Office sources, cut and laid out by settings, indexed in Apache Lucene with BM25 and vectors,
searched lexically, by vectors or both. It returns passages and their sources; answering is left
to the client.

Download lucene-rag-server.jar, then follow the
Quickstart. It needs JDK 25. For vector
search, java -jar lucene-rag-server.jar rag-model fetch e5-small downloads the default
embedding model; an OpenAI-compatible embedding service of your own works too.

What is in it

  • Tools: listCollections, search, getDocument, lookup, fieldValues, relatedRecords,
    explainSearch and rebuildCollection, each group switched by an environment variable; a
    record is also the MCP resource rag://{collection}/{id}.
  • Commands: rag-index, rag-search, rag-eval to measure search on a question set, and
    rag-model to fetch embedding models.
  • MCP over stdio, or over streamable HTTP with RAG_MCP_TRANSPORT=http.

Checked on a real corpus: about 260 Markdown files, YAML table descriptions, TSV catalogs, SQL
queries and a table of symptoms of one project. On its question set of 60 measured questions,
hybrid search finds the expected record first for 43 and within the first ten results for 58,
with the default model. Developed and tested on Windows.

Known limits

  • Built on release candidates: Spring Boot 4.2.0-RC1 and Spring AI 2.1.0-RC1.
  • No reranker: the two questions not found within ten are gaps of the corpus, not of ranking.
  • ONNX Runtime stays on 1.20.0 because later versions do not load on Windows with the C++
    runtime JDKs ship.
  • The HTTP transport has no authentication; by default it listens on the local machine only.
  • HTML and Office files are read as text without their headings; convert them to Markdown to
    keep their structure.
  • The jar is about 270 MB, most of it ONNX Runtime and the Office parsers of Apache Tika.
  • Other operating systems run the unit tests in CI but have not been used with a real corpus.