Claude Code has a goldfish memory. This is the bowl.
A plugin that traps Claude Code’s ephemeral context in a single, version-controllable `.mv2` file so your next session actually remembers the last one.

What it does
Claude Code starts every conversation with a blank slate, no matter how much context you fed it yesterday. This plugin captures decisions, bugs, and solutions into a single .mv2 file inside your project, then auto-injects that history when Claude restarts. It is essentially a long-term memory graft for an LLM that otherwise has none.
The interesting bit
The entire state lives in one file—no SQLite, no ChromaDB, no cloud sync, no API keys. That means you can treat Claude’s memory like source code: diff it, branch it, or hand it to a teammate so they inherit months of project context instantly. The core is native Rust, and the README claims sub-millisecond searches across 10,000+ memories.
Key highlights
- One
.mv2file per project; grows roughly 1 KB per memory and stays under 5 MB even after a year of use. - 100% local; nothing leaves the machine.
- Optional standalone CLI (
memvid-cli) for direct file access without opening Claude Code. - Built on the separate
memvidengine, which treats single-file embedding storage as a first-class primitive.
Verdict
If you live in Claude Code and are tired of re-explaining your architecture every morning, this is worth the install. If you use Copilot, Cursor, or vanilla Claude, it is irrelevant.
Frequently asked
- What is memvid/claude-brain?
- A plugin that traps Claude Code’s ephemeral context in a single, version-controllable `.mv2` file so your next session actually remembers the last one.
- Is claude-brain open source?
- Yes — memvid/claude-brain is open source, released under the MIT license.
- What language is claude-brain written in?
- memvid/claude-brain is primarily written in TypeScript.
- How popular is claude-brain?
- memvid/claude-brain has 530 stars on GitHub.
- Where can I find claude-brain?
- memvid/claude-brain is on GitHub at https://github.com/memvid/claude-brain.