cognitive-ai-memory
local MCP servercognitive-ai-memory is a local MCP server: Ebbinghaus-based persistent memory for Claude. Memories decay with time, strengthen on recall. Install it from oci as ghcr.io/your-memory/cognitive-ai-memory:1.0.2.
Installation
Terminal
claude mcp add cognitive-ai-memory -e DATABASE_URL=... -e OLLAMA_URL=... -e EXTRACT_MODEL=... -- docker run -i --rm ghcr.io/your-memory/cognitive-ai-memory:1.0.2
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"cognitive-ai-memory": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/your-memory/cognitive-ai-memory:1.0.2"
],
"env": {
"DATABASE_URL": "...",
"OLLAMA_URL": "...",
"EXTRACT_MODEL": "..."
}
}
}
}Fill in the environment variables with your own credentials.
What you need
- Runtime: Docker.
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
- Environment variables:
DATABASE_URL,OLLAMA_URL,EXTRACT_MODEL
Summary
Ebbinghaus-based persistent memory for Claude. Memories decay with time, strengthen on recall.
cognitive-ai-memory vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| cognitive-ai-memory | 270 | Local | Yes | oci |
| YourMemory | 270 | Local | Yes | pypi |
| token-savior | 1,157 | Local | Yes | pypi |
| neural-memory | 240 | Local | No | npm |
| Knowl | 114 | Hosted | No | None |
Questions
It reads 3 environment variables: DATABASE_URL, OLLAMA_URL, EXTRACT_MODEL. Set them in your MCP config before starting the server.
Docker, plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
cognitive-ai-memory is a local MCP server distributed as the oci package ghcr.io/your-memory/cognitive-ai-memory:1.0.2.
Run: claude mcp add cognitive-ai-memory -e DATABASE_URL=... -e OLLAMA_URL=... -e EXTRACT_MODEL=... -- docker run -i --rm ghcr.io/your-memory/cognitive-ai-memory:1.0.2
Run: codex mcp add cognitive-ai-memory --env DATABASE_URL=... --env OLLAMA_URL=... --env EXTRACT_MODEL=... -- docker run -i --rm ghcr.io/your-memory/cognitive-ai-memory:1.0.2
Similar MCP servers
NameStars
- YourMemoryio.github.sachitrafa/yourmemory270
- token-saviorio.github.Mibayy/token-savior1,157
- neural-memoryio.github.nhadaututtheky/neural-memory240
- Knowlio.github.dat999zx/knowl114
- DeepMemio.github.deepmemteam/deepmem114
- memory-mcpio.github.yuvalsuede/memory-mcp98
- Total Agent Memoryio.github.vbcherepanov/total-agent-memory72
- Montycat MCP - Shared Memory for AI Agentsio.github.MontyGovernance/montycat-mcp65