Use case · claude-mem for Codex CLI

claude-mem for Codex CLI

Carry memory into OpenAI's Codex CLI through one MCP link.

cmem carries persistent memory into OpenAI's Codex CLI through one MCP link. The open-source engine captures structured observations locally as you work, and CMEM Cloud exposes them to Codex — and any other MCP client — through a single private endpoint. No re-explaining context between runs.

How it fits Codex CLI
Capability
Without cmem
cmem.ai
Connection
Fresh context every run
Private MCP link for Codex CLI
Memory persistence
Per-session only
Across every project & machine
Capture
Manual notes
A second model writes observations
Recall
Re-paste history
Semantic vector search
Price
$0 cloud during early access
How it integrates

Up and running with Codex CLI

01

Install the engine

Run npx claude-mem@latest install to set up local memory capture.

02

Add the MCP link

Add your private MCP link to Codex CLI as an MCP server once your invite lands.

03

Recall across runs

Codex reads the same memory as every other agent — context persists run to run.

What you get

Memory that compounds, built in

Automatic capture

A second model writes structured notes out-of-band — no prompting, no slowdown.

Auto-categorization

Decision, bugfix, feature, discovery, security — every note lands in a taxonomy.

Search three ways

Semantic, keyword, and timeline search over everything your agents have done.

Causality threading

Before/after links connect why a change happened to what came next.

Local-first & private

Memory lives in local SQLite with privacy stripping; cloud sync is opt-in.

Smart-explore

Structural codebase exploration that is 6–12× cheaper than reading files in full.

See all features →

Early access

Bring memory to Codex CLI

The engine is open source and free to install today. Cloud sync is $0 during early access — join the waitlist and your private MCP link arrives by email.