Persistent long-term memory for Claude Code via MCP — captures coding decisions, bugfixes, and context across sessions. Hybrid FTS5 + TF-IDF search with episode batching. Single SQLite DB, no external services. Alternative to claude-mem with 600x lower cost.
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.
When Vitest UI server is listening, arbitrary file can be read and executed
process.env. You'll be asked to provide them before it can run.ANTHROPIC_API_KEY— Anthropic API key. When set, all background LLM calls go directly to the Anthropic Messages API (with prompt caching). Highest priority. _(unset → CLI)_CLAUDE_CODE_PATHCLAUDE_MEM_ALL_TOOLSCLAUDE_MEM_CATCH_SAMPLECLAUDE_MEM_CITATION_ADOPTION_THRESHOLDCLAUDE_MEM_CJK_PREC_MINCLAUDE_MEM_DB_PATHCLAUDE_MEM_DEBUG— Enable debug logging (1 to enable). _(disabled)_CLAUDE_MEM_DIR— Custom data directory. All databases, runtime files, and managed resources are stored here. ~/.claude-mem-lite/CLAUDE_MEM_EXPERIMENT_MODELCLAUDE_MEM_EXPERIMENT_SETTINGSCLAUDE_MEM_FLUSH_TIMEOUTCLAUDE_MEM_HOOK_RUNNINGCLAUDE_MEM_METRICSCLAUDE_MEM_MODEL— Configurable LLM model -- Switch between Haiku (fast/cheap) and Sonnet (deeper analysis) via env varCLAUDE_MEM_NO_CITATION_TRACKCLAUDE_MEM_NO_DELAYCLAUDE_MEM_NO_LESSON_RETRYCLAUDE_MEM_PRETOOL_NUDGECLAUDE_MEM_QUIET_TRACECLAUDE_MEM_RUNTIME_DIRCLAUDE_MEM_SALIENCECLAUDE_MEM_SKIP_AUTO_DEDUP_FUZZYCLAUDE_MEM_SKIP_COMPRESSCLAUDE_MEM_SKIP_OPTIMIZECLAUDE_MEM_SKIP_REPOSCLAUDE_MEM_SKIP_UPDATECLAUDE_MEM_UPS_BM25_MINCLAUDE_MEM_UPS_BM25_MIN_FOLLOWUPCLAUDE_MEM_UPS_MAX_RESULTSCLAUDE_MEM_UPS_OR_BM25_MINCLAUDE_MEM_UPS_PROMPT_FALLBACK_LIMITCLAUDE_MEM_UPS_REQUIRE_SIGNALCLAUDE_MEM_UPS_TOP_MINCLAUDE_PLUGIN_ROOT— Pre-v2.82.1 the gate left auto-adopt unreachable forCLAUDE_PROJECT_DIRCLAUDE_SESSION_IDGITHUB_TOKENMEM_COVERAGE_THRESHOLDMEM_CROSS_PROJECT_BOOSTMEM_DISABLE_CITATION_DECAYMEM_DISABLE_SPAWN_LOGMEM_NO_ADOPT_HINTMEM_NO_AUTO_ADOPT— deletion / plugin reinstalls). Global opt-out: =1.MEM_QUIET_HOOKSMEM_TEST_SWEEP_VERBOSEOPENROUTER_API_KEY— OpenRouter API key (OpenAI-compatible). Used for background LLM calls when ANTHROPIC_API_KEY is not set. If neither key is set, calls fall back to the claude -p CLI. _(unset)_OPENROUTER_MODELSKIP_MATRIX[](https://m8ven.ai/mcp/sdsrss-claude-mem-lite-2lz78r)