YourMemory
Persistent memory store connecting AI agents to recall, write, and update tools with decay and graph linking.
- CCM score
- 81 of 100
- GitHub stars
- 275
- tools
- 3
- transport
- STDIO
- env var
- 1
- last updated
- May 2, 2026
Own this MCP server? Claim it
What it does
- Reads memories with
recall_memory, using hybrid BM25 and vector retrieval plus entity graph expansion for top-k results - Writes and edits with
store_memoryandupdate_memory; exact duplicates bump recall counts and changes are logged to an audit trail - Requires a registration token from yourmemoryai.xyz and runs locally, with DuckDB by default or Postgres for shared use
- Designed for agents that need context to persist across sessions, with older unused memories fading over time
Tools
3 toolsPublic tool metadata for what this MCP can expose to an agent.
recall_memoryRecall relevant memories using hybrid BM25 + vector retrieval with entity graph expansion. Returns top-k memories ranked by relevance, with graph-expanded neighbours included.4 params
Recall relevant memories using hybrid BM25 + vector retrieval with entity graph expansion. Returns top-k memories ranked by relevance, with graph-expanded neighbours included.
current_pathstringquerystringtop_knumberuser_idstringstore_memoryStore a new memory. Automatically deduplicates, embeds, and indexes with BM25 and entity graph edges. Skips exact duplicates and bumps recall count instead.5 params
Store a new memory. Automatically deduplicates, embeds, and indexes with BM25 and entity graph edges. Skips exact duplicates and bumps recall count instead.
categorystringfact · strategy · assumption · failuredefault: factcontentstringimportancenumberuser_idstringvisibilitystringshared · privatedefault: sharedupdate_memoryUpdate an existing memory by ID. Re-embeds the new content, replaces the old memory, and logs the change to the audit trail.3 params
Update an existing memory by ID. Re-embeds the new content, replaces the old memory, and logs the change to the audit trail.
importancenumbermemory_idstringnew_contentstringConfiguration
PYTHONIOENCODINGSet to utf-8 to ensure correct text encoding on all platforms.
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/yourmemory
- Categories
- Memory & Context, AI Agents & LLM Apps
- Package
yourmemory- Transport
- STDIO
- Registry
- MCP registry, active
Questions
What tools does the YourMemory MCP server give an agent?
YourMemory exposes three tools: recall_memory, which returns relevant memories ranked by hybrid BM25 and vector retrieval with entity graph expansion, store_memory, which saves a new memory and skips exact duplicates, and update_memory, which replaces a memory by ID and logs the change to an audit trail. Memories decay over time and strengthen when they are recalled.
Does YourMemory need an API key or external account?
The listing names only one optional environment variable, PYTHONIOENCODING, which is not required and is meant to be set to utf-8 for correct text encoding. The README says the server runs entirely on your machine with no API key and nothing leaves your system.
How do I install the YourMemory MCP server?
The server is distributed as a PyPI package named yourmemory and runs over stdio, so it can be installed with pip install yourmemory. Once installed, it gives your agent persistent memory that carries across sessions.
Where does YourMemory rank among memory MCP servers?
YourMemory is in the Memory and Context category, where it ranks in the top 50 on the category page. Other servers listed alongside it in this category include Headroom, Basic Memory, obsidian-wiki and Deja Vu.
More from sachitrafa
All 2Similar to YourMemory
More Memory & ContextCognitive Ai Memorysachitrafa275 starsPersistent memory for Claude with decay and recall, stored locally in DuckDB or Postgres.
MCP AutoMemverygoodplugins67 starsPersistent graph-vector memory via FalkorDB and Qdrant: store, recall, relate, update, and delete memories.
Mem0mem0ai661 starsLong-term memory access via Mem0's hosted API: add, search, update, and delete memories.
Neural Memorynhadaututtheky246 starsPersistent cross-session memory for AI agents, offline, with spreading-activation recall.
XMemoyonro13 starsPersistent, governed memory for AI agents across tools, via MCP, CLI, and REST.
MCP Mem0coleam00686 starsPersistent agent memory via Mem0, with save, retrieve, and semantic search tools.