Home/Directory/Data & Databases/Mem0 Selfhosted

Mem0 Selfhosted

@elvismdev · github.com/elvismdev/mem0-mcp-selfhosted

Self-hosted mem0 MCP server for Claude Code with Qdrant vector search, Neo4j knowledge graph, and Ollama embeddings.

ClaimedData & DatabasesstdioToolslocal auth
GitHub

Install one command

terminal
$ uvx automatically downloads, installs, and runs the server in an isolated environment, no manual installation needed. Claude Code launches it on demand when the MCP connection starts.

Or add it with the Claude CLI: claude mcp add elvismdev-mem0-mcp-selfhosted

Requires uvx (install via pip install uv)

Tools exposed 12 tools

add_memory
enable_graph
search_memories
get_memories
get_memory
update_memory
delete_memory
delete_all_memories
list_entities
delete_entities
search_graph
get_entity

Configuration generate & copy

Values are filled in locally in your browser — nothing is sent anywhere.

claude_desktop_config.json
{
  "mcpServers": {
    "elvismdev-mem0-mcp-selfhosted": {
      "command": "uvx",
      "args": ["automatically", "downloads,", "installs,", "and", "runs", "the", "server", "in", "an", "isolated", "environment,", "no", "manual", "installation", "needed.", "Claude", "Code", "launches", "it", "on", "demand", "when", "the", "MCP", "connection", "starts."],
      "env": {
        "MEM0_PROVIDER": "<your-mem0-provider>",
        "MEM0_USER_ID": "<your-mem0-user-id>",
        "MEM0_LLM_MODEL": "<your-mem0-llm-model>",
        "MEM0_ANTHROPIC_TOKEN": "<your-mem0-anthropic-token>",
        "ANTHROPIC_API_KEY": "<your-anthropic-api-key>",
        "MEM0_OAT_REFRESH_THRESHOLD_SECONDS": "<your-mem0-oat-refresh-threshold-seconds>",
        "MEM0_LLM_MAX_TOKENS": "<your-mem0-llm-max-tokens>",
        "GOOGLE_API_KEY": "<your-google-api-key>",
        "MEM0_QDRANT_API_KEY": "<your-mem0-qdrant-api-key>",
        "MEM0_NEO4J_PASSWORD": "<your-mem0-neo4j-password>"
      }
    }
  }
}

Paste the Claude Desktop snippet under mcpServers in your config, then restart Claude Desktop — or run the Claude Code command in your terminal.

Related

Similar servers

More in Data & Databases
Compare
@mindsdb

Connect and unify data across various platforms and databases with MindsDB as a single MCP server.

Data & DatabasesstdioRead-only no-auth
39.3k1w ago0 toolslocal
Install command unavailable — see repo
Compare
@mediar-ai

Local-first system capturing screen/audio with timestamped indexing, SQL/embedding storage, semantic search, LLM-powered history analysis, and event-triggered actions - enables building context-aware…

Data & DatabasesHTTPRead-only no-auth
19.2k5d ago1 toollocal
$npx screenpipe record
Compare
@topoteretes

Memory manager for AI apps and Agents using various graph and vector stores and allowing ingestion from 30+ data sources

Data & DatabasesstdioRead-only auth
17.8k5d ago0 toolslocal
$pip install cognee