Claude Code session
Memory Mcp
Persistent memory for Claude Code — never lose context between sessions
Install
npm install -g claude-code-memoryFound in the project README. Check it for setup steps after installing.
git clone https://github.com/yuvalsuede/memory-mcp.gitFrom the README
memory-mcp Persistent memory + automatic git snapshots for Claude Code. Never lose context. Never lose code. Why memory-mcp? What makes it different - Git Snapshots — Every memory save commits your entire project. Roll back anytime. - Two-Tier Memory — CLAUDE.md loads instantly, deep store searchable mid-conversation. - LLM-Powered — Haiku extracts what matters, consolidates duplicates, prunes stale info. - Visual Dashboard — See your context: tokens, memories by type, snapshot history. - Zero friction — No commands to run. It just works silently. Quick Start That's it. Start coding. Memories accumulate automatically. How It Works Two-tier memory architecture: Silent capture via hooks: Claude Code hooks fire after every response (Stop), before context compaction (PreCompact), and at session end (SessionEnd). A fast LLM (Haiku) reads the transcript and extracts: - Architecture — how the system is structured - Decisions — why X was chosen over Y - Patterns — conventions and how things are done - Gotchas — non-obvious pitfalls - Progress — what's done, what's in flight - Context — business context, deadlines, preferences Smart memory management: - Jaccard similarity deduplication (no duplicate memories) - Confidence decay (progress fades after 7 days, context after 30) - LLM-powered consolidation (merges overlapping memories, prunes stale ones) - Line-budgeted CLAUDE.md (stays under ~150 lines, most important first) Updating To update an existing installation: To update hooks (e.g., after a bug fix): Requirements - Claude Code CLI - Node.js 18+ - Anthropic API key (for the Haiku-based extractor, ~$0.001 per extraction) CLI Commands Context Dashboard Visualize your memory usage with memory-mcp context: Use memory-mcp context --html to generate an…
Details
- Repository
- yuvalsuede/memory-mcp
- Language
- JavaScript
- License
- MIT
- Last updated
- 29 January 2026
FAQ
What is Memory Mcp?
Persistent memory for Claude Code — never lose context between sessions It is a session for Claude Code, from yuvalsuede/memory-mcp on GitHub.
How do I install Memory Mcp?
Run npm install -g claude-code-memory, then follow the setup in the README.
Is Memory Mcp popular?
yuvalsuede/memory-mcp has 100 GitHub stars and 11 forks. It was last updated on 29 January 2026.
More sessions & history
Claude Web
93heng1234/claude-web
Web UI for Claude Code CLI - token streaming, tool visualization, checkpoint, multi-session management
Wallfacer
117pradipta/wallfacer
A terminal session manager for Claude Code, and more
Irrlicht
101ingo-eichhorst/Irrlicht
Claude Code session lights in your macOS menu bar —
Contextrot
101Priyanshu-byte-coder/contextrot
Find out where your coding agent starts degrading. Personal context-rot analytics from your own sessions - 100% local, zero-config: uvx contextrot
Base V1
95ChristopherKahler/base-v1
AI builder operating system. Turn Claude Code from a per-session tool into a workspace that remembers, maintains itself, and never goes stale. BASE = Builder's Automated State Engine.
Pith
97abhisekjha/pith
Pith is the hook that makes Claude Code sessions last 3x longer.
Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.