Store and retrieve persistent memories for AI agents with time-based decay and recall strengthening. Ideal for developers building stateful AI systems that need long-term context retention.
io.github.sachitrafa/yourmemory
Local install
STDIO
No auth required
How models use it and what it is built for.
Store and retrieve persistent memories for AI agents with time-based decay and recall strengthening. Ideal for developers building stateful AI systems that need long-term context retention.
Local install — runs as a subprocess.
Configuration this server reads at startup.
Set to utf-8 to ensure correct text encoding on all platforms.
Where to find authoritative docs and source for YourMemory.
Paste any of these into Agent Studio after connecting YourMemory.
Common questions about connecting and running YourMemory.
What is memory decay and how does it work in this server?
Memories automatically decay in strength over time unless recalled. When you retrieve a memory, its strength increases, making it persist longer. This mimics human memory behavior where frequently accessed information stays fresher.
How do I install and run the yourmemory MCP server?
Install via `uvx yourmemory@1.4.18`. The server uses stdio transport. Ensure PYTHONIOENCODING is set to utf-8 for correct text encoding across all platforms.
Can I use this for multi-turn conversations with persistent context?
Yes. The server stores memories that persist across sessions, allowing AI agents to maintain context and learn from past interactions. Recall strengthens memories, making important context more durable.
What encoding does this server support?
The server supports UTF-8 encoding. Set the PYTHONIOENCODING environment variable to utf-8 to ensure correct text handling on all platforms, especially Windows.
How is this different from simple key-value storage?
Unlike static storage, yourmemory implements time-based decay and recall-based strengthening. Memories naturally fade unless actively used, creating a more realistic and efficient memory model for long-running agents.
MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 60+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.
Open Agent StudioJudges Panel
45 judges that evaluate AI-generated code for security, cost, and quality with built-in AST.
Addozhang Nexus
Query Sonatype Nexus Repository (OSS/Pro) for Maven, Python, and Docker artifacts
Cyanheads MCP Ts Template
TypeScript template for building MCP servers with declarative tooling, observability, and auth.
Chernistry Bernstein
Declarative agent orchestration for engineering teams