Mem0 MCP Selfhosted
by elvismdev
Self-hosted memory MCP server using Qdrant, Neo4j, Ollama, and optional Anthropic models for persistent agent context.
Install Mem0 MCP Selfhosted
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"elvismdev-mem0-mcp-selfhosted": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/elvismdev/mem0-mcp-selfhosted.git",
"mem0-mcp-selfhosted"
],
"env": {
"MEM0_USER_ID": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
We couldn’t confirm it starts correctly
We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
uvx --from git+https://github.com/elvismdev/mem0-mcp-selfhosted.git mem0-mcp-selfhostedNo response to initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Persist project conventions across Claude Code sessions
- Search prior conversations for relevant development context
- Build entity relationships alongside semantic memories
- Run memory extraction entirely with local Ollama models
Key features
- Qdrant-backed semantic memory search
- Optional Neo4j entity relationships
- Ollama bge-m3 embeddings
- Anthropic or fully local Ollama model support
- Claude Code session-start and session-stop hooks
- 11 memory and graph management tools
Tools11
What Mem0 MCP Selfhosted lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 5d ago via OSV.dev · mem0-mcp-selfhosted (PyPI)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Mem0 MCP Selfhosted works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Mem0 MCP Selfhosted
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/elvismdev-mem0-mcp-selfhosted)<a href="https://allmcps.com/mcp/elvismdev-mem0-mcp-selfhosted"><img src="https://allmcps.com/api/badge/elvismdev-mem0-mcp-selfhosted?style=directory" alt="Mem0 MCP Selfhosted on AllMCPs" /></a>