✨ 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
Dynamic problem-solving through sequential thought chains
Persistent memory using a knowledge graph
Workspace template + MCP server for Claude Code, Codex CLI, Cursor & Windsurf. Multi-agent knowledge engine (ag-refresh / ag-ask) that turns any codebase into a queryable AI assistant.
mini cli search engine for your docs, knowledge bases, meeting notes, whatever. Tracking current sota approaches while being all local
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 memory from text content or structured message arrays.
content (string) or messages (array of role/content objects), userId (string), runId / sessionId (string), agentId (string), appId (string), metadata (object), infer (boolean), customInstructions (string), waitForCompletion (boolean, default: true), timeoutMs (number, default: 15000)waitForCompletion: false to get the eventId immediately.search_memories: Searches memories using semantic and BM25 hybrid filters.
query (string), userId (string), runId / sessionId (string), agentId (string), appId (string), filters (object), threshold (number), topK (number), rerank (boolean), referenceDate (string)filters block to prevent API validation errors.search_memory: Backward-compatible alias for search_memories.list_memories: Paginated listing of memory records scoped by identifiers.
userId (string), runId / sessionId (string), agentId (string), appId (string), filters (object), page (number), pageSize (number)get_memory: Retrieves a single memory record by its ID.
memoryId (string)update_memory: Modifies the text or metadata of an existing memory.
memoryId (string), text (string), metadata (object)delete_memory: Deletes a specific memory record by ID.
memoryId (string)get_memory_history: Retrieves the audit trail of memory revisions (cloud only).
memoryId (string)get_memory_capabilities: Exposes the feature matrix and support flags of the active backend storage mode.
batch_update_memories: Performs bulk updates of text contents for multiple memories (cloud only).
updates (array of { memoryId: string, text: string } objects)batch_delete_memories: Performs bulk deletions of multiple memories.
memoryIds (array of strings), confirm (boolean, must be true to execute)rate_memory: Submits quality feedback evaluation for a memory record (cloud only).
memoryId (string), feedback (string: positive, negative, very_negative), reason (string, optional)