https://github.com/memvid/claude-brain
Give Claude Code photographic memory in ONE portable file. No database, no SQLite, no ChromaDB - just a single .mv2 file you can git commit, scp, or share. Native Rust core with sub-ms operations.
https://github.com/memvid/claude-brain
ai-tools anthropic claude claude-agents claude-ai claude-code claude-skills context-window developer-tools llm-memory long-term-memory memvid persistent-memory portable rag rust single-file
Last synced: about 16 hours ago
JSON representation
Give Claude Code photographic memory in ONE portable file. No database, no SQLite, no ChromaDB - just a single .mv2 file you can git commit, scp, or share. Native Rust core with sub-ms operations.
- Host: GitHub
- URL: https://github.com/memvid/claude-brain
- Owner: memvid
- License: mit
- Created: 2025-12-18T20:11:22.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-01-16T22:20:45.000Z (about 1 month ago)
- Last Synced: 2026-01-17T11:22:40.089Z (about 1 month ago)
- Topics: ai-tools, anthropic, claude, claude-agents, claude-ai, claude-code, claude-skills, context-window, developer-tools, llm-memory, long-term-memory, memvid, persistent-memory, portable, rag, rust, single-file
- Language: TypeScript
- Homepage: https://memvid.com
- Size: 45.9 MB
- Stars: 137
- Watchers: 1
- Forks: 9
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README

### Give Claude Code photographic memory.
[](https://github.com/memvid/claude-brain)
[](https://opensource.org/licenses/MIT)
https://github.com/user-attachments/assets/b57cb3db-576b-4c1f-af92-95796ba3fb5b
**[Install in 30 seconds](#installation)** · [How it Works](#how-it-works) · [Commands](#commands) · [Full Demo](https://youtu.be/uRT0CMdK0yg)
## The Problem
```
You: "Remember that auth bug we fixed?"
Claude: "I don't have memory of previous conversations."
You: "We spent 3 hours on it yesterday"
Claude: "I'd be happy to help debug from scratch!"
```
**200K context window. Zero memory between sessions.**
You're paying for a goldfish with a PhD.
## The Fix
```
You: "What did we decide about auth?"
Claude: "We chose JWT over sessions for your microservices.
The refresh token issue - here's exactly what we fixed..."
```
One file. Claude remembers everything.
## Installation
```bash
# One-time setup (if you haven't used GitHub plugins before)
git config --global url."https://github.com/".insteadOf "git@github.com:"
```
```bash
# In Claude Code
/plugin add marketplace memvid/claude-brain
```
Then: `/plugins` → Installed → **mind** Enable Plugin → Restart.
Done.
## How it Works
After install, Claude's memory lives in one file:
```
your-project/
└── .claude/
└── mind.mv2 # Claude's brain. That's it.
```
No database. No cloud. No API keys.
**What gets captured:**
- Session context, decisions, bugs, solutions
- Auto-injected at session start
- Searchable anytime
**Why one file?**
- `git commit` → version control Claude's brain
- `scp` → transfer anywhere
- Send to teammate → instant onboarding
## Commands
**In Claude Code:**
```bash
/mind stats # memory statistics
/mind search "authentication" # find past context
/mind ask "why did we choose X?" # ask your memory
/mind recent # what happened lately
```
Or just ask naturally: *"mind stats"*, *"search my memory for auth bugs"*, etc.
## CLI (Optional)
For power users who want direct access to their memory file:
```bash
npm install -g memvid-cli
```
```bash
memvid stats .claude/mind.mv2 # view memory stats
memvid find .claude/mind.mv2 "auth" # search memories
memvid ask .claude/mind.mv2 "why JWT?" # ask questions
memvid timeline .claude/mind.mv2 # view timeline
```
[Full CLI reference →](https://docs.memvid.com/cli/cheat-sheet)
## FAQ
How big is the file?
Empty: ~70KB. Grows ~1KB per memory. A year of use stays under 5MB.
Is it private?
100% local. Nothing leaves your machine. Ever.
How fast?
Sub-millisecond. Native Rust core. Searches 10K+ memories in <1ms.
Reset memory?
`rm .claude/mind.mv2`
---
Built on **[memvid](https://github.com/memvid/memvid)** - the single-file memory engine
**If this saved you time, [star the repo](https://github.com/memvid/claude-brain)**
*Send me your `.mv2` file and I'll tell you what's wrong with your code. No context needed - I already know everything.*