YourMemory
YourMemory is an MCP server that uses biological forgetting curves to automatically prune stale data and reinforce useful context for Claude agents. It beats Mem0 by 16% on benchmarks and runs fully locally with zero LLM overhead via spaCy and SQLite
What is YourMemory?
YourMemory is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to yourmemory is an mcp server that uses biological forgetting curves to automatically prune stale data and reinforce useful context for claude agents. it beats mem0 by 16% on benchmarks and runs fully l...
YourMemory is an MCP server that uses biological forgetting curves to automatically prune stale data and reinforce useful context for Claude agents. It beats Mem0 by 16% on benchmarks and runs fully locally with zero LLM overhead via spaCy and SQLite
This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- YourMemory is an MCP server that uses biological forgetting
Use Cases
Maintainer
Works with
Installation
PIP
pip install yourmemoryManual Installation
pip install yourmemoryConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use YourMemory
YourMemory is a local-first MCP memory server that applies biological forgetting curves (the Ebbinghaus model) to automatically decay stale context and strengthen frequently recalled memories, giving AI agents persistent, self-managing long-term memory without any LLM inference overhead. It uses spaCy for semantic processing and SQLite for storage by default, with PostgreSQL available for team deployments, and has demonstrated a 16% benchmark improvement over Mem0. Developers and power users add it to their Claude workflows to give the assistant durable memory of preferences, project context, and important facts across sessions.
Prerequisites
- Python 3.11–3.14 installed
- pip or uv package manager
- A YourMemory account token (register at yourmemoryai.xyz with your email)
- An MCP-compatible client such as Claude Desktop
Install YourMemory
Install the yourmemory package from PyPI.
pip install yourmemoryRegister your account token
Visit yourmemoryai.xyz, enter your email, verify with the 6-digit code you receive, then copy your token and register it locally.
yourmemory-register YOUR_TOKEN_HERERun the setup wizard
Run the setup command to initialize local storage (SQLite by default in ~/.yourmemory/) and configure the server.
yourmemory-setupConfigure your MCP client
Add YourMemory to your claude_desktop_config.json so Claude can invoke the memory tools automatically.
{
"mcpServers": {
"yourmemory": {
"command": "yourmemory",
"args": []
}
}
}Restart Claude Desktop and verify
Restart the client. Claude will now automatically call recall_memory at the start of conversations and store_memory when it learns new facts about you.
YourMemory Examples
Client configuration
Claude Desktop configuration for YourMemory. No API key is required in the config — authentication was handled during yourmemory-register.
{
"mcpServers": {
"yourmemory": {
"command": "yourmemory",
"args": [],
"env": {
"YOURMEMORY_TELEMETRY": "off"
}
}
}
}Prompts to try
Example prompts to exercise YourMemory's three core tools: recall_memory, store_memory, and update_memory.
- "Remember that I prefer tabs over spaces and always use TypeScript strict mode."
- "What do you know about my current project setup?"
- "Update your memory: I've switched from PostgreSQL to SQLite for this project."
- "Recall everything you know about my coding preferences."Troubleshooting YourMemory
yourmemory-register command not found after install
Ensure pip installed to a location on your PATH. Try `python -m yourmemory register YOUR_TOKEN_HERE` or install with `pip install --user yourmemory` and add ~/.local/bin to your PATH.
Claude does not seem to recall memories from previous sessions
Check that the yourmemory server is listed and running in your MCP client's server panel. The recall_memory tool must be invoked at the start of sessions — you can prompt Claude explicitly: 'Please recall any relevant memories before we start.'
Setup fails with a database error
Ensure ~/.yourmemory/ is writable: `mkdir -p ~/.yourmemory && chmod 755 ~/.yourmemory`. Run `yourmemory-setup` again after fixing permissions.
Frequently Asked Questions about YourMemory
What is YourMemory?
YourMemory is a Model Context Protocol (MCP) server that yourmemory is an mcp server that uses biological forgetting curves to automatically prune stale data and reinforce useful context for claude agents. it beats mem0 by 16% on benchmarks and runs fully locally with zero llm overhead via spacy and sqlite It connects AI assistants to external tools and data sources through a standardized interface.
How do I install YourMemory?
Install via pip with: pip install yourmemory. Then configure your AI client to connect to this MCP server.
Which AI clients work with YourMemory?
YourMemory works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is YourMemory free to use?
Yes, YourMemory is open source and available under the Creative Commons Attribution Non Commercial 4.0 International license. You can use it freely in both personal and commercial projects.
YourMemory Alternatives — Similar Knowledge & Memory Servers
Looking for alternatives to YourMemory? Here are other popular knowledge & memory servers you can use with Claude, Cursor, and VS Code.
MemPalace
★ 52.6kA local AI memory system that stores all conversations verbatim and organizes them into navigable structures. It provides 19 MCP tools for AI assistants to search and retrieve past decisions, debugging sessions, and architecture debates automatically
Kratos
★ 25.7k🏛️ Memory System for AI Coding Tools - Never explain your codebase again. MCP server with perfect project isolation, 95.8% context accuracy, and the Four Pillars Framework.
Context Mode
★ 15.4kAn MCP server that preserves LLM context by intercepting large data outputs and returning only concise summaries or relevant sections. It enables efficient sandboxed code execution, file processing, and documentation indexing across multiple programm
Memu
★ 13.7kMemory for 24/7 proactive agents like OpenClaw.
MemOS
★ 9.3kMemOS (Memory Operating System) is a memory management operating system designed for AI applications. Its goal is: to enable your AI system to have long-term memory like a human, not only remembering what users have said but also actively invoking, u
Everos
★ 5.4kBuild, evaluate, and integrate long-term memory for self-evolving agents.
Browse More Knowledge & Memory MCP Servers
Explore all knowledge & memory servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up YourMemory in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use YourMemory?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.