cogito-mem
Long-term memory for Claude Code, on your own machine. Cogi the squirrel keeps every message you and Claude exchange, and brings back what Claude forgot. No API key, no cloud, no AI calls to store.

Agenten stärken
Der eigene Befehl des Herausgebers. Kein PlugMCP-Endpunkt.
Host a copy with our keys and logs.
uvx cogito-mem==0.3.0Claude Code hat keinen Installationslink für einen lokalen Befehl. Kopieren Sie den Befehl unten und führen Sie ihn in einem Terminal aus.
COGITO_MEM_NAMESPACE=<value> claude mcp add io.github.meridian21lab-cogito-mem -- uvx cogito-mem==0.3.0In einem Terminal ausführen.
{ "mcpServers": { "io.github.meridian21lab-cogito-mem": { "command": "uvx", "args": [ "cogito-mem==0.3.0" ], "env": { "COGITO_MEM_NAMESPACE": "<value>" } } }}claude_desktop_config.json
Remote-URL oder ein Befehl auf Ihrem Rechner? Worin sich die beiden Installationen unterscheiden
Auf PlugMCP ausführen
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
StartenVom Herausgeber
Long-term memory for Claude Code, on your own machine. Cogi the squirrel keeps every message you and Claude exchange, and brings back what Claude forgot. No API key, no cloud, no AI calls to store.

Local long-term memory for Claude Code and other agents: every message kept word for word, no cloud.
You need Claude Code and uv, on macOS or Linux (Windows is experimental). Then, in a terminal:
claude plugin install cogito-mem --marketplace meridian21lab/cogito-mem
The first start downloads the model (310 MB, about a minute). To get updates, turn on auto-update once: /plugin → Marketplaces → cogito-mem → Enable auto-update.
/clearcogi. Each runs the released cogito-mem package from PyPI at the exact version the plugin pins (uvx cogito-mem==<version>); the plugin's uv.lock lists that release and numpy with their checksums. After each reply and at the end of a session, the hooks save the new messages from the session's transcript. At the start of a session and with each prompt, they add the few most relevant memories (at most 300 tokens per prompt). The MCP server gives Claude two tools, memory_query and memory_append, answered by a small service that listens on your computer only (127.0.0.1:7327).cogito-mem and its one dependency, numpy, from PyPI (by uv); llama.cpp's llama-server from llama.cpp's official GitHub releases (skipped if you already have it); and the EmbeddingGemma 2 model (310 MB) from Hugging Face. After that, Cogi makes no network calls.~/.cogito-mem/ on your computer: your messages, and a short note of what each turn did, in one SQLite file. API keys, tokens, private keys and passwords are replaced with [redacted] before anything is saved; tool output and file contents are never saved. Text inside <private>…</private> is skipped, and COGITO_MEM_CAPTURE=off pauses saving.cogito-mem eval locomo-qa, which only you would run, sends benchmark questions to the LLM API you set up for it, with your own key.)claude plugin uninstall cogito-mem@cogito-mem, then delete ~/.cogito-mem.Every file, download and connection, with links to the source: What you install.
Keep your project's rules in CLAUDE.md, and let Cogi remember what happened.
Early access. v0.2 is new, built and tested (over 200 tests), and still being measured. Feedback and issues are very welcome.
Local long-term memory for Claude Code and other agents: every message kept word for word, no cloud.
{ "mcpServers": { "io.github.meridian21lab-cogito-mem": { "command": "uvx", "args": [ "cogito-mem==0.3.0" ], "env": { "COGITO_MEM_NAMESPACE": "<value>" } } }}Tools
Noch keine Tool-Liste. Remote-Server erhalten eine nach dem ersten Health-Check.
FAQ
Kopieren Sie auf dieser Seite die stdio-Konfiguration für Cursor, Claude Desktop, Claude Code oder VS Code. Sie nutzt die Installation des Herausgebers, keinen PlugMCP-Proxy.
Der Herausgeber nennt diese Umgebungsvariablen: COGITO_MEM_NAMESPACE.
Cogito Mem (Cogi) läuft lokal über stdio.
Zuletzt geprüft: 2026-11-09. Local long-term memory for Claude Code and other agents: every message kept word for word, no cloud.