Codebase Memory vs MemVault - Local-First Agent Memory
Codebase Memory is an open-source MCP server for knowledge and memory. MemVault - Local-First Agent Memory is an open-source MCP server for knowledge and memory.
- Codebase Memory is best for find callers of a function.
- MemVault - Local-First Agent Memory is best for keep coding preferences consistent across claude code and cursor.
- What it is
- Codebase Memory is an open-source MCP server for knowledge and memory.MemVault - Local-First Agent Memory is an open-source MCP server for knowledge and memory.
- Best for
- Find callers of a functionKeep coding preferences consistent across Claude Code and Cursor
- Kind
- MCP serverMCP server
- Pricing
- Open sourceOpen source
- Platforms
- CLI, macOS, Linux, Windows, self-hostedCLI, macOS, Linux, Windows, self-hosted, Web
- 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 codeKeep coding preferences consistent across Claude Code and Cursor; Record lessons from failed deployments for later sessions; Extract memories from free text notes
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 MemVault - Local-First Agent Memory does
Shared across agents
Any MCP client connecting to it sees the same memory.
Priority levels
MUST-level preferences are injected as instructions.
Hybrid retrieval
Keyword search plus semantic search when embeddings are on.
Local Ollama support
Embeddings and extraction can run on a local Ollama model.
Dedup and decay
Commands to dedupe, decay and archive stale memories.
Instruction file sync
A sync command generates agent instruction files from memory.
Codebase Memory vs MemVault - Local-First Agent Memory: questions
Is Codebase Memory or MemVault - Local-First Agent Memory cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Codebase Memory and MemVault - Local-First Agent Memory?
Codebase Memory is an open-source MCP server for knowledge and memory. MemVault - Local-First Agent Memory is an open-source MCP server for knowledge and memory.

