Claude Memory MCP Server
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., "@Claude Memory MCP Serversearch for my notes about the project requirements from last week"
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 Memory MCP
Local-first memory database and continuity journal for MCP clients.
claude-memory-mcp is a basic local memory database and lightweight continuity journal for AI workflows. It helps an agent resume work coherently by saving compact continuity artifacts, tracking key decisions and state, and returning only the level of detail requested instead of dumping a full archive into context.
Use it when you want a local, private continuity store that works across MCP clients and shell scripts. It is intentionally boring infrastructure: SQLite on your machine, one MCP tool, one CLI, explicit import/export, and no hosted service.
Published package:
@whenmoon-afk/memory-mcpSupported CLI command:
claude-memory-mcpStorage: local SQLite only
Privacy: no telemetry, no network calls, no cloud service
Why v3?
The last npm-published v2 release was 2.5.0. v3 is an intentional product reset: the older identity-oriented self, reflect, and anchor surface is removed, and the project is now focused on simple local continuity.
Client-native memory features are useful when your client provides them, but they are usually client-owned. claude-memory-mcp is for a different job: a portable, inspectable, local, private continuity store that you can back up, import, script, and query progressively.
This version is meant to be stable and conservative. It prioritizes clear contracts, local storage, predictable CLI/MCP behavior, and a small public surface that downstream forks can understand.
Related MCP server: ClaudeKeep
What This Is Not
It is not a cloud memory service.
It is not a replacement for native client memory.
It is not a transcript archive.
It is not an autonomous background recorder.
It is not a plugin or marketplace package.
It is not a task tracker, dependency graph, or multi-agent coordination system.
What It Ships
One MCP tool:
continuityOne mirrored CLI for local scripting and inspection
Operational CLI commands for
doctor,export, andimportFile-based backups with import dry-run validation
Progressive disclosure by default: compact lists first, full detail only on explicit request
Five artifact types:
snapshotdecisionproject_statebundlemeta_snapshot
Linked node kinds:
projectthemeentity
MCP Surface
The server exposes a single dispatch-style tool:
Action | Purpose |
| Show the supported action surface |
| Store a new artifact |
| Return compact recent rows |
| Search compact rows without expanding bodies |
| Load one artifact in |
| Show nearby linked artifacts and nodes |
| Inspect one node and list linked artifacts |
| Explain why an artifact is related to nearby artifacts |
| Inspect schema version, integrity, and row counts |
| Build a concise resume bundle for a project |
| Synthesize a new artifact from multiple prior artifacts |
| Remove an artifact by id |
Example tool calls:
{"action":"save","type":"snapshot","title":"JWT auth pass","summary":"Middleware works and tests are green","project":"notes-api","themes":["authentication"],"entities":["jwt"],"next_steps":["Add password reset flow"]}
{"action":"search","query":"jwt auth"}
{"action":"get","id":"snap-1","detail":"compact"}
{"action":"node","id":"theme:authentication"}
{"action":"related","id":"snap-1","via":"all"}
{"action":"bundle","project":"notes-api"}Example Workflow
Record a project decision:
npx @whenmoon-afk/memory-mcp save \
--type decision \
--title "Keep auth continuity local-first" \
--summary "Use SQLite continuity artifacts instead of external sync for auth handoff." \
--project notes-api \
--theme authentication \
--entity sqlite \
--next "Document restore flow"List compact project context:
npx @whenmoon-afk/memory-mcp list --project notes-apiInspect nearby graph context:
npx @whenmoon-afk/memory-mcp node theme:authentication
npx @whenmoon-afk/memory-mcp related dec-1 --via allCreate a resume bundle:
npx @whenmoon-afk/memory-mcp bundle --project notes-apiBack up and validate the continuity store before replacing anything:
npx @whenmoon-afk/memory-mcp backup --file continuity-backup.json
npx @whenmoon-afk/memory-mcp import --file continuity-backup.json --dry-runCLI
Use npx without installing globally:
npx @whenmoon-afk/memory-mcp setup
npx @whenmoon-afk/memory-mcp save --type snapshot --title "JWT auth pass" --summary "Middleware works" --project notes-api --theme authentication --entity jwt --next "Add password reset flow"
npx @whenmoon-afk/memory-mcp list --project notes-api
npx @whenmoon-afk/memory-mcp node theme:authentication
npx @whenmoon-afk/memory-mcp related snap-1 --via all
npx @whenmoon-afk/memory-mcp doctor
npx @whenmoon-afk/memory-mcp backup --file continuity-backup.json
npx @whenmoon-afk/memory-mcp export > continuity-export.json
npx @whenmoon-afk/memory-mcp import --file continuity-export.json --dry-run
npx @whenmoon-afk/memory-mcp import --file continuity-export.json
npx @whenmoon-afk/memory-mcp get snap-1 --fullIf you install globally, the supported binary is claude-memory-mcp:
npm install -g @whenmoon-afk/memory-mcp
claude-memory-mcp serve
claude-memory-mcp search "password reset"
claude-memory-mcp bundle --project notes-api
claude-memory-mcp doctorNode 20 or newer is the supported runtime for the CLI and MCP server.
Installation
Claude Code
claude mcp add continuity -- npx -y @whenmoon-afk/memory-mcpClaude Desktop
Add this to claude_desktop_config.json:
{
"mcpServers": {
"continuity": {
"command": "npx",
"args": ["-y", "@whenmoon-afk/memory-mcp"]
}
}
}Other MCP Clients
Use the same stdio command:
npx -y @whenmoon-afk/memory-mcpAfter setup, verify the client can call continuity with {"action":"list"}.
Data Storage
Everything stays local. By default the server uses one SQLite database:
Platform | Default Path |
Linux |
|
macOS |
|
Windows |
|
Environment variables:
CLAUDE_MEMORY_DATA_DIR: override the base directoryCLAUDE_MEMORY_DB_PATH: point directly at a database file
If you want repo-local isolation, point CLAUDE_MEMORY_DB_PATH at a project-specific path when launching the server or CLI.
Operational Commands
These commands are CLI-only and are meant for local maintenance rather than in-agent retrieval:
claude-memory-mcp doctor: reports schema version, SQLite integrity, and row countsclaude-memory-mcp export: writes a versioned JSON export envelope to stdoutclaude-memory-mcp backup --file <path>: writes the same export envelope to a fileclaude-memory-mcp import --file <path> --dry-run: validates an export envelope without changing the current storeclaude-memory-mcp import --file <path>: replaces the current store with a previously exported JSON envelope
The export envelope format id is claude-memory-continuity-export. The stable contract for artifacts, graph nodes, operational commands, and schema versioning is documented in CONTRACT.md.
Release
The npm package is @whenmoon-afk/memory-mcp; the v3 CLI binary is claude-memory-mcp. Release and publishing steps are documented in RELEASE.md.
Product Notes
This branch replaces the older
self/reflect/anchorsurface with thecontinuityaction model.The design goal is simple local continuity: snapshots, decisions, state records, themes, and entities.
Search and neighbor queries intentionally return compact rows first so agents can inspect nearby context without wasting tokens.
Shared
theme,entity, andprojectnodes can connect otherwise separate artifacts into a navigable continuity graph.nodeandrelatedkeep the graph inspectable without forcing full graph dumps into context.doctor,export,backup, andimportare intentionally CLI-first so large maintenance operations stay explicit and local.
v3 Migration
claude-memory-mcp now exposes a continuity-first API.
Removed:
selfreflectanchor
Added:
continuityMCP dispatch toolclaude-memory-mcpCLI commands forsave,list,search,get,neighbors,node,related,doctor,export,backup,import,bundle,merge, anddeleteSQLite-backed continuity artifacts for snapshots, decisions, state records, bundles, and meta-snapshots
Privacy Policy
All data is local to your machine.
Data collection: none
Telemetry: none
Network calls: none
Third-party sharing: none
Delete the database file to remove stored continuity artifacts.
Support
Repository: github.com/whenmoon-afk/claude-memory-mcp
License
MIT
Appeared in Searches
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/WhenMoon-afk/claude-memory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server