Privacy-first memory plugin for Claude Code
npx claudepluginhub diegorv/koko-claude-mem-litePrivacy-first memory plugin for Claude Code. Captures sessions, compresses with AI, injects context.
[!CAUTION] EARLY STAGE SOFTWARE — DO NOT USE FOR ANYTHING IMPORTANT
This project is in a very early stage of development and is not recommended for use by anyone. There is a real risk of data loss, unexpected behavior, and breaking changes without notice. Do not rely on this software to preserve any important context or memory data.
Expect breaking changes, missing features, and rough edges.
[!WARNING] We are not accepting pull requests, issues, or external contributions at this time.
[!NOTE] Looking for a production-ready memory plugin? Use claude-mem instead.
memory-lite was inspired by claude-mem — a mature, well-tested memory plugin for Claude Code. No code was copied or derived from that project; this is an independent reimplementation exploring different architectural ideas (multi-turn observer, Svelte dashboard, MCP progressive disclosure, etc.).
If you just want memory that works today, claude-mem is the right choice. memory-lite is an experimental project and not recommended for regular use.
A privacy-first memory plugin for Claude Code. Automatically captures what happens during your coding sessions, compresses it with AI, and re-injects the context when you start a new session — so Claude remembers what you were working on.
memory-lite hooks into Claude Code's plugin lifecycle to silently observe your sessions:
┌─────────────┐ ┌──────────┐ ┌──────────┐ ┌─────────────┐
│ SessionStart│────▶│ Inject │ │ Store │ │ Generate │
│ (hook) │ │ Context │ │Observation│ │ Summary │
└─────────────┘ └──────────┘ └──────────┘ └─────────────┘
▲ ▲ ▲
│ │ │
On startup Every tool use On session end
│ │ │
Reads past Multi-turn AI AI summarizes
summaries + observer extracts the full session
observations structured data into 5 fields
All data is stored locally in a SQLite database at ~/.memory-lite/data.db. AI extraction uses Claude Code's own authentication (subscription billing via the Agent SDK) — no separate API key is needed.
memory_search, memory_timeline, memory_get) exposed as an MCP server for Claude to query its own memory<private> tags to exclude it from storagehttp://localhost:37888# Clone the repository
git clone <repo-url> memory-lite-plugin
cd memory-lite-plugin
# Install dependencies
npm install