MCP-Mem0: Your Gateway to Long-Term Agent Memory 🚀
@yellnuts
About MCP-Mem0: Your Gateway to Long-Term Agent Memory 🚀
MCP server for long term agent memory with Mem0. Also useful as a template to get you started building your own MCP server with Python!
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-mem0-yellnuts": {
"command": "python",
"args": [
"server.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP-Mem0?
MCP-Mem0 is a Python-based server for managing long-term agent memory using Mem0. It also serves as a template for building custom MCP servers. It targets developers who need persistent memory storage for AI agents.
How to use MCP-Mem0?
Clone the repository, install dependencies with pip install -r requirements.txt, and run python server.py. The server starts on http://localhost:5000 and exposes HTTP endpoints for creating, retrieving, and deleting memories. Configuration can be adjusted in config.json.
Key features of MCP-Mem0
- Long-term memory storage and retrieval for agents
- Python‑based, easy to customize and extend
- Lightweight with minimal resource requirements
- Serves as a template for building new MCP servers
- Configurable memory expiry, logging, and port
Use cases of MCP-Mem0
- Persist conversation history for conversational AI agents
- Maintain context across sessions in multi‑turn agent applications
- Serve as a foundation for prototyping custom MCP servers
- Experiment with memory management in research projects
FAQ from MCP-Mem0
What does MCP-Mem0 do?
It provides a server that stores and retrieves long‑term memories for agents via HTTP requests, using the Mem0 system.
What are the system requirements?
Python 3.6 or higher and the packages listed in requirements.txt. No other runtime dependencies are specified.
How do I start the server?
After installing dependencies, run python server.py from the repository root. The server will listen on port 5000 by default.
What API endpoints are available?
Three main endpoints: POST /memory to create a memory, GET /memory/{agent_id} to retrieve it, and DELETE /memory/{agent_id} to delete it.
Can I configure memory expiry?
Yes. Edit the config.json file in the root directory to set parameters like memory_expiry, logging_level, and port.
Frequently asked questions
What does MCP-Mem0 do?
It provides a server that stores and retrieves long‑term memories for agents via HTTP requests, using the Mem0 system.
What are the system requirements?
Python 3.6 or higher and the packages listed in `requirements.txt`. No other runtime dependencies are specified.
How do I start the server?
After installing dependencies, run `python server.py` from the repository root. The server will listen on port 5000 by default.
What API endpoints are available?
Three main endpoints: `POST /memory` to create a memory, `GET /memory/{agent_id}` to retrieve it, and `DELETE /memory/{agent_id}` to delete it.
Can I configure memory expiry?
Yes. Edit the `config.json` file in the root directory to set parameters like `memory_expiry`, `logging_level`, and `port`.
Basic information
More AI & Agents MCP servers

Transform MCP
UnstructuredThe Unstructured Transform MCP Server connects your ADK agent to Unstructured, a document processing platform that turns raw files into structured, AI-ready data. This integration gives your agent the ability to parse PD

scvd.store
seancrecordThe trust layer of the x402 economy. Free conformance checking for any issuer's x402 signed offers and receipts. Settlement attestation on Base and Solana. Weekly signed, Bitcoin-anchored ecosystem corpus.

Hypnothera
La-SalidaAgent skill: turn what your AI assistant knows about you into a personalized hypnosis session on hypnothera.ai

Agentery
ntlgncFree MCP for live and historical pricing for 13,000+ agents and MCPs. Never knowingly pay too much... or charge too little. Know the going rate. https://agentery.com.

q-ring
I4cTimeQuantum-inspired keyring for AI coding agents. Secure secrets with superposition, entanglement, tunneling, and teleportation — CLI + 44 MCP tools.
Comments