Mem0 MCP Selfhosted — AI skill for Claude Code
Self-hosted mem0 MCP server for Claude Code.
How to install Mem0 MCP Selfhosted
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open elvismdev/mem0-mcp-selfhosted and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Mem0 MCP Selfhosted does
Self-hosted mem0 MCP server for Claude Code. Run a complete memory server against self-hosted Qdrant + Neo4j + Ollama while using Claude as the main LLM.
Alternatives in AI
- Invisible Dots — Open-source, self-hosted alternative to OpenAI Dots, Meta Muse, Grok Bot, Manus Cue and Claude Cowork 31.8k ★
- Hindsight — State-of-the-art long-term memory for AI agents by Vectorize 6.7k ★
- Chat Ollama — ChatOllama is an open source agentic app for running AI agents across local and hosted models 3.5k ★
README
mem0-mcp-selfhosted
Self-hosted [mem0](https://github.com/mem0ai/mem0) MCP server for Claude Code. Run a complete memory server against self-hosted Qdrant + Neo4j + Ollama, with your choice of Anthropic (Claude) or Ollama as the main LLM.
Uses the `mem0ai` package directly as a library, supports both Claude's OAT token and fully local Ollama setups, and exposes 11 MCP tools for full memory management.
Prerequisites
| 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 [uv](https://docs.astral.sh/uv/getting-started/installation/).
**Authentication:** The default setup uses Claude (Anthropic) as the LLM for fact extraction. No API key needed, the server automatically uses your Claude Code session token. For fully local setups, set `MEM0_PROVIDER=ollama`. See [Authentication](#authentication) for advanced options.
Quick Start
Default (Anthropic)
Add the MCP server globally (available across all projects):
claude mcp add --scope user --transport stdio mem0 \
--env MEM0_USER_ID=your-user-id \
-- uvx --from git+https://github.com/elvismdev/mem0-mcp-selfhosted.git mem0-mcp-selfhosted
All defaults work out of the box: Qdrant on `localhost:6333`, Ollama embeddings on `localhost:11434` with `bge-m3` (1024 dims). Override any default via `--env` (see [Configuration](#configuration)).
`uvx` automatically downloads, installs, and runs the server in an isolated environment, no manual installation nee
Related Skills
Retriva
Self-hosted, production-ready RAG chatbot agent — upload documents, get accurate AI answers with citations, ag
Zenith
Self-hosted, local-first AI workspace on your own Ollama models — chat, a Claude-Code-class coding agent, deep
Archon Autonomous Workflows
Autonomous distributed AI agent platform — Gemma plans, Claude builds, self-corrects via retry loop with pgvec
Brainoutside
Self-hosted memory server for AI agents. Your brain is a git repo, served over MCP and REST.
Kenfold
Self-hosted memory server for AI agents. Share context across Claude Code, Codex, OpenCode, and ChatGPT over M
MxLore
Self-hosted MCP server for AI coding assistants. Persistent knowledge base with 45 tools, 12 skills, instituti
Related Agents
ZeroClaw Android
Run AI agents 24/7 on your Android phone. Native Rust core, 25+ providers (OpenAI, Claude, Gemini, Groq, DeepS
Agent Memory MCP Setup
Agent Memory MCP Server - Setup Complete ✅
Brain Infra
Infrastructure engineer for the org-brain POC — docker-compose, Neo4j plugins (APOC/GDS), Ollama + bge-m3, uv/