YourMemory
local MCP serverYourMemory is a local MCP server: Persistent memory for AI agents. Memories decay with time and strengthen on recall. Install it from pypi as yourmemory.
Installation
Terminal
claude mcp add yourmemory -e PYTHONIOENCODING=... -- uvx yourmemory
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"yourmemory": {
"command": "uvx",
"args": [
"yourmemory"
],
"env": {
"PYTHONIOENCODING": "..."
}
}
}
}Fill in the environment variables with your own credentials.
What you need
- Runtime: Python with uv (runs with uvx).
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
- Environment variables:
PYTHONIOENCODING
Summary
Persistent memory for AI agents. Memories decay with time and strengthen on recall.
YourMemory vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| YourMemory | 270 | Local | Yes | pypi |
| cognitive-ai-memory | 270 | Local | Yes | oci |
| neural-memory | 240 | Local | No | npm |
| DeepMem | 114 | Hosted | Yes | None |
| Total Agent Memory | 72 | Local | No | pypi |
Questions
It reads one environment variable: PYTHONIOENCODING. Set them in your MCP config before starting the server.
Python with uv (runs with uvx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
YourMemory is a local MCP server distributed as the pypi package yourmemory.
Run: claude mcp add yourmemory -e PYTHONIOENCODING=... -- uvx yourmemory
Run: codex mcp add yourmemory --env PYTHONIOENCODING=... -- uvx yourmemory
Similar MCP servers
NameStars
- cognitive-ai-memoryio.github.sachitrafa/cognitive-ai-memory270
- neural-memoryio.github.nhadaututtheky/neural-memory240
- DeepMemio.github.deepmemteam/deepmem114
- Total Agent Memoryio.github.vbcherepanov/total-agent-memory72
- Montycat MCP - Shared Memory for AI Agentsio.github.MontyGovernance/montycat-mcp65
- enquire-mcpio.github.oomkapwn/enquire-mcp33
- genesys-memoryio.github.Astrix-Labs/genesys-memory29
- token-saviorio.github.Mibayy/token-savior1,157