io.github.camgitt/memoir
Persistent memory for AI coding tools via MCP. Remembers across sessions and machines.
Ask AI about io.github.camgitt/memoir
Powered by Claude Β· Grounded in docs
I know everything about io.github.camgitt/memoir. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
npx memoir-cli
One command. No install, no config, no API keys. Your AI now has persistent memory across sessions, tools, and machines. Works with Claude Code, Cursor, Windsurf, Gemini CLI, GitHub Copilot, and 8 more tools.
What it does
memoir is an MCP memory server that gives your AI tools persistent memory. Your AI can search, save, and recall context automatically β like a Claude Code backup that works everywhere.
you: how does auth work in this project?
memoir_recall("auth setup architecture")
Found 3 memories matching "auth"
claude: Based on your previous sessions: this project uses JWT auth
with refresh tokens, the middleware is in src/middleware/auth.ts,
and you chose Zustand over Redux for auth state (decided March 12).
No re-explaining. memoir remembered.
Quick start
npx memoir-cli
That's it. memoir detects your AI tools, configures MCP, and activates memory. No global install needed.
Your AI gets 6 memory tools:
| MCP Tool | What it does |
|---|---|
memoir_recall | Search across all your AI memories |
memoir_remember | Save context for future sessions |
memoir_list | Browse all memory files by tool |
memoir_read | Read a specific memory in full |
memoir_status | See which AI tools are detected |
memoir_profiles | Switch between work/personal |
Why memoir
Your AI forgets everything between sessions. You re-explain your codebase, your conventions, your decisions β every time.
memoir fixes this by giving your AI a shared memory layer that works across every tool you use. Tell Claude something once. Cursor knows it too. Sync AI memory between tools, back it up to the cloud, restore it on any machine.
13 tools supported: Claude Code, Cursor, Windsurf, Gemini CLI, GitHub Copilot, OpenAI Codex, ChatGPT, Aider, Zed, Cline, Continue.dev, Augment, Trae.
Sync across machines
memoir push # back up AI memory + workspace + session
memoir restore -y # restore on any machine
Push syncs AI memory, cursorrules, session context, workspace (git repos + uncommitted work), and project configs. E2E encrypted with AES-256-GCM.
Translate between AI tools
memoir migrate --from chatgpt --to claude
# AI-powered β rewrites conventions, not copy-paste
memoir migrate --from chatgpt --to all
# Translate to every tool at once
Cloud sync
memoir login
memoir cloud push # encrypted cloud backup
memoir cloud restore # restore from any version
memoir history # view backup versions
memoir share # create encrypted shareable link
All Commands
| Command | What it does |
|---|---|
memoir activate | Enable auto-recall in this project |
memoir deactivate | Remove memoir from this project |
memoir push | Back up AI memory + workspace + session |
memoir restore | Restore everything on a new machine |
memoir status | Show detected AI tools |
memoir migrate | Translate memory between tools via AI |
memoir snapshot | Capture current coding session |
memoir resume | Pick up where you left off |
memoir encrypt | Toggle E2E encryption |
memoir profile | Manage profiles (personal/work) |
memoir cloud push | Back up to memoir cloud |
memoir cloud restore | Restore from memoir cloud |
memoir share | Create encrypted shareable link |
memoir doctor | Diagnose issues |
memoir diff | Show changes since last backup |
memoir view | Preview what's in your backup |
memoir update | Self-update to latest version |
Security
- E2E encryption β AES-256-GCM with scrypt key derivation
- Secret scanning β API keys, tokens, passwords auto-redacted before sync
- Local MCP server β runs on your machine, no data sent externally
- Zero-knowledge cloud β encrypted before upload
Links
- Website: memoir.sh
- npm: memoir-cli
- Issues: GitHub Issues
- Contributing: CONTRIBUTING.md
MIT Licensed
