sachitrafa avatar

Cognitive Ai Memory

sachitrafa/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 tools

Public 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_URL

Ollama server URL for local embeddings (nomic-embed-text) and classification (llama3.2:3b). Default: http://localhost:11434

EXTRACT_MODEL

Ollama model used for fact/assumption classification. Default: llama3.2:3b

Readme

YourMemory

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.

PyPI PyPI Downloads Python License: CC BY-NC 4.0 GitHub Stars


View the full README on GitHub

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

More from sachitrafa

Related AI & LLM Tools MCP servers

View all
1taisly avatarTaisly Social Media Postingtaisly/agentPublish videos to TikTok, Reels, Shorts, X, and Facebook through Taisly.222stars
2slow-stack avatarMneme Memoryslow-stack/mnemeCross-session memory for AI coding agents via six tools; local-first SQLite store.211stars
3rlabs-inc avatarGemini Mcprlabs-inc/gemini-mcpGemini 3 MCP server with 30+ tools: images, video, research, TTS, code exec & CLI203stars
4yolfinance avatarYolfi Payments MCPyolfinance/yolfi-agentLet AI agents add Yolfi crypto checkout, paylinks, webhooks, and status checks.176stars
5khromov avatarSvelte Llm Mcpkhromov/svelte-llm-mcpAn MCP server that provides access to Svelte 5 and SvelteKit documentation161stars
6bingowon avatarMcp Serverbingowon/apple-rag-mcpApple developer docs and WWDC transcripts with RAG retrieval and Jev relevance ranking.119stars