Install
Cogi in Claude Code
Let your agent do it in one go, or follow three short steps. About two minutes either way.
Let your agent do it
Paste this into Claude Code or Codex. It checks your computer, installs what's missing and tells you what it did.
Install Cogi for me: follow https://meridian21lab.github.io/cogito-mem/install.mdOr step by step
Windows is experimental. In our Windows test, Cogi installs, saves and finds by meaning, but we haven't run it inside Claude Code there yet. If something goes wrong, tell us.
-
Get the helper, uv
Cogi runs with uv. If
uv --versionalready works, skip this.Terminalbrew install uvPowerShellwinget install --id=astral-sh.uv -eUse uv's installer: one command, or your package manager.
No Homebrew? Use uv's installer.
Then open a new terminal, so it finds uv.
-
Install Cogi
Terminalclaude plugin install cogito-mem --marketplace meridian21lab/cogito-memSuccessfully installed plugin: cogito-mem@cogito-mem (scope: user)
Needs Claude Code 2.1.292 or newer. Your memory is called
yourname-hollow; for another name, add--config memory_name=work-hollow.Stay up to date: in Claude Code, open
/plugin→ Marketplaces → cogito-mem → Enable auto-update. -
Try it
Start Claude Code (
claude) and have this chat:Let's call the staging server “acorn”.
/clearwipes Claude's short-term memoryWhat did we call the staging server?
“acorn”: Cogi brought it back.
First time? Cogi downloads its model (310 MB) when it first wakes up, about a minute. Until then it finds things by their exact words only.
Good to know
Bring in your earlier sessions
Cogi collects from now on. To add every Claude Code session you had before:
uv tool install cogito-memcogito-mem capture claude-code --allCommand not found? Run uv tool update-shell, open a new terminal and try
again.
Install from inside Claude Code
Type these one at a time; pasting both at once runs them as one command.
/plugin marketplace add meridian21lab/cogito-mem/plugin install cogito-mem@cogito-memChoose Install for you (user scope), so Cogi remembers in every project, then run
/reload-plugins.
Other ways: Codex, Claude Desktop, Docker, Python
Every app it finds (Claude Code, Codex, Claude Desktop):
uv tool install cogito-memcogito-mem installDocker, then connect Claude Code by URL:
docker run -d --name cogito-mem -p 127.0.0.1:7327:7327 -v cogito-mem:/data ghcr.io/meridian21lab/cogito-memclaude mcp add --transport http cogito-mem http://127.0.0.1:7327/mcpPython: pip install cogito-mem, then see
API & MCP.
Stop Cogi from adding memories to each prompt
Add this to ~/.claude/settings.json. Claude can still search when you ask.
{ "env": { "COGITO_MEM_RECALL": "off" } }Remove Cogi
claude plugin uninstall cogito-mem@cogito-memThat keeps your memories. To erase them too:
rm -rf ~/.cogito-memRemove-Item -Recurse -Force ~\.cogito-memIf something looks wrong
| You see | Do this |
|---|---|
/mcp shows ✘ next to cogi, not ✔ 3 tools | Close Claude Code, open a new terminal (so it finds uv) and start it again. |
not a valid GitHub owner/repo | Two commands were pasted together. Run one at a time. |
| Anything else | Logs are in ~/.cogito-mem/run/. Tell us. |