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">
Persistent memory for AI coding tools.
[](https://npmjs.org/package/memoir-cli) [](https://npmjs.org/package/memoir-cli) [](https://github.com/camgitt/memoir/stargazers) [](LICENSE) [](https://nodejs.org)
Your AI forgets everything between sessions. memoir gives it long-term memory via MCP.
11 tools supported • E2E encrypted • Cross-platform • Open source
Works with Claude Code, Cursor, Windsurf, Gemini, Copilot, Codex, ChatGPT, Aider, Zed, Cline, and Continue.dev.
Website • npm • Blog • Contributing
<br />
</div>
You told Claude your project uses Zustand, not Redux. You explained your auth middleware to Cursor. You spent weeks building up context across your AI tools.
Next session? Gone. New machine? Gone. Switch tools? Gone.
memoir is a persistent memory layer that runs via MCP inside your AI tools. Your AI can search, read, and save memories automatically — across sessions, tools, and machines.
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.tLoading reviews...