camgitt/memoir
Persistent memory for AI coding tools. Sync Claude, Cursor, Gemini, Copilot, Windsurf + 6 more across machines via MCP. E2E encrypted. Open source.
Platform-specific configuration:
{
"mcpServers": {
"memoir": {
"command": "npx",
"args": [
"-y",
"memoir"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
<div align="center">
Sync AI memory across every coding tool. Zero config.
[](https://npmjs.org/package/memoir-cli) [](https://npmjs.org/package/memoir-cli) [](https://github.com/camgitt/memoir/stargazers) [](LICENSE)
</div>
npx memoir-cliOne 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.
---
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.
npx memoir-cliThat'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
Loading reviews...