Codebase Memory vs cogito-mem (Cogi)
Codebase Memory is an open-source MCP server for knowledge and memory. cogito-mem (Cogi) is a free MCP server for knowledge and memory.
- Codebase Memory is best for find callers of a function.
- cogito-mem (Cogi) is best for recover an exact decision or name from an earlier session after /clear.
- What it is
- Codebase Memory is an open-source MCP server for knowledge and memory.cogito-mem (Cogi) is a free MCP server for knowledge and memory.
- Best for
- Find callers of a functionRecover an exact decision or name from an earlier session after /clear
- Kind
- MCP serverMCP server
- Pricing
- Open sourceFree
- Platforms
- CLI, macOS, Linux, Windows, self-hostedmacOS, Linux, CLI, self-hosted
- Runs
- LocallyLocally
- GitHub stars
- 48.7K
- Last commit
- Nov 2026
- License
- MIT
- Open source
- Good for
- Find callers of a function; Assess the impact of a diff; Link documentation to codeRecover 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
What Codebase Memory does
Code knowledge graph
Persistent graph of symbols, calls and dependencies.
Multiple search modes
Structural, full-text and local semantic search.
Documentation links
Indexes Markdown, reStructuredText, AsciiDoc and ADRs.
Infrastructure tracing
Connects Docker, Kubernetes, Terraform and CI to source.
Change impact
Maps a diff to affected symbols and related tests.
Native CLI
Query the same graph from the command line.
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.
Codebase Memory vs cogito-mem (Cogi): questions
Is Codebase Memory or cogito-mem (Cogi) cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Codebase Memory and cogito-mem (Cogi)?
Codebase Memory is an open-source MCP server for knowledge and memory. cogito-mem (Cogi) is a free MCP server for knowledge and memory.
