Stores searchable Claude Code session context in SQLite so developers can save, recall, and recover work across sessions.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent ā or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag ā we're steadily working through the catalog.
š” Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Context Memory.
Persistent, searchable context storage across Claude Code sessions using SQLite + FTS5.
Claude Code sessions are ephemeral - every conversation starts from zero. Close the terminal and everything you discussed, decided, and solved is gone. The only way to get that context back is to re-explain it or hope Claude reads the right files.
context-memory fixes this.
/recall authentication pulls up exactly what you did, what you decided, and why./recall retry pattern --detailed brings it back./recall --project scopes to whatever you're working in. Instant refresher on where you left off./recall CORS finds it regardless of which project it came from./remember and Claude does the rest: summarizes, extracts topics, identifies key code, stores it all. Add a note if you want, or don't.Without it, every session is a blank slate. With it, Claude Code has a long-term memory that grows more valuable the more you use it.
Core:
/remember generates rich summaries with brief/detailed text, key decisions, problems solved, technologies used, and outcome classification (success/partial/abandoned)Hooks:
/recall feature/auth-refactor finds sessions from that branchcontext_load_checkpoint MCP tool/remember save in the same project within a configurable window (default 5 minutes) and skips if one existsstop_hook_active to prevent recursive hook invocationExtras:
db_save.py, db_search.py, db_prune.py, db_init.py) have full argparse CLIs with --helpEngineering:
PRAGMA synchronous=NORMAL, PRAGMA temp_store=MEMORYThe installer copies the skill, commands, and hooks (Stop + PreCompact) to the correct Claude Code locations (~/.claude/) and initializes the database. It's idempotent ā run it again to upgrade. On upgrade, the installer detects outdated hooks (old command paths, unexpanded ~ on Windows) and updates them in-place.
After installation, the cloned directory is no longer needed and can be deleted (or kept for future upgrades). The uninstaller is copied to ~/.claude/context-memory/uninstall.py so it works even after deleting the clone.
Installer flags:
| Flag | Description |
|---|---|
--symlink | Symlink skill instead of copying (for development) |
--skip-skill | Skip skill installation |
--skip-commands | Skip command installation |
--skip-hooks | Skip hook installation |
--skip-db | Skip database initialization |
--skip-mcp | Skip MCP server registration (useful if Python < 3.10) |
Note: The hooks use Python wrappers (
auto_save.py,pre_compact_save.py) and work cross-platform ā Windows (CMD, PowerShell), macOS, and Linux.
This removes the skill, commands, hooks (both Stop and PreCompact), and MCP server registration. Your saved sessions are preserved by default. Use --remove-data to also delete the database, or --keep-data to skip the prompt. Use --force to remove command files even if they've been modified.
pip install mcppip install flask flask-cors/remember [note]Save the current session to context memory.
Claude will automatically:
/recall <query> [options]Factual signals from GitHub, npm, and our automated checks ā not a rating.
No reviews yet ā be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/erebusenigma-context-memory)<a href="https://allmcps.com/mcp/erebusenigma-context-memory"><img src="https://allmcps.com/api/badge/erebusenigma-context-memory?style=directory" alt="Context Memory on AllMCPs" /></a>