Claude Mem Lite
MCP server by sdsrss Verified · npm:claude-mem-lite
Claude Mem Lite adds persistent memory to Claude Code through an MCP server and hooks. It captures decisions, bug fixes and context across sessions, then recalls them with FTS5 full-text search. It is built for Claude Code users who want no external services.
Install Claude Mem Lite
Built from the published package, never by AI.
claude mcp add claude-mem-lite -- npx -y claude-mem-liteRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"claude-mem-lite": {
"args": [
"-y",
"claude-mem-lite"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"claude-mem-lite": {
"args": [
"-y",
"claude-mem-lite"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"claude-mem-lite": {
"args": [
"-y",
"claude-mem-lite"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add claude-mem-lite -- npx -y claude-mem-lite{
"mcpServers": {
"claude-mem-lite": {
"args": [
"-y",
"claude-mem-lite"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add claude-mem-lite npx -y claude-mem-liteGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the claude-mem-lite block.
About
Claude Mem Lite is a persistent memory system for Claude Code, Anthropic's CLI coding agent. It runs as an MCP server plus a set of Claude Code hooks. The hooks capture coding observations, decisions and bug fixes during sessions, and the data is stored in a single local SQLite database with no external services.
Episodes of related file edits are batched before an LLM encodes them, and recall uses FTS5 BM25 full-text search with query expansion and synonyms. The LLM step can use an Anthropic API key, an OpenRouter key, or the claude CLI. It suits developers who want memory that carries across Claude Code sessions. Cost savings in the README are architecture estimates, not measured results.
Written from the project's README and checked against it.
Tools it gives your assistant
mem_searchSearches stored memory, with scores normalized across observations, sessions and prompts.Automatic captureHooks into the Claude Code lifecycle to record observations without manual effort.Timeline browsingNavigates observations chronologically with anchor-based context windows.Error-triggered recallSearches memory when Bash errors occur to surface relevant past fixes.Proactive file historyShows past observations for a file when that file is being edited.Session summariesWrites a summary at every Stop, upgraded by a background model summary when observations exist.
What you need
- Node.js
- Claude Code
- Anthropic API key, OpenRouter key, or the claude CLI for LLM summaries
Try asking
- Search my memory for past fixes to the auth bug.
- What decisions did we record about the database schema?
- Show the timeline of observations from this project.
Good to know
- Episode encoding relies on an LLM; without one, edit-only episodes can be lost unless CLAUDE_MEM_KEEP_LOW_SIGNAL=1 is set.
- Cost and speed figures are architecture estimates, not measured benchmarks.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Claude Mem Lite
All alternatives →Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.
ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.
Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.
MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.
Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.
MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.
Compare with Supabase, ArcadeDB MCP Server or DBHub
Claude Mem Lite: common questions
Does Claude Mem Lite need an external service?
No. The source says it runs with zero external services and stores data in a single SQLite database.
How does Claude Mem Lite search memory?
It uses FTS5 BM25 keyword search with query expansion, pseudo-relevance feedback and synonym expansion, including CJK to English mappings.
How is it different from the original claude-mem?
The source says it batches episodes to reduce LLM calls, uses Node.js only with three npm packages, and runs on demand instead of as a long-running worker.
How do I install Claude Mem Lite?
In Claude Code run claude mcp add claude-mem-lite -- npx -y claude-mem-lite. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Claude Mem Lite the official server?
Claude Mem Lite is published by npm:claude-mem-lite from its verified domain in the official MCP Registry.
Is Claude Mem Lite free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Claude Mem Lite safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Claude Mem Lite?
Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.
Does Claude Mem Lite work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
