Claudius
Status

claude-mem-lite

MCP

Lightweight MCP memory server for Claude Code capturing coding decisions and context across sessions using SQLite with hybrid FTS5 and TF-IDF search.

by sdsrss·sdsrss/claude-mem-lite·JavaScript·v2.99.0
50· C
Install
git clone https://github.com/sdsrss/claude-mem-lite
Stars
46
7d change
Downloads / week
Last active
today
About

`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.

Read more on GitHub →
30-day stars
collecting…
Trust factors
Source
community
Known advisories
0
Maintenance
active
License
none
Age
0 months
memorydeveloper-tools#memory#sqlite#fts5#long-term-memory#context#session#agent-memory#ai-coding-assistant#ai-memory#anthropic#claude-code-plugin#hooks#hybrid-search#llm-memory#mcp#model-context-protocol#persistence#rag#semantic-search