Skip to content

diffctx vs XERJ

diffctx is a free MCP server for developer tools. XERJ is an open-source MCP server for knowledge and memory.

  • diffctx is best for give an llm reviewer only the relevant code.
  • XERJ is best for search local code and docs from an agent.
What it is
diffctx is a free MCP server for developer tools.
XERJ is an open-source MCP server for knowledge and memory.
Best for
Give an LLM reviewer only the relevant code
Search local code and docs from an agent
Kind
MCP server
MCP server
Pricing
Free
Open source
Platforms
CLI, Windows, macOS, Linux
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
Give an LLM reviewer only the relevant code; Find what a change reaches outside the diff; Pack context for a branch under a token budget
Search local code and docs from an agent; Give an agent persistent memory notes; Look up real API definitions

What diffctx does

  • Diff-seeded selection

    Starts from changed lines and expands through the code graph.

  • Token budget

    A hard budget caps the selection; the default is automatic.

  • Impact mode

    Shows callers outside the diff, their tests and contracts.

  • Scoring modes

    ego, ppr, bm25, rrf and pit.

  • Many install paths

    pip, pipx, uvx, cargo, npm, Docker and Scoop.

  • Local and deterministic

    No index, no model calls, works offline.

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.

diffctx vs XERJ: questions

Is diffctx or XERJ cheaper?

Both are free. Compare current plans on each official site.

What is the difference between diffctx and XERJ?

diffctx is a free MCP server for developer tools. XERJ is an open-source MCP server for knowledge and memory.