Ebbinghaus-based persistent memory for Claude. Memories decay with time, strengthen on recall.
Connect Runs on your machine
claude mcp add cognitive-ai-memory -e DATABASE_URL=<DATABASE_URL> -e OLLAMA_URL=<OLLAMA_URL> -e EXTRACT_MODEL=<EXTRACT_MODEL> -- docker run -i --rm ghcr.io/your-memory/cognitive-ai-memory:1.0.2
{
"mcpServers": {
"cognitive-ai-memory": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/your-memory/cognitive-ai-memory:1.0.2"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>",
"OLLAMA_URL": "<OLLAMA_URL>",
"EXTRACT_MODEL": "<EXTRACT_MODEL>"
}
}
}
}
{
"mcpServers": {
"cognitive-ai-memory": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/your-memory/cognitive-ai-memory:1.0.2"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>",
"OLLAMA_URL": "<OLLAMA_URL>",
"EXTRACT_MODEL": "<EXTRACT_MODEL>"
}
}
}
}
{
"servers": {
"cognitive-ai-memory": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/your-memory/cognitive-ai-memory:1.0.2"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>",
"OLLAMA_URL": "<OLLAMA_URL>",
"EXTRACT_MODEL": "<EXTRACT_MODEL>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
DATABASE_URLRequired | PostgreSQL connection string with pgvector. Example: postgresql://localhost:5432/yourmemory |
OLLAMA_URLOptional | Ollama server URL for local embeddings (nomic-embed-text) and classification (llama3.2:3b). Default: http://localhost:11434 |
EXTRACT_MODELOptional | Ollama model used for fact/assumption classification. Default: llama3.2:3b |
Details
| Package | ghcr.io/your-memory/cognitive-ai-memory:1.0.2 (OCI, stdio) |
| First published | 23 Mar 2026 |
| Last updated | 23 Mar 2026 |
| Registry name | io.github.sachitrafa/cognitive-ai-memory |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
