Remem MCP Server

Local-first automatic memory for Claude Code and Codex: capture, distill, recall from SQLite.

Remote serverstreamable-httpPython

What is the Remem MCP Server?

Local-first automatic memory for Claude Code and Codex: capture, distill, recall from SQLite.

The short version

remem is a single Rust binary that automatically captures, distills, searches, and injects project memory across Claude Code, OpenAI Codex, and Codex CLI sessions. It keeps decisions, bug-fix rationale, project patterns, and preferences available through hooks, MCP, CLI, and REST without requiring an external database.

  • Search past decisions, bug fixes, and rationale with remem search
  • Inspect why a memory was injected with remem why
  • Keep memory local with SQLite and SQLCipher
  • Use MCP and REST APIs from coding agents and local tools
  • Track usage and background memory cost
  • Avoid hand-maintaining large MEMORY.md or CLAUDE.md files

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
crates.iocargo install remem-ai --bin remem

How to install the Remem MCP Server

{
  "mcpServers": {
    "remem": {
      "command": "npx",
      "args": ["-y", "@remem-ai/remem"],
      "env": {
        "OPENAI_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
OPENAI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Remem to Bug.”
  • “Use Remem to Current.”
  • “Use Remem to User.”

Frequently asked questions

Local-first automatic memory for Claude Code and Codex: capture, distill, recall from SQLite. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.