
Cognitive Ai Memory
Gives Claude a memory layer that behaves like human memory, based on the Ebbinghaus forgetting curve. Memories strengthen when recalled and naturally decay over time unless they're marked important. The system deduplicates facts by subject, links related memories through an entity graph, and prunes stale context automatically. It's stdio-based, runs on SQLite by default, and plugs into Claude Desktop, Cursor, Cline, or Windsurf with a one-command setup. Exposes MCP tools for storing, searching, and managing memories, plus a browser dashboard at localhost:3033 for viewing strength scores and recall history. Benchmarks show 89% recall on LongMemEval and 2x better performance than Zep Cloud on multi-session conversations. Reach for this when you want Claude to remember preferences and context across conversations without manual prompting.
- GitHub stars
- 244
- tools
- 3
- auth
- Required
- transport
- STDIO
- env vars
- 3
- last updated
- Mar 23, 2026
Tools
3 toolsPublic tool metadata for what this MCP can expose to an agent.
recall_memorySurfaces memories ranked by similarity × decay strength; spatial boost for path-matched memories
Surfaces memories ranked by similarity × decay strength; spatial boost for path-matched memories
No parameter schema in public metadata yet.
store_memoryEmbeds, deduplicates, stores with decay; tags optional file/dir paths
Embeds, deduplicates, stores with decay; tags optional file/dir paths
No parameter schema in public metadata yet.
update_memoryRe-embeds and replaces; logs the change to the audit trail
Re-embeds and replaces; logs the change to the audit trail
No parameter schema in public metadata yet.
Sponsors
Configuration
DATABASE_URL*PostgreSQL connection string with pgvector. Example: postgresql://localhost:5432/yourmemory
OLLAMA_URLOllama server URL for local embeddings (nomic-embed-text) and classification (llama3.2:3b). Default: http://localhost:11434
EXTRACT_MODELOllama model used for fact/assumption classification. Default: llama3.2:3b
Readme
YourMemory
Your AI has the memory of a goldfish. Not anymore.
Persistent, self-improving memory for AI agents — built on the science of how humans remember.
Details
- Repository
- github.com/sachitrafa/cognitive-ai-memory
- Category
- AI & LLM Tools
- Package
ghcr.io/your-memory/cognitive-ai-memory:1.0.2- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active