Skip to content

cogito-mem (Cogi) vs XERJ

cogito-mem (Cogi) is a free MCP server for knowledge and memory. XERJ is an open-source MCP server for knowledge and memory.

  • cogito-mem (Cogi) is best for recover an exact decision or name from an earlier session after /clear.
  • XERJ is best for search local code and docs from an agent.
What it is
cogito-mem (Cogi) is a free MCP server for knowledge and memory.
XERJ is an open-source MCP server for knowledge and memory.
Best for
Recover an exact decision or name from an earlier session after /clear
Search local code and docs from an agent
Kind
MCP server
MCP server
Pricing
Free
Open source
Platforms
macOS, Linux, CLI, self-hosted
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
Recover an exact decision or name from an earlier session after /clear; Keep context across long sessions that compact; Look up which commands failed in a past run
Search local code and docs from an agent; Give an agent persistent memory notes; Look up real API definitions

What cogito-mem (Cogi) does

  • Word-for-word storage

    Keeps every message and reply with its date instead of an AI summary.

  • Automatic saving

    Hooks collect new messages after each answer without any action from you.

  • Memory injected per prompt

    Adds about 400 tokens of the most relevant memories to each prompt, each with an id Claude can open.

  • Tool activity recall

    Remembers commands run, files touched, sub-agent reports and the key lines of command output.

  • Secret redaction

    Replaces common forms of API keys, tokens, private keys and passwords with [redacted] before saving.

  • Fully local

    Stores everything in one SQLite file on your machine and needs no account or API key.

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.

cogito-mem (Cogi) vs XERJ: questions

Is cogito-mem (Cogi) or XERJ cheaper?

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

What is the difference between cogito-mem (Cogi) and XERJ?

cogito-mem (Cogi) is a free MCP server for knowledge and memory. XERJ is an open-source MCP server for knowledge and memory.