Self-hosted [mem0](https://github.com/mem0ai/mem0) MCP server for Claude Code. Run a complete memory server against self-hosted Qdrant + Neo4j +
Self-hosted mem0 MCP server for Claude Code. Run a complete memory server against self-hosted Qdrant + Neo4j + Ollama, with your
| Service | Required | Purpose | |---------|----------|---------| | Qdrant | Yes | Vector memory storage and search | | Ollama | Yes | Embedding generation (bge-m3) and optionally local LLM | | Neo4j 5+ | Optional | Knowledge graph (entity relationships) | | Google API Key | Optional | Required only for gemini/gemini_split graph providers | Python >= 3.10 and
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| add_memory | Store text or conversation history as memories. Supports enable_graph, infer, metadata. |
| search_memories | Semantic search with optional filters, threshold, rerank, enable_graph. |
| get_memories | List/filter memories (non-search). Supports limit and scope filters. |
| get_memory | Fetch a single memory by UUID. |
| update_memory | Replace memory text. Re-embeds and re-indexes in Qdrant. |
| delete_memory | Delete a single memory by UUID. |
| delete_all_memories | Bulk-delete all memories in a scope. |
| list_entities | List users/agents/runs with memory counts. Uses Qdrant Facet API. |
| delete_entities | Cascade-delete an entity and all its memories. |
| search_graph | Search Neo4j entities by name substring. Returns entities + outgoing relationships. |
| get_entity | Get all relationships for an entity (bidirectional: incoming + outgoing). |
{
"mcpServers": {
"mem0": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/elvismdev/mem0-mcp-selfhosted.git",
"mem0-mcp-selfhosted"
],
"env": {
"MEM0_PROVIDER": "ollama",
"MEM0_LLM_MODEL": "qwen3:14b",
"MEM0_USER_ID": "your-user-id"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Service | Required | Purpose | |---------|----------|---------| | Qdrant | Yes | Vector memory storage and search | | Ollama | Yes | Embedding generation (bge-m3) and optionally local LLM | | Neo4j 5+ | Optional | Knowledge graph (entity relationships) | | Google API Key | Optional | Required only for gemini/gemini_split graph providers | Python >= 3.10 and
| Variable | Description | Required |
|---|---|---|
| MEM0_PROVIDER | Declared in the maintainer’s client configuration. | Check documentation |
| MEM0_LLM_MODEL | Declared in the maintainer’s client configuration. | Check documentation |
| MEM0_USER_ID | Declared in the maintainer’s client configuration. | Check documentation |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Use Microsoft’s Playwright MCP server to navigate pages, inspect accessibility snapshots, fill forms and capture browser screenshots.
Connect GitHub MCP to repositories, issues and pull requests with GitHub’s hosted service or a locally run server.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Search Linear issues and projects, inspect work context and manage updates through Linear’s hosted MCP server with OAuth.