1. Conduid
  2. RAG
  3. Remem
MCP server · RAG

Remem

Local-first persistent memory for Claude Code & Codex CLI - Rust CLI, hooks, MCP server, SQLite/SQLCipher, auditable recall for long-running coding work.

59Fair

Scored 19 hours ago · breakdown

About Remem

Remem is an MCP server published by majiayu000 in the RAG category: local-first persistent memory for Claude Code & Codex CLI - Rust CLI, hooks, MCP server, SQLite/SQLCipher, auditable recall for long-running coding work. Conduid read 28 tools from its source: commits_for_session, context_bundle, current_state, get_observations, govern_memory, list_raw_sessions and 22 more. No package is published for it, so it installs from a source checkout.

The repository has 34 stars and 7 forks, and its last commit was on 27 Nov 2026. Conduid has no tagged release on record for it. Its topics include agent-memory, ai-coding-agent, ai-memory, claude-code-memory, cli and codex-cli.

Install

From source
git clone https://github.com/majiayu000/remem

Tools (28)

commits_for_sessionList git commits linked to a content session ID or remem memory session ID. Its poisoning gate may quarantine the newest eligible unsafe linked session summary. Returns link evidence plus git metadata; it does not guess commit intent when no link exists.
context_bundleExperimental Context Bundle v1 compiler. Requires schema_version=1 and a non-blank task. Returns a policy-bounded, source-attributed ContextBundle with a complete selection/drop audit; project is explicit or derived from cwd, and role/risk/token budget have deterministic defaults. Historical as_of_epoch pins and include_superseded=true fail loudly until the canonical loader supports them. This reuses the production SessionStart canonical loader, performs no foreground LLM or network call, and returns canonical load failures as a blocked audited bundle. Its poisoning safety check may quarantine unsafe persisted rows, so callers must not treat it as side-effect-free. The JSON shape is versioned but remains experimental.
current_stateRead-only. Resolve one stable state_key to a JSON object with status=current, no_current, not_found, ambiguous, or unresolved_conflict, plus answer, compact history, and why edges. state_key must be non-blank; project/owner/type/as_of filters narrow the resolution. Use this instead of search when the durable key is known; use timeline for chronological observation context. Invalid input or database failures return a tool error.
get_observationsFetch full details for explicit IDs and record last-accessed metadata for returned memory or observation rows. Use after search, not for discovery; prompt-time anchors may also direct this exact lookup. Pass selected IDs and the exact source from the result. source defaults to 'memory'; source='memory' returns curated memory details and requires its access update to succeed, source='observation' returns current extracted observations and records its access update best-effort (a failed update is logged but details still return), and source='session_summary' returns exact safe session-summary rows without confusing their IDs with observation IDs. Unsupported sources, any missing requested ID, detail-read failures, or memory access-update failures return a tool error.
govern_memoryAuditably delete, reject, or mark curated memories stale. Use dry_run=true first to preview affected IDs and their current versions. Non-dry-run mutations require confirm_destructive=true, an explicit reason, and expected_versions containing every target ID. This never deletes raw archive data.
list_raw_sessionsList sessions with raw archive messages inside a time window, grouped by (source_root, host, project, session_id) with a stable session_ref, content_hash, first/last message epoch, message count, and optional role=user message samples. Unresolved or conflicted provenance is skipped and reported in `excluded_legacy_identities`; `latest` fills at most that many newest healthy sessions and does not spend slots on skipped rows. Use for recap-style summaries of what happened in a period. Output fields match `remem raw sessions --json`.
lookup_commitLook up git commit metadata and linked memory sessions by full or short SHA. Its poisoning gate may quarantine the newest eligible unsafe linked session summary. The response separates git metadata from memory-derived summaries so missing links are not inferred.
recall_user_contextAssemble task-aware user context from safe claims, profile summary, repo memories, requested current-state keys, workstreams, and recent sessions. Its poisoning gate may quarantine an unsafe legacy or session summary. Requires a non-blank query and an explicit project or cwd scope. Returns a compact source-attributed JSON object with included items, dropped items, reason codes, and budget metadata. Use search for exhaustive memory matches and current_state for one exact stable key; this tool selects a bounded context bundle instead. Invalid or missing scope input and database failures return a tool error.
remem_activation_planPreview Codex hook activation without writing config.
remem_commit_lookupLook up git commit metadata and linked Remem memory sessions by full or short SHA.
ParameterTypeDescription
projectstring
sha *string
remem_current_stateResolve the current Remem memory for a stable state key, including conflict and history metadata.
ParameterTypeDescription
as_of_epochnumber
memory_typestring
owner_keystring
owner_scopestring
projectstring
state_key *string
remem_dashboardRender Remem runtime, memory health, search, save, governance, and activation state.
ParameterTypeDescription
projectstring
remem_get_memoryFetch full details for a selected Remem memory by ID and record local access telemetry.
ParameterTypeDescription
id *number
remem_governance_previewDry-run stale, reject, or delete governance for selected Remem memories.
ParameterTypeDescription
action *string
actorstring
idsarray
limitnumber
memory_typestring
offsetnumber
projectstring
querystring
reasonstring
statusstring
remem_save_memoryExplicitly save one durable Remem memory.
ParameterTypeDescription
memory_typestring
projectstring
scopestring
text *string
titlestring
topic_keystring
remem_searchSearch curated Remem memories. Set include_raw_archive=true to attach raw archive fallback rows.
ParameterTypeDescription
include_raw_archiveboolean
include_staleboolean
limitnumber
multi_hopboolean
offsetnumber
projectstring
query *string
typestring
remem_session_commitsList git commits linked to a content session ID or Remem memory session ID.
ParameterTypeDescription
limitnumber
projectstring
session_id *string
remem_timeline_aroundLoad chronological Remem observations around an anchor observation ID or query.
ParameterTypeDescription
anchorinteger
depth_afterinteger
depth_beforeinteger
projectstring
querystring
remem_timeline_reportGenerate a structured project timeline report with optional timeline and monthly breakdown.
ParameterTypeDescription
fullboolean
project *string
remem_workstream_updateUpdate a Remem workstream status, next action, or blockers after explicit confirmation.
ParameterTypeDescription
blockersstring
confirm *boolean
id *integer
next_actionstring
project *string
statusstring
remem_workstreams_listList Remem workstreams for a project, optionally filtered by status.
ParameterTypeDescription
project *string
statusstring
save_memorySave a memory for future sessions. MUST be called after: (1) architecture decisions — record what was chosen, why, and what was rejected, (2) bug fixes with root cause — record symptom, root cause, fix, and prevention, (3) important discoveries — record finding and its implications, (4) user preferences — record preference and reasoning. Use topic_key for cross-session dedup (same project+topic_key updates existing memory). By default also writes a local markdown backup.
searchRead-only. Search or list curated memories: query is optional for standard search, while project/type/branch and visibility flags filter results. Returns a compact JSON object with results, source='memory', pagination, and next_step for get_observations(ids, source); limit defaults to 20 and offset to 0. Use current_state when an exact stable state_key is known, timeline for chronological observation context, and search_raw for literal chat recall. explain and multi_hop each require a non-blank query, and explain cannot be combined with multi_hop=true. Invalid combinations or curated-search database failures return a tool error; an automatic raw-archive fallback failure preserves the curated results and adds raw_hits_error to the successful response.
search_rawSearch the raw archive (every user/assistant turn captured by the Stop hook). Use this when `search` returns no curated match or you need to recall a literal phrase from past chats. Returns the untreated conversation content — expect noise. The raw archive is what guarantees 'what was said remains searchable' even when summarize/promote skip a turn.
timelineRead-only. Return a JSON array of observations before and after one center point; provide anchor or query, and anchor takes precedence when both are set. depth_before and depth_after default to 5, and project limits both anchor lookup and results. Use this for local chronological context around an observation; use timeline_report for an aggregated project report, search for curated memories, or current_state for a stable fact. Missing anchors/queries, no query match, or database failures return a tool error.
timeline_reportRead-only. Generate an aggregated Markdown report for the required project with activity history, type distribution, and Token ROI analysis. full defaults to false for the compact report; full=true adds the detailed timeline and monthly breakdown. Use this for project-level reporting, not observation lookup; use timeline for chronological context around one observation. Database failures return a tool error.
update_workstreamMutates one existing workstream by id. At least one of status, next_action, or blockers is required; omitted fields remain unchanged. status accepts only active, paused, completed, or abandoned. Returns a JSON object with id and updated, where updated=false means no row matched. Use workstreams to list/read rows first. This tool does not create or delete workstreams; an empty update, an unknown status, or a database failure returns a tool error.
workstreamsRead-only. List existing high-level workstreams for a required project, optionally filtered by status=active, paused, completed, or abandoned. Returns a JSON array with each workstream's status, progress, next action, blockers, and timestamps. Use update_workstream to mutate an existing row; this tool does not create, update, or delete workstreams. A missing project or database failure returns a tool error.

Security checks

6 checks have not been run yet.

Questions

About Remem

How do I install Remem?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Remem safe to use with an AI agent?

Its trust score is 59 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Remem still maintained?

Yes — the last commit was 4 days ago. The repository has 34 stars and 7 forks.

What tools does Remem provide?

Conduid read 28 tools from the source: commits_for_session, context_bundle, current_state, get_observations, govern_memory, list_raw_sessions, lookup_commit, recall_user_context and 20 more. 12 of them publish their parameters, listed under Tools above.