claude-mem-lite
MCPLightweight MCP memory server for Claude Code capturing coding decisions and context across sessions using SQLite with hybrid FTS5 and TF-IDF search.
git clone https://github.com/sdsrss/claude-mem-lite`claude-mem-lite` is a persistent memory (also called long-term memory or cross-session context) system for Claude Code — Anthropic's CLI coding agent. It runs as an MCP server plus a set of Claude Code hooks, automatically capturing coding observations, decisions, and bug fixes during sessions, then providing hybrid full-text + semantic search to recall them later.
Compared to general-purpose LLM memory frameworks like `mem0` or the MCP reference `memory` server, claude-mem-lite is purpose-built for Claude Code's hook lifecycle: episode batching cuts LLM calls 7–10× vs the original claude-mem (an estimated ~600× lower total cost — see the cost model below; this is an architecture estimate, not a measured benchmark), while the hybrid FTS5 + TF-IDF retriever benchmarks at 0.88 Recall@10 / 0.96 Precision@10.
中文简介:claude-mem-lite 是 Claude Code 的轻量级持久化记忆 / 长期记忆 / 跨会话上下文插件,基于 MCP 协议 + 钩子机制,自动捕获编码会话中的决策、修复和上下文,并通过 FTS5 + TF-IDF 混合检索召回。详见 中文 README。
Zero external services. Single SQLite database. Minimal overhead.
- Source
- community
- Known advisories
- 0
- Maintenance
- active
- License
- none
- Age
- 0 months