Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Claude Memory Mcp

    An MCP server implementation providing persistent memory capabilities for Claude, based on research into optimal LLM memory techniques

    36 stars
    TypeScript
    Updated Nov 4, 2025

    Table of Contents

    • Why v3?
    • What This Is Not
    • What It Ships
    • MCP Surface
    • Example Workflow
    • CLI
    • Installation
    • Claude Code
    • Claude Desktop
    • Other MCP Clients
    • Data Storage
    • Operational Commands
    • Release
    • Product Notes
    • v3 Migration
    • Privacy Policy
    • Support
    • License

    Table of Contents

    • Why v3?
    • What This Is Not
    • What It Ships
    • MCP Surface
    • Example Workflow
    • CLI
    • Installation
    • Claude Code
    • Claude Desktop
    • Other MCP Clients
    • Data Storage
    • Operational Commands
    • Release
    • Product Notes
    • v3 Migration
    • Privacy Policy
    • Support
    • License

    Documentation

    Claude Memory MCP

    npm version

    License: MIT

    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-mcp
    • Supported CLI command: claude-memory-mcp
    • Storage: 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.

    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: continuity
    • One mirrored CLI for local scripting and inspection
    • Operational CLI commands for doctor, export, and import
    • File-based backups with import dry-run validation
    • Progressive disclosure by default: compact lists first, full detail only on explicit request
    • Five artifact types:
    • snapshot
    • decision
    • project_state
    • bundle
    • meta_snapshot
    • Linked node kinds:
    • project
    • theme
    • entity

    MCP Surface

    The server exposes a single dispatch-style tool:

    ActionPurpose
    helpShow the supported action surface
    saveStore a new artifact
    listReturn compact recent rows
    searchSearch compact rows without expanding bodies
    getLoad one artifact in compact, full, or rendered form
    neighborsShow nearby linked artifacts and nodes
    nodeInspect one node and list linked artifacts
    relatedExplain why an artifact is related to nearby artifacts
    doctorInspect schema version, integrity, and row counts
    bundleBuild a concise resume bundle for a project
    mergeSynthesize a new artifact from multiple prior artifacts
    deleteRemove an artifact by id

    Example tool calls:

    json
    {"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:

    bash
    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:

    bash
    npx @whenmoon-afk/memory-mcp list --project notes-api

    Inspect nearby graph context:

    bash
    npx @whenmoon-afk/memory-mcp node theme:authentication
    npx @whenmoon-afk/memory-mcp related dec-1 --via all

    Create a resume bundle:

    bash
    npx @whenmoon-afk/memory-mcp bundle --project notes-api

    Back up and validate the continuity store before replacing anything:

    bash
    npx @whenmoon-afk/memory-mcp backup --file continuity-backup.json
    npx @whenmoon-afk/memory-mcp import --file continuity-backup.json --dry-run

    CLI

    Use npx without installing globally:

    bash
    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 --full

    If you install globally, the supported binary is claude-memory-mcp:

    bash
    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 doctor

    Node 20 or newer is the supported runtime for the CLI and MCP server.

    Installation

    Claude Code

    bash
    claude mcp add continuity -- npx -y @whenmoon-afk/memory-mcp

    Claude Desktop

    Add this to claude_desktop_config.json:

    json
    {
      "mcpServers": {
        "continuity": {
          "command": "npx",
          "args": ["-y", "@whenmoon-afk/memory-mcp"]
        }
      }
    }

    Other MCP Clients

    Use the same stdio command:

    bash
    npx -y @whenmoon-afk/memory-mcp

    After setup, verify the client can call continuity with {"action":"list"}.

    Data Storage

    Everything stays local. By default the server uses one SQLite database:

    PlatformDefault Path
    Linux~/.local/share/claude-memory/continuity.db
    macOS~/.local/share/claude-memory/continuity.db
    Windows%APPDATA%\\claude-memory\\continuity.db

    Environment variables:

    • CLAUDE_MEMORY_DATA_DIR: override the base directory
    • CLAUDE_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 counts
    • claude-memory-mcp export: writes a versioned JSON export envelope to stdout
    • claude-memory-mcp backup --file : writes the same export envelope to a file
    • claude-memory-mcp import --file --dry-run: validates an export envelope without changing the current store
    • claude-memory-mcp import --file : 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 / anchor surface with the continuity action 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, and project nodes can connect otherwise separate artifacts into a navigable continuity graph.
    • node and related keep the graph inspectable without forcing full graph dumps into context.
    • doctor, export, backup, and import are intentionally CLI-first so large maintenance operations stay explicit and local.

    v3 Migration

    claude-memory-mcp now exposes a continuity-first API.

    Removed:

    • self
    • reflect
    • anchor

    Added:

    • continuity MCP dispatch tool
    • claude-memory-mcp CLI commands for save, list, search, get, neighbors, node, related, doctor, export, backup, import, bundle, merge, and delete
    • SQLite-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

    • Issues: github.com/whenmoon-afk/claude-memory-mcp/issues
    • Repository: github.com/whenmoon-afk/claude-memory-mcp

    License

    MIT

    Similar MCP

    Based on tags & features

    • MC

      Mcgravity

      TypeScript·
      71
    • MC

      Mcp Open Library

      TypeScript·
      42
    • DI

      Discogs Mcp Server

      TypeScript·
      59
    • QU

      Quran Mcp Server

      TypeScript·
      50

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • MC

      Mcgravity

      TypeScript·
      71
    • MC

      Mcp Open Library

      TypeScript·
      42
    • DI

      Discogs Mcp Server

      TypeScript·
      59
    • QU

      Quran Mcp Server

      TypeScript·
      50

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k