
Memory Mcp
io.github.yuvalsuedePublished by GitHub account yuvalsuedev1.2.1Updated Oct 24, 2026
Persistent memory + git snapshots for Claude Code. Never lose context or code.
The publisher's own server: Memory.fit
Overview
Local MCP server that gives Claude Code persistent project memory and automatic git snapshots, so context and code survive across sessions.
- What you can do
- Search, recall and filter stored project memories by keyword, tag or area, and ask questions answered from memory by an LLM synthesis step. Save, delete and consolidate memories, and generate a full consciousness document plus memory statistics. Initialize a project's memory store with a name and description. Manage git snapshots of the whole project: list history, compare snapshots and restore a previous state. Show context metrics and token usage, optionally as an HTML dashboard.
- When to use it
- Useful for long-running Claude Code projects where you keep re-explaining architecture, decisions and conventions, or where you want a rollback point tied to each working session. Best suited to developers who already work in git repositories and want memory kept entirely in local files.
- Requirements
- Runs locally via npx from the npm package claude-code-memory. Needs Claude Code CLI and Node.js 18 or newer. Requires an Anthropic API key for the Haiku-based extractor, resolved from the ANTHROPIC_API_KEY environment variable or local config files. Setup installs Claude Code hooks and writes project files such as CLAUDE.md, .memory/state.json and .mcp.json.
Installation
In SourceWeft
- Open Memory Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
memory-mcp
[npm version] [npm downloads] [License: MIT] [Node] [TypeScript]
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 interactive browser dashboard.
Git Snapshots
Automatic project versioning tied to your working sessions. Every memory extraction commits your entire project to a hidden branch.
How it works:
- Commits go to
__memory-snapshotsbranch (invisible in normal workflow) - Optional push to remote (e.g., origin)
- Commit messages include what memories were extracted
- Full project state captured, not just memory files
Use cases:
- Roll back after breaking changes
- See what your project looked like during a specific session
- Track project evolution alongside context evolution
MCP Tools (used by Claude mid-conversation)
When configured as an MCP server, Claude can access these tools during a session:
What Gets Stored
Memories are categorized into six types:
File Structure
After initialization, your project gets:
CLAUDE.md Format
The memory block is inserted between markers, preserving any existing CLAUDE.md content:
Global vs Per-Project Install
Global (recommended): hooks work for all projects automatically.
Per-project: hooks and MCP configured per project.
Configuration
API key is resolved in order:
ANTHROPIC_API_KEYenvironment variable~/.memory-mcp/config.json~/.config/anthropic/api_key~/.anthropic/api_key
Cost
The extractor uses Claude Haiku for memory extraction and consolidation. Typical cost:
- ~$0.001 per extraction (after each Claude response)
- ~$0.005 per consolidation (every ~10 extractions)
- A full day of coding: ~$0.05–0.10
License
MIT
Source: README.md at commit c434710
Tools
0Version history
1- v1.2.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Memory integrations

Memory.fit
fit.memoryOfficial publisher
Hosted Memory.fit server that lets an AI read your training, sleep, recovery and nutrition data and write back weekly plans, targets and meal plans.
pg.ddx.io: the PostgreSQL community's memory
io.ddx.pgOfficial publisher
pg.ddx.io: the PostgreSQL community's memory's hosted MCP server, published by pg.ddx.io; no sign-in required; Streamable HTTP; 29 tools.
var.gg Naming Memory
gg.varOfficial publisher
Remote MCP server that suggests and searches code identifier names from domain concepts in Korean, Japanese, Chinese, Vietnamese and English, and exposes ERD…

Counterparts
ai.counterparts
Local-first long-term memory for Claude Code and Claude Desktop: the assistant writes notes about you and your projects and recalls them in later sessions.

LAHZE - Persian AI Memory Platform
Published by GitHub account pedramgholizadeh
LAHZE - Persian AI Memory Platform's hosted MCP server; no sign-in required; Streamable HTTP; 13 tools.