✨ mem0 MCP Server: A memory system using mem0 for AI applications with model context protocl (MCP) integration. Enables long-term memory for AI agents as a drop-in MCP server.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mem0-mcp": {
"env": {
"MEM0_API_KEY": "YOUR_MEM0_API_KEY_HERE",
"DEFAULT_APP_ID": "your-app-id",
"DEFAULT_USER_ID": "user123",
"DEFAULT_AGENT_ID": "your-agent-id"
},
"args": [],
"command": "mem0-mcp",
"disabled": false,
"alwaysAllow": [
"add_memory",
"search_memory",
"delete_memory"
]
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server that integrates with Mem0.ai to provide persistent memory capabilities for LLMs. It allows AI agents to store and retrieve information across sessions.
This server supports HTTP transport. Be the first to test it — help the community know if it works.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @smithery/cli against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml / productivity
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Official Miro MCP server - Supports context to code and creating diagrams, docs, and data tables.
An open-source AI agent that brings the power of Gemini directly into your terminal.
MCP Security Weekly
Get CVE alerts and security updates for Mem0 Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
![]()
A Model Context Protocol (MCP) server that integrates with Mem0.ai to provide persistent memory capabilities for LLMs. It allows AI agents to store and retrieve information across sessions.
This server uses the mem0ai Node.js SDK for its core functionality.
add_memory: Stores a piece of text content as a memory associated with a specific userId.
content (string), userId (string)sessionId (string), agentId (string), appId (string), metadata (object)includes (string), excludes (string), infer (boolean), outputFormat (string), customCategories (object), customInstructions (string), immutable (boolean), expirationDate (string)search_memory: Searches stored memories based on a natural language query for a specific userId.
query (string), userId (string)sessionId (string), agentId (string), appId (string), filters (object), threshold (number)topK (number), fields (array), rerank (boolean), keywordSearch (boolean), filterMemories (boolean)delete_memory: Deletes a specific memory from storage by its ID.
memoryId (string), userId (string)agentId (string), appId (string)This server supports three storage modes:
Cloud Storage Mode ☁️ (Recommended for production)
MEM0_API_KEY environment variable)Supabase Storage Mode 🗄️ (Recommended for self-hosting)
SUPABASE_URL and SUPABASE_KEY environment variables)OPENAI_API_KEY environment variable) for embeddingsLocal Storage Mode 💾 (Development/testing only)
OPENAI_API_KEY environment variable)You can run this server in three main ways:
To install Mem0 Memory Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@pinkpixel-d