
Mem0 Long-Term Memory
by biojazzard
Persistent long-term memory for AI agents using Mem0, deployable via Docker with Ollama support.
What it does
This MCP server provides AI agents with a persistent, long-term memory layer based on mem0.ai. It allows agents to store, retrieve, and manage user preferences, historical context, and specific facts across different sessions, ensuring that the AI remembers previous interactions without relying solely on the limited context window.
Tools
memory_save: Stores specific information or facts into the long-term memory database.memory_get_all: Retrieves all stored memories in a contextual format for the agent to review.memory_search: Performs semantic search to find the most relevant memories based on a query.memory_delete: Removes specific memories from the database using a search query.
Installation
Run with Docker Compose:
docker compose up -d
Add to claude_desktop_config.json:
{
"mcpServers": {
"mem0": {
"transport": "sse",
"url": "http://localhost:8050/sse"
}
}
}
Supported hosts
- Claude Desktop
- VS Code
- Cursor
- Windsurf
Quick install
docker compose up -dInformation
- Pricing
- free
- Published
- 4/28/2026
- stars






