claude-mem for Gemini CLI
Bring your agent's memory to Google's Gemini CLI.
cmem brings your agent's memory to Google's Gemini CLI. The open-source engine captures structured observations locally; CMEM Cloud links them to Gemini CLI through one private MCP endpoint, alongside every other MCP client you use. Memory follows you across tools and machines.
Up and running with Gemini CLI
Install the engine
Run npx claude-mem@latest install to start capturing observations locally.
Add the MCP link
Point Gemini CLI at your private MCP link as an MCP server.
Recall everywhere
Gemini CLI shares one brain with the rest of your agents.
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.
