Mem0 MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Mem0 MCP ServerRemember that my favorite color is blue."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π¨π³ δΈζζζ‘£
Mem0 MCP Server Setup
This is a local MCP server for Mem0, allowing you to store and search memories directly from Cursor.
Prerequisites
Python 3.10+
A Mem0 API Key (Get one at https://app.mem0.ai/)
Related MCP server: Mem0 MCP Server
Installation
Install Dependencies:
python3 -m venv venv source venv/bin/activate pip install -r requirements.txtConfigure API Key: π Recommended: Set
MEM0_API_KEYdirectly in theenvsection ofmcp.json(no .env file needed, see Cursor config below).Or use .env file:
Copy
.env.exampleto.env:cp .env.example .envOpen
.envand replaceyour_mem0_api_key_herewith your actual Mem0 API Key.
Cursor Configuration (mcp.json)
Add the following entry to your Cursor mcp.json file (usually located at ~/.cursor/mcp.json or accessible via Cursor Settings > MCP):
{
"mcpServers": {
"mem0": {
"command": "/Users/alexnear/Documents/mem0MCP/venv/bin/python",
"args": [
"/Users/alexnear/Documents/mem0MCP/server.py"
],
"env": {
"MEM0_API_KEY": "your_api_key_here"
}
}
}
}Note:
π Preferred: Set
MEM0_API_KEYdirectly in theenvsection ofmcp.json- FastMCP passes it to the server process automatically.Alternative: Use
.envfile (loaded viapython-dotenv). Ensure server runs from the directory containing.env.Ensure the python command points to the python environment where you installed the requirements (e.g., if you used a venv, point to
venv/bin/python).
Tools Provided
add_memory: Stores messages/interactions.search_memories: Semantically searches stored memories (v2).
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -license-quality-maintenanceProvides AI agents with persistent long-term memory capabilities using semantic search. Enables storing, retrieving, and searching memories through three core tools integrated with Mem0 and vector storage.Last updated
- Flicense-quality-maintenanceEnables persistent storage and semantic search of coding preferences, patterns, and implementations using Mem0, allowing AI agents to remember and retrieve development best practices across sessions.Last updated3
- AlicenseAquality-maintenanceEnables AI applications to add, search, update, and delete long-term memories using the Mem0 Memory API, allowing agents to persistently remember user preferences, conversation history, and contextual information across sessions.Last updated9
- Flicense-quality-maintenanceEnables persistent memory storage and retrieval for AI conversations using Mem0, with semantic search capabilities backed by local Postgres and Qdrant vector database.Last updated
Related MCP Connectors
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Persistent memory for AI agents. Search, store, and recall across sessions.
Hosted memory for AI agents that learns and forgets β one key across Claude, Cursor & ChatGPT.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alexcz-a11y/mem0MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server