Cognitive Ai Memory
Persistent memory for Claude with decay and recall, stored locally in DuckDB or Postgres.
- CCM score
- 81 of 100
- GitHub stars
- 275
- tools
- 3
- auth
- Required
- transport
- STDIO
- env vars
- 3
- last updated
- Mar 23, 2026
Own this MCP server? Claim it
What it does
- Reads memories with
recall_memory, ranked by similarity and decay strength, with a boost for path-matched entries - Writes with
store_memory(embeds, deduplicates, optional file or directory tags) andupdate_memory(re-embeds and logs changes to an audit trail) - Runs locally with no API key required, and setup needs a token registered from yourmemoryai.xyz
- Designed for agents that should keep context across sessions without re-explaining preferences or project history
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.
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
- Categories
- Memory & Context, AI Agents & LLM Apps
- Package
ghcr.io/your-memory/cognitive-ai-memory:1.0.2- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active
More from sachitrafa
All 2Similar to Cognitive Ai Memory
More Memory & ContextYourMemorysachitrafa275 starsPersistent memory store connecting AI agents to recall, write, and update tools with decay and graph linking.
Cludesebbsssss23 starsPortable agent memory with hybrid recall, decay, and export, stored locally or hosted.
Mneme Memoryslow-stack263 starsPersistent cross-session memory for AI coding agents, stored in a local SQLite database.
Memory Vaultmihaibuilds67 starsPersistent, self-hosted memory store on Postgres with pgvector and hybrid search.
Uteke - Long Term Memory for AI Agentscodecoradev294 starsLong-term memory for AI agents: hybrid vector and keyword recall, stored locally or via cloud.
Mem0mem0ai661 starsLong-term memory access via Mem0's hosted API: add, search, update, and delete memories.