About Claude Mem Lite
Claude Mem Lite is an MCP server published by sdsrss in the Search category: lightweight persistent memory system for Claude Code — FTS5 search, episode batching, error-triggered recall. Conduid read 19 tools from its source: mem_browse, mem_compress, mem_defer, mem_defer_drop, mem_defer_list, mem_delete and 13 more. It is published to npm as claude-mem-lite and starts with npx.
The repository has 70 stars and 17 forks, and its last commit was on 28 Nov 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include fts5, hooks, memory, persistence and sqlite.
Install
claude mcp add claude-mem-lite -- npx -y claude-mem-litenpx -y claude-mem-litegit clone https://github.com/sdsrss/claude-mem-liteTools (19)
mem_browseTier-grouped dashboard (working / active / archive).| Parameter | Type | Description |
|---|---|---|
| limit | number | Max entries per tier (default 5, or 20 when filtering by tier) |
| project | string | Filter by project (default: inferred from CWD) |
| tier | string | Show only this tier |
mem_compressRoll up old low-value observations (preview default; `--execute` to apply).| Parameter | Type | Description |
|---|---|---|
| age_days | number | Min age in days (default: 30, minimum: 30) |
| project | string | Filter by project |
mem_deferMark work for a future session (v2.70+). First-class carry-forward signal, surfaced in SessionStart `### Deferred Work` block.| Parameter | Type | Description |
|---|---|---|
| detail | string | Optional longer description / constraint / why deferred |
| priority | number | 1=low, 2=normal, 3=urgent (default: 2) |
| project | string | Project name (default: inferred from CWD) |
| title * | string | One-line subject of the deferred item |
mem_defer_dropDrop a deferred item without fixing it; requires a `reason` for the audit trail.| Parameter | Type | Description |
|---|---|---|
| project | string | Project name (default: inferred from CWD) |
| reason * | string | Why this item is being dropped (required for audit trail) |
mem_defer_listList open deferred items for the current project.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results (default 10) |
| project | string | Project name (default: inferred from CWD) |
mem_deletePreview / confirm workflow, FTS5 cleanup.| Parameter | Type | Description |
|---|---|---|
| ids * | array | Observation IDs to delete |
mem_exportJSON / JSONL dump, filters by project, type, date.| Parameter | Type | Description |
|---|---|---|
| date_from | string | Start date (ISO 8601 or YYYY-MM-DD) |
| date_to | string | End date (ISO 8601 or YYYY-MM-DD) |
| format | string | Output format (default: json) |
| from | string | Alias for `date_from` (CLI `export --from`) |
| limit | number | Max observations to export (default: 200 — a capped result is flagged PARTIAL and names the total; pass that total for a complete backup, no upper bound) |
| project | string | Filter by project |
| to | string | Alias for `date_to` (CLI `export --to`) |
mem_fts_checkFTS5 integrity check; rebuild of the FTS5 indexes, then every other index (REINDEX).| Parameter | Type | Description |
|---|---|---|
| action * | string | check=verify FTS integrity, rebuild=rebuild FTS indexes |
mem_getRetrieve full details for specific observation IDs (includes importance and related_ids).| Parameter | Type | Description |
|---|---|---|
| source | string | Force all IDs to this source (overrides per-token prefixes). Omit to let P#/S#/E#/# prefixes route individually. D#N tokens are exempt — they always read deferred_work. |
mem_maintaindedup / decay / cleanup / vacuum (`scan` previews, `execute` applies).| Parameter | Type | Description |
|---|---|---|
| action * | string | scan=analyze candidates, execute=apply changes |
| merge_ids | array | For dedup: [[keepId, removeId1, removeId2], ...] — first ID in each group is kept |
| operations | array | Operations: dedup=find/merge duplicate observations, decay=reduce importance of old low-value obs, cleanup=remove orphaned records, boost=promote frequently-accessed obs, demote_pinned=floor importance for obs injected>=8 times but never cited — to 1 with no lesson_learned, to 2 with one (v3.76.1: a lesson-bearing row keeps eligibility on every importance>=2 injection face) (clears pinned noise the decay op cannot reach; in the default set since v3.76.0 and ordered after boost, since boost would otherwise raise the row straight back — set CLAUDE_MEM_SKIP_DEMOTE_PINNED=1 to drop it from the DEFAULT set only), purge_stale=DELETE pending-purge obs older than retain_days (requires confirm=true; first call previews), vacuum=reclaim freelist dead space (whole-DB) |
| project | string | Filter by project |
| retain_days | number | For purge_stale: keep observations newer than N days (default 30) |
mem_optimizeLLM-powered re-enrich / normalize / cluster-merge (preview default; `--run` to apply).| Parameter | Type | Description |
|---|---|---|
| action | string | preview=scan candidates, run=execute with limits, run_all=bypass gates |
| max_items | number | Maximum LLM calls across all tasks (default: 15) |
| project | string | Filter all 4 tasks to a single project. Default: scan all projects. |
| scope | string | Re-enrich scope: narrow=narrative-only candidates (default); wide=R-7 backfill (bugfix/refactor/feature/decision with narrative but lesson_learned='none'). CLI parity: --scope wide. |
| tasks | array | Which optimization tasks to run (default: all) |
mem_recallRecall observations related to a file. Use before editing to surface past bugfixes and context.| Parameter | Type | Description |
|---|---|---|
| file * | string | File path or filename to recall observations for |
| limit | number | Max results (default 10) |
| project | string | Only this project. Default: every project, ranked current project first, then exact-path matches before same-name files |
mem_recentShow most recent observations, ordered by time. Quick snapshot of latest activity.| Parameter | Type | Description |
|---|---|---|
| date_since | string | Relative lower bound from now: 7d/24h/90m/2w/30s. Only items newer than the window (pair with a high limit for "everything since X") |
| limit | number | Max results (default 10) |
| project | string | Filter by project (default: inferred from CWD) |
| since | string | Alias for `date_since` (CLI `recent --since`) |
mem_saveManually save a memory/observation. Accepts `closes_deferred` array for transactional closure of deferred work.| Parameter | Type | Description |
|---|---|---|
| content * | string | Memory content to save |
| importance | number | Importance level: 1=routine, 2=notable, 3=critical (default: 2 for explicit saves) |
| lesson | string | Alias for `lesson_learned` (CLI `save --lesson`) |
| lesson_learned | string | Key lesson or takeaway, ≤500 chars (for bugfix: root cause & fix; for decision: rationale) |
| project | string | Project name (default: inferred from CWD) |
| title | string | Short title |
mem_searchFTS5 full-text search with BM25 ranking. Filters by type, project, date range, importance level.| Parameter | Type | Description |
|---|---|---|
| branch | string | Filter by git branch name |
| date_from | string | Start date (ISO 8601 or YYYY-MM-DD) |
| date_since | string | Relative lower bound from now: 7d/24h/90m/2w/30s. Use for "recent" queries instead of computing a date_from; ignored when date_from is set |
| date_to | string | End date (ISO 8601 or YYYY-MM-DD). Date-only format is inclusive (covers full day) |
| from | string | Alias for `date_from` (CLI `search --from`) |
| importance | number | Minimum importance (1=routine, 2=notable, 3=critical) |
| limit | number | Max results (default 20) |
| offset | number | Offset for pagination |
| project | string | Filter by project name |
| query | string | Search keywords; every word must match (see `or`). Operators and quotes are ignored: NOT, -term, prefix*, column:, "phrase" |
| since | string | Alias for `date_since` (CLI `search --since`) |
| sort | string | Sort order: relevance (default, BM25), time (newest first), importance (highest first) |
| source | string | Alias for `type` (CLI `search --source`). Note: CLI `--type` is the OBSERVATION type — that is `obs_type` here. |
| tier | string | Filter by memory tier (working=current session, active=within decay window, archive=old/compressed) |
| to | string | Alias for `date_to` (CLI `search --to`) |
| type | string | Limit to one source table (default: all). events = the canonical bugfix/feature/decision/lesson history (auto-captured event-typed memories) |
mem_search_feedbackRecord sparse relevance labels for results from an existing `mem_search` Search ID.| Parameter | Type | Description |
|---|---|---|
| search_id * | number | Search ID printed by mem_search |
mem_statsCounts, type distribution, daily activity.| Parameter | Type | Description |
|---|---|---|
| days | number | Look back N days (default 30) |
| project | string | Filter by project |
mem_timelineBrowse observations chronologically around an anchor point.| Parameter | Type | Description |
|---|---|---|
| after | number | Items after anchor (default 5) |
| before | number | Items before anchor (default 5) |
| project | string | Filter by project |
| query | string | FTS5 query to auto-find anchor. Ignored when anchor is also given; use one or the other. |
mem_updateEdit an observation in place.| Parameter | Type | Description |
|---|---|---|
| concepts | string | Space-separated concept tags |
| id * | number | Observation ID to update |
| importance | number | New importance (1-3) |
| lesson_learned | string | Add or update lesson learned |
| narrative | string | New narrative/content |
| title | string | New title |
Security checks
- ✓README presentThe repository's README runs to about 4.8K words.
5 checks have not been run yet.
README
The repository's README runs to about 4.8K words. The original in the repository is authoritative.
Read full README