Back to MCP Servers
🔌

elvismdev/mem0-mcp-selfhosted

MITAPI key required

](https://glama.ai/mcp/servers/elvismdev/mem0-mcp-selfhosted) 🐍 🏠 🍎 🪟 🐧 - Self-hosted mem0 MCP server for Claude Code with Qdrant vector search, Neo4j knowledge graph, and Ollama embeddings. Zero

PythonSearch

Install

uvx --from

Required environment variables

MEM0_ANTHROPIC_TOKENSet in your MCP config
ANTHROPIC_API_KEYSet in your MCP config
MEM0_LLM_MAX_TOKENSet in your MCP config
GOOGLE_API_KEYSet in your MCP config
MEM0_QDRANT_API_KEYSet in your MCP config

claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "elvismdev-mem0-mcp-selfhosted": {
      "command": "uvx",
      "args": [
        "--from"
      ],
      "env": {
        "MEM0_ANTHROPIC_TOKEN": "<YOUR_MEM0_ANTHROPIC_TOKEN>",
        "ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>",
        "MEM0_LLM_MAX_TOKEN": "<YOUR_MEM0_LLM_MAX_TOKEN>",
        "GOOGLE_API_KEY": "<YOUR_GOOGLE_API_KEY>",
        "MEM0_QDRANT_API_KEY": "<YOUR_MEM0_QDRANT_API_KEY>"
      }
    }
  }
}

Add this to your Claude Desktop config file. Find it at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS.