memoir
Provides persistent memory for GitHub Copilot, allowing it to recall past decisions and context across sessions.
Supports persistent memory for ChatGPT and OpenAI Codex, enabling them to search and recall context across sessions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@memoirrecall my notes on authentication"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
memoir
Sync AI memory across every coding tool. Zero config.
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 6 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-cliThat's it. memoir detects your AI tools, configures MCP, and activates memory. No global install needed.
Your AI gets 14 memory tools:
MCP Tool | What it does |
| Search across all your AI memories |
| Save context for future sessions |
| Browse all memory files by tool |
| Read a specific memory in full |
| Analyze memories for duplicates, staleness, and bloat |
| See which AI tools are detected |
| Switch between work/personal |
| Set the current session goal (pinned into CLAUDE.md) |
| Add a next action to the current session |
| Mark a next action as done |
| Record a decision with its rationale |
| Capture an open question for later |
| Show goals, next actions, decisions, and recent sessions |
| Look up why a past decision was made |
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. And when your memories pile up, memoir consolidate cleans house — finds duplicates, flags stale context, and optionally uses AI to merge and prune.
11 tools supported: Claude Code, Cursor, Windsurf, Gemini CLI, GitHub Copilot, OpenAI Codex, ChatGPT, Aider, Zed, Cline, Continue.dev.
Sync across machines
memoir push # back up AI memory + workspace + session
memoir restore -y # restore on any machinePush 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 onceConsolidate memories
memoir consolidate # scan for duplicates, stale files, bloat
memoir consolidate --smart # AI-powered analysis (finds contradictions + merge candidates)
memoir consolidate --apply # interactively clean upOver time, memories pile up across tools. Consolidate finds exact and near-duplicates, flags files untouched for 60+ days, and catches contradictions where you told Claude one thing and Cursor another. With --smart, Gemini Flash does a semantic pass and suggests intelligent merges.
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 linkAll Commands
Command | What it does |
| Enable auto-recall in this project |
| Remove memoir from this project |
| Back up AI memory + workspace + session |
| Restore everything on a new machine |
| Show detected AI tools |
| Translate memory between tools via AI |
| Capture current coding session |
| Pick up where you left off |
| Toggle E2E encryption |
| Manage profiles (personal/work) |
| Back up to memoir cloud |
| Restore from memoir cloud |
| Create encrypted shareable link |
| Find duplicates, stale memories, and bloat |
| Diagnose issues |
| Show changes since last backup |
| Preview what's in your backup |
| 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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/camgitt/memoir'
If you have feedback or need assistance with the MCP directory API, please join our Discord server