Self-hosted mem0 MCP server for Claude Code with Qdrant vector search, Neo4j knowledge graph, and Ollama embeddings. Zero-config OAT auth, split-model graph routing, session hooks for automatic cross-session memory, and 11 tools. Supports both Anthropic and fully local Ollama setups.
Run the underlying MCP server directly — without Agent-CoreX routing.
npx -y mem0-mcp-selfhostedAgent-CoreX intelligently routes which tools from elvismdev/mem0-mcp-selfhosted your AI agent actually needs per request — reducing token usage and cost.
agent-corex.json
{
"mcpServers": {
"mem0-mcp-selfhosted": {
"command": "npx",
"args": [
"-y",
"mem0-mcp-selfhosted"
]
}
}
}Connect in 2 minutes. Only pay for the tools your agent actually uses.
Recommended: intelligent tool routing, lower costs
uvx agent-corex mcp add mem0-mcp-selfhostedAgent-CoreX selects only the tools your agent needs, cutting token usage by up to 60%.
Use elvismdev/mem0-mcp-selfhosted directly without routing
npx -y mem0-mcp-selfhostedNew to Agent-CoreX? View setup guide →