Recallbase / Codex CLI + Recallbase

Give Codex CLI a persistent memory

Codex CLI is strong at code – but forgets between sittings. With Recallbase over MCP, Codex remembers project history, decisions and confirmed knowledge.

Neural constellation of connected points – a remembering AI memory

Why Codex CLI needs a memory

Codex CLI starts each session with no prior knowledge of your project. Recallbase gives Codex access to a persistent memory over MCP – so the agent knows history and earlier decisions instead of starting from zero.

All guides use the same MCP server. The fastest setup is the bundled command node ~/.claude/brain-helper/dist/index.js setup, which registers detected agents automatically. The manual entry is shown below as well.

Set up Recallbase in Codex CLI

Prerequisite: a Recallbase account (create one free) and the installed client. Add the MCP server to ~/.codex/config.toml:

[mcp_servers.recallbase]
command = "node"
args = ["/PATH/TO/.claude/brain-helper/dist/index.js", "mcp"]

After restarting Codex CLI, the MCP server recallbase is available.

The four memory tools

Over MCP, Recallbase gives your agent four tools:

To have your agent use them automatically, add to its instruction file (e.g. AGENTS.md / GEMINI.md): "Call memory_context at the start of each session and apply the context. Save via memory_save_session at the end."

Tip for Codex CLI

Add a line to your AGENTS.md telling Codex to call memory_context at session start – then the memory loads automatically.

Give your agent a memory

Start for free, no credit card. In two minutes your agent remembers every session.

Start for free