Skip to content

State Memory MCP vs XERJ

State Memory MCP is an open-source MCP server for knowledge and memory. XERJ is an open-source MCP server for knowledge and memory.

  • State Memory MCP is best for keep a coding agent on track across many sessions on one codebase.
  • XERJ is best for search local code and docs from an agent.
What it is
State Memory MCP is an open-source MCP server for knowledge and memory.
XERJ is an open-source MCP server for knowledge and memory.
Best for
Keep a coding agent on track across many sessions on one codebase
Search local code and docs from an agent
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, self-hosted, macOS, Windows, 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
Keep a coding agent on track across many sessions on one codebase; Record architectural decisions so later sessions do not repeat them; Break a PRD into tasks and verify acceptance criteria as work finishes
Search local code and docs from an agent; Give an agent persistent memory notes; Look up real API definitions

What State Memory MCP does

  • Persistent task graph

    Tracks tasks, decisions, artifacts and blockers as linked nodes in a project-local SQLite database.

  • Dependency work queue

    Returns unblocked tasks in topological order and rejects cyclic links.

  • Spec ingestion

    Parses Markdown PRDs, OpenSpec and Gherkin feature files and checks for drift against them.

  • Tamper-evident ledger

    Hash-chains every mutation so the event history can be verified.

  • Full-text search

    Finds nodes with FTS5 and TF-IDF search rather than vector embeddings.

  • 3D graph viewer

    Opens a WebGL force-directed view of the project graph in the browser.

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.

State Memory MCP vs XERJ: questions

Is State Memory MCP or XERJ cheaper?

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

What is the difference between State Memory MCP and XERJ?

State Memory MCP is an open-source MCP server for knowledge and memory. XERJ is an open-source MCP server for knowledge and memory.