Best for
- Developers using Claude Code or Codex CLI long-term
- Teams needing searchable, auditable, project-scoped memory
- Users who want data to stay local (SQLite/SQLCipher)
A mature, audit-oriented local memory system for coding agents: one Rust binary spanning hooks, MCP, CLI, and REST. Strengths are auditable recall, project scoping, and governance. Cursor support remains partial, and performance claims are labeled directional rather than public. Best for heavy agent users who value data locality and traceability.
Strongest · Documentation 18/20 Weakest · Reliability 9/20
Static review · not runListed 2026-09-07
Read the FMRS scoring method →Runtime:Node.js · Rust · Prebuilt binary
OPENAI_API_KEY
Only needed when the embeddings provider is set to api; get it from the OpenAI platform. Not needed for local/feature-hash mode.
REMEM_EMBEDDINGS_API_KEY_ENV
Names the environment variable holding the embeddings API key; set in the [embeddings] section of ~/.remem/config.toml.
REMEM_DATA_DIR
Overrides the remem data directory (default ~/.remem); used e.g. in eval sandboxes.
REMEM_CONFIG
Overrides the config file path (default ~/.remem/config.toml).
REMEM_INSTALL_BINARY
Absolute path to the remem binary when running remem install to configure hooks/MCP, e.g. the Homebrew prefix path.
1) Install the remem binary via Homebrew (brew install majiayu000/tap/remem), npm (npm install -g @remem-ai/remem), Cargo (cargo install remem-ai --bin remem), the install script, or from source (codesign required on macOS ARM). 2) Run remem install --target claude / codex / all (use --target cursor for Cursor on macOS/Linux). 3) Restart the agent, then verify with remem status and remem search; use remem install --target claude --repair for hook issues and remem doctor for troubleshooting.
After installing and restarting the client, the tool list should include search, save_memory, get_observations, workstreams, timeline, and search_raw; run remem doctor or query a known memory via the search tool to confirm the connection.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
remem is a single Rust binary providing local-first persistent memory for Claude Code and OpenAI Codex / Codex CLI. Through hooks, an MCP server, CLI, and a localhost REST API, it injects relevant project memory at session start and summarizes decisions, bug-fix rationale, project patterns, and preferences in the background at session stop. Data lives in local SQLite with optional SQLCipher encryption — no external database or hosted service. Retrieval uses multi-channel Reciprocal Rank Fusion combining FTS5 BM25, an entity index, temporal semantics, LIKE fallback, and trusted graph expansion, with CJK segmentation and Chinese-English synonym support. It also provides auditable recall (remem why), suppression/feedback governance, token usage and cost reporting, and user-context governance.
Upstash's official server providing up-to-date third-party library docs for AI coding assistants
AI-powered NPM package analysis MCP server
An independent control layer that gives AI coding agents budgets, brakes, and receipts
GitHub's official MCP server for managing repos, issues, PRs, and workflows via natural language
Source revision 93d5a3d6f370 Data synced 2026-10-19 Read the FMRS scoring method