ninos-claude-memory-mcp
Click on "Deploy 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., "@ninos-claude-memory-mcp save a checkpoint: auth refactor is half done, token refresh tests are failing"
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.
_ _ ____ _ _ __ __
| \ | (_)_ __ ___ ( )___ / ___| | __ _ _ _ __| | ___ | \/ | ___ _ __ ___ ___ _ __ _ _
| \| | | '_ \ / _ \|// __| | | | |/ _` | | | |/ _` |/ _ \ | |\/| |/ _ \ '_ ` _ \ / _ \| '__| | | |
| |\ | | | | | (_) | \__ \ | |___| | (_| | |_| | (_| | __/ | | | | __/ | | | | | (_) | | | |_| |
|_| \_|_|_| |_|\___/ |___/ \____|_|\__,_|\__,_|\__,_|\___| |_| |_|\___|_| |_| |_|\___/|_| \__, |
|_/Claude never forgets where you left off.
Persistent project memory for Claude Code via the Model Context Protocol.
Problem • How It Works • Installation • Tools • Usage • License
The Problem
Claude Code has no memory between sessions. Every conversation starts from zero.
You spend an hour making architectural decisions, fixing bugs, establishing patterns — then close the terminal. Next session, all of that context is gone. You waste the first 10 minutes re-explaining what you already discussed yesterday.
This is context rot. It compounds over time, and it gets worse the larger your project becomes.
Related MCP server: MCP Memory Keeper
How It Works
This MCP server creates a .claude-memory/ folder inside your project. Two focused tools let Claude persist and retrieve knowledge across sessions. A startup hook automatically loads the current work state — zero manual intervention.
your-project/
├── src/
├── package.json
├── .claude-memory/ # Created automatically on first use
│ ├── index.json # Topic registry
│ ├── architecture.md # System design knowledge
│ ├── decisions.md # Why choices were made
│ ├── current-task.md # Active work state (auto-loaded on session start)
│ └── entities/ # Nested topics via slash notation
│ └── auth.md
└── ...Session Lifecycle
┌─────────────────────────────────────────────────────────────────────────┐
│ │
│ SESSION START DURING WORK SESSION END │
│ │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
│ │ Hook │ │ Claude │ │ check- │ │ check- │ │
│ │ auto- │───▶│ works │───▶│ point │───▶│ point │ │
│ │ loads │ │ with │ │ saves │ │ final │ │
│ │ context │ │ context │ │ state │ │ state │ │
│ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │
│ │ │ │
│ Reads from Writes to │
│ .claude-memory/ .claude-memory/ │
│ │
└─────────────────────────────────────────────────────────────────────────┘Installation
Quick setup (recommended)
claude mcp add ninos-claude-memory -s user -- npx -y ninos-claude-memory-mcpClaude Code downloads, builds, and connects automatically.
Verify:
claude mcp list
# Should show: ninos-claude-memory: connectedFrom source
git clone https://github.com/ninodinoo/ninos-claude-memory-mcp.git
cd ninos-claude-memory-mcp
npm install && npm run buildThen register:
claude mcp add ninos-claude-memory -s user -- node /absolute/path/to/dist/index.jsRegister the SessionStart Hook
Add to your global ~/.claude/settings.json:
{
"hooks": {
"UserPromptSubmit": [
{
"command": "node /absolute/path/to/dist/hooks/session-start.js",
"timeout": 5000
}
]
}
}This auto-loads current-task and the topic list on every prompt — no manual loading needed.
Tools
Two tools. That's it.
memory
One tool for all memory operations. Behavior depends on what you pass:
Call | What happens |
| List all topics with size and last update |
| Read a specific entry |
| Write / overwrite |
| Append to existing |
| Delete an entry |
Auto-initializes .claude-memory/ with architecture, decisions, and current-task on first write.
Parameters:
Name | Type | Default | Description |
|
|
| Topic path. Empty = list all |
|
|
| Markdown content. Empty = read |
|
|
| Write mode |
|
|
| Optional tags |
checkpoint
Save current work state. Overwrites current-task — last state wins, no bloat.
checkpoint(
summary: "Auth module done with JWT + refresh tokens",
nextSteps: ["Add rate limiting", "Write integration tests"]
)Parameters:
Name | Type | Required | Description |
|
| Yes | What was accomplished |
|
| No | Planned next actions |
|
| No | Open questions or blockers |
Usage
Add this to your project's CLAUDE.md:
## Memory
- Session start automatically loads current work state via hook
- After significant changes: call `checkpoint`
- Save decisions: `memory("decisions", "new decision here...", "append")`
- Delete obsolete entries: `memory("old-topic", "", "delete")`Topics
Topics map to Markdown files. Slashes create subdirectories:
Topic | File |
|
|
|
|
|
|
|
|
Data Format
Every entry is plain Markdown with a metadata header:
<!-- META:{"created":"2026-01-01T10:00:00Z","updated":"2026-01-15T14:30:00Z","accessCount":5,"tags":["core"]} -->
# Authentication Architecture
JWT-based auth with refresh token rotation...Files are human-readable, editable, and committable. Add .claude-memory/ to .gitignore to keep it personal, or commit it to share context with your team.
Security
Path traversal protection — Topics with
../are blocked and auto-cleaned from the index100% local — No cloud, no external services, no network calls
No secrets — The server never reads or stores credentials
Architecture
src/
├── index.ts # MCP server bootstrap (stdio transport)
├── hooks/
│ └── session-start.ts # SessionStart hook (standalone Node.js script)
├── memory/
│ ├── store.ts # Filesystem abstraction + path safety + auto-healing index
│ └── initializer.ts # Project detection + initial topic scaffolding
└── tools/
├── memory-tools.ts # memory — read, write, append, delete, list
└── session-tools.ts # checkpoint — save work stateDesign Principles
Principle | Implementation |
Minimal surface | 2 tools, not 12. Less for Claude to learn, fewer tokens wasted |
File-based | Plain Markdown. No database, no cloud, no lock-in. |
Auto-healing | Corrupt metadata recovers gracefully. Invalid index entries are cleaned on read |
Zero config | Detects project type (Node, Rust, Go, Python), creates structure on first use |
Fail-safe hook | SessionStart hook silently no-ops on errors — never blocks Claude from starting |
Requirements
Node.js 18+
Claude Code with MCP support
Disclaimer
This project is provided as-is, without warranty of any kind. Memory entries are generated by Claude — treat them as helpful notes, not ground truth. Always review content before relying on it for critical decisions.
Contributing
Issues and pull requests welcome at github.com/ninodinoo/ninos-claude-memory-mcp.
License
MIT with Attribution — free to use, modify, and distribute.
Public forks and derivative works must credit the original author:
Originally created by ninodinoo — ninos-claude-memory-mcp
See LICENSE for details.
Available Tools
2 toolscheckpointCheckpoint setzenA
Speichert den aktuellen Arbeitsstand unter 'current-task'. Rufe dies nach jedem bedeutenden Schritt auf. Wird automatisch bei der nächsten Session geladen.
Inputs: summary (required), blockers, nextSteps.
memoryMemory verwaltenA
Liest, schreibt, hängt an oder löscht Memory-Einträge. Ohne topic: Übersicht aller Topics. Mit topic ohne content: Eintrag lesen. Mit topic + content: Eintrag schreiben/anhängen/löschen.
Inputs: mode, tags, topic, content.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
Checkpoint and memory overlap conceptually: checkpoint is essentially a fixed-topic write to the memory store, so an agent saving progress could plausibly pick either. The descriptions do differentiate them (checkpoint = parameterless 'current-task' save for session persistence; memory = general topic-based CRUD), which keeps confusion moderate rather than severe.
Both names are single lowercase nouns with a consistent style, so the set is predictable. However, neither name conveys an action, and the polymorphic 'memory' tool hides four operations behind one noun.
Two tools for a memory server is thin; the surface relies on 'memory' being heavily polymorphic (read/write/append/delete via argument combinations) to compensate. It is compact and arguably sufficient, but borderline under-scoped.
Core lifecycle is covered: checkpoint persists state and auto-loads next session, while memory handles topic overview, read, write, append and delete. Gaps are minor—no explicit checkpoint retrieval/clearing tool and no search—but these are workable via memory's topic operations.
Maintenance
Related MCP Connectors
Persistent memory for Claude Code and Cursor. Stop re-explaining your project every session.
Persistent context for Claude. Your AI always knows your projects and next actions across sessions.
Project memory for every AI. Pick up where you left off in Claude, ChatGPT or Cursor, with a team.
Shared work memory for Claude Code, Codex, Cursor and chat, scoped to each repository.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables Claude AI coding assistants to persist and restore context across sessions, organize saved work by channels and categories, create checkpoints, search past context, and share state between parallel sessions.150 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables Claude AI coding assistants to persist and restore context across sessions, preserving work history, decisions, and progress. It provides checkpointing, search, channels, file caching, and git integration so long-running coding tasks can continue without losing critical information.150 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude AI coding assistants to persist and restore context across sessions, including saved findings, decisions, progress, checkpoints, file caches, and searchable topic channels. Supports shared memory across parallel sessions and Git-aware context organization.150 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables Claude AI coding assistants to persist and restore context across sessions, preserving decisions, progress, checkpoints, searchable notes, and shared project-channel workflows.150 npmMIT