Skip to content

RAG for your documents vs XERJ

RAG for your documents is an open-source MCP server for knowledge and memory. XERJ is an open-source MCP server for knowledge and memory.

  • RAG for your documents is best for ask questions about a policy folder.
  • XERJ is best for search local code and docs from an agent.
What it is
RAG for your documents is an open-source MCP server for knowledge and memory.
XERJ is an open-source MCP server for knowledge and memory.
Best for
Ask questions about a policy folder
Search local code and docs from an agent
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI
CLI, Linux, macOS, self-hosted, API
Runs
Locally
Locally
GitHub stars
19.2K
Last commit
Nov 2026
License
Apache-2.0
Open source
Good for
Ask questions about a policy folder; Verify that an assistant's answer is supported by your files; Prototype document search without cloud services
Search local code and docs from an agent; Give an agent persistent memory notes; Look up real API definitions

What RAG for your documents does

  • Offline indexing

    Indexes a folder at startup with no key, database or network.

  • Passage search

    Returns ranked passages with source file and chunk id.

  • Answer checking

    Tests an answer against retrieved or supplied sources.

  • Adjustable limits

    topK and question size can be set by input or flag.

  • Stdio transport

    The client starts the server directly.

What XERJ does

  • Single binary

    Search, vectors, facts and memory in one Rust program.

  • Evidence-backed answers

    Answers come with the program and evidence used.

  • Runs locally

    Works offline on a CPU, on a laptop or server.

  • Elasticsearch-compatible API

    Exposes an API compatible with Elasticsearch.

  • Reference coding

    Index open-source repos so agents consult real definitions.

  • MCP integration

    Stdio MCP server connects to a running node.

RAG for your documents vs XERJ: questions

Is RAG for your documents or XERJ cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between RAG for your documents and XERJ?

RAG for your documents is an open-source MCP server for knowledge and memory. XERJ is an open-source MCP server for knowledge and memory.