ContextLib vs XERJ
ContextLib is an open-source MCP server for files and documents. XERJ is an open-source MCP server for knowledge and memory.
- ContextLib is best for give coding agents durable project memory across sessions.
- XERJ is best for search local code and docs from an agent.
- What it is
- ContextLib is an open-source MCP server for files and documents.XERJ is an open-source MCP server for knowledge and memory.
- Best for
- Give coding agents durable project memory across sessionsSearch local code and docs from an agent
- Kind
- MCP serverMCP server
- Pricing
- Open sourceOpen source
- Platforms
- CLI, self-hosted, macOSCLI, Linux, macOS, self-hosted, API
- Runs
- LocallyLocally
- GitHub stars
- 19.2K
- Last commit
- Nov 2026
- License
- Apache-2.0
- Open source
- Good for
- Give coding agents durable project memory across sessions; Record decisions and requirements a team can read without special tools; Review and approve lessons an agent proposesSearch local code and docs from an agent; Give an agent persistent memory notes; Look up real API definitions
What ContextLib does
Markdown storage
Keeps knowledge as readable files with front matter, one folder per project.
Proposal inbox
Holds agent-proposed records until a person accepts or rejects them.
Supersession chain
Replaces old records while preserving the body hash and reason.
Review dates
Flags records whose review-by date has passed.
Rebuildable index
Uses SQLite search that can be regenerated from the files.
Health check
Reports library problems in plain English.
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.
ContextLib vs XERJ: questions
Is ContextLib or XERJ cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between ContextLib and XERJ?
ContextLib is an open-source MCP server for files and documents. XERJ is an open-source MCP server for knowledge and memory.

