1. Conduid
  2. AI
  3. Mem0 MCP Selfhosted
MCP server · AI

Mem0 MCP Selfhosted

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.

70Good

Scored 20 hours ago · breakdown

About Mem0 MCP Selfhosted

Mem0 MCP Selfhosted is an MCP server published by elvismdev in the AI category: 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. Conduid read 13 tools from its source: add_memory, delete_all_memories, delete_entities, delete_memory, get_entity, get_memories and 7 more. No package is published for it, so it installs from a source checkout.

The repository has 112 stars and 47 forks, is licensed MIT, and its last commit was on 13 Mar 2026. The latest release is v0.3.2 (13 Mar 2026): Cache-bust Glama badge URL to force fresh camo proxy fetch (205ecf9) Detailed Changes: v0.3.1...v0.3.2. It follows v0.3.1 (12 Mar 2026), and the 5 most recent releases go back to v0.2.0 (28 Feb 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include ai-memory, knowledge-graph, mem0, memory, neo4j and ollama.

Install

From source
git clone https://github.com/elvismdev/mem0-mcp-selfhosted

Tools (13)

add_memoryStore text or conversation history as memories. Supports `enable_graph`, `infer`, `metadata`.
ParameterTypeDescription
agent_idstringAgent scope identifier.
enable_graphbooleanOverride default graph toggle for this call.
inferbooleanIf true (default), LLM extracts key facts. If false, stores raw text.
messagesarrayStructured conversation history (role/content dicts). When provided, takes precedence over text.
metadataobjectArbitrary metadata JSON to store alongside the memory.
run_idstringRun scope identifier.
text *stringText to store as a memory. Converted to messages format internally.
user_idstringUser scope identifier. Defaults to MEM0_USER_ID.
delete_all_memoriesBulk-delete all memories in a scope.
ParameterTypeDescription
agent_idstringAgent scope to delete.
run_idstringRun scope to delete.
user_idstringUser scope to delete.
delete_entitiesCascade-delete an entity and all its memories.
ParameterTypeDescription
agent_idstringAgent entity to delete.
run_idstringRun entity to delete.
user_idstringUser entity to delete (cascades to all memories).
delete_memoryDelete a single memory by UUID.
ParameterTypeDescription
memory_id *stringExact memory UUID to delete.
get_entityGet all relationships for an entity (bidirectional: incoming + outgoing).
get_memoriesList/filter memories (non-search). Supports `limit` and scope filters.
ParameterTypeDescription
agent_idstringAgent scope.
limitintegerMaximum number of memories to return.
run_idstringRun scope.
user_idstringUser scope. Defaults to MEM0_USER_ID.
get_memoryFetch a single memory by UUID.
ParameterTypeDescription
memory_id *stringExact memory UUID to fetch.
list_entitiesList users/agents/runs with memory counts. Uses Qdrant Facet API.
mcp_get_entityGet all relationships for a specific entity (bidirectional).
ParameterTypeDescription
name *stringExact entity name to look up.
mcp_search_graphSearch entities by name/id substring matching in Neo4j knowledge graph.
ParameterTypeDescription
query *stringEntity or topic to search for (e.g., 'Python', 'TypeScript').
search_graphSearch Neo4j entities by name substring. Returns entities + outgoing relationships.
search_memoriesSemantic search with optional `filters`, `threshold`, `rerank`, `enable_graph`.
ParameterTypeDescription
agent_idstringAgent scope.
enable_graphbooleanOverride default graph toggle.
filtersobjectAdditional structured filter clauses.
limitintegerMaximum number of results.
query *stringNatural language description of what to find.
rerankbooleanWhether to apply reranking.
run_idstringRun scope.
thresholdnumberMinimum relevance score (0.0-1.0).
user_idstringUser scope. Defaults to MEM0_USER_ID.
update_memoryReplace memory text. Re-embeds and re-indexes in Qdrant.
ParameterTypeDescription
memory_id *stringExact memory UUID to update.
text *stringReplacement text for the memory.

Security checks

Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 2.7K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
  • ✓No dynamic code executionScanned 11 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio, Streamable HTTP and HTTP with SSEsrc/mem0_mcp_selfhosted/server.py:490, src/mem0_mcp_selfhosted/server.py:488, src/mem0_mcp_selfhosted/server.py:486
Starts other programs
No calls that start other programs
Outbound network calls
3 callssrc/mem0_mcp_selfhosted/auth.py:152, src/mem0_mcp_selfhosted/auth.py:162
Writes or deletes files
2 callssrc/mem0_mcp_selfhosted/hooks.py:442, src/mem0_mcp_selfhosted/hooks.py:444
Lockfile
None in the repository

Pattern matches on the source text of 11 files: places to read, not proof of what the code does at run time.

Releases

v0.3.2v0.3.2 · 13 Mar 2026v0.3.2 (2026-03-13) Bug Fixes Cache-bust Glama badge URL to force fresh camo proxy fetch (`205ecf9`) Detailed Changes: v0.3.1...v0.3.2
v0.3.1v0.3.1 · 12 Mar 2026v0.3.1 (2026-03-12) Bug Fixes Add .python-version for Glama uv sync compatibility (`e4d1f09`) Pin Python 3.12 so uv sync resolves the correct interpreter in Glama's Docker build environment instead of picking up Debian's externally-managed…
v0.3.0v0.3.0 · 12 Mar 2026v0.3.0 (2026-03-12) Features Lazy Memory init + Glama submission packaging (`c6f2b76`) Defer Memory.from_config() to the first tool call via _ensure_memory(), allowing the MCP server to respond to initialize/tools/list without live…
v0.2.1v0.2.1 · 28 Feb 2026v0.2.1 (2026-02-28) Bug Fixes Update hooks to nested format for Claude Code schema compatibility (`2f86dee`) Migrate hook installer from the deprecated flat format to the current nested schema (matcher group -> hooks array -> handler…
v0.2.0v0.2.0 · 28 Feb 2026v0.2.0 (2026-02-28) Features Add Claude Code session hooks for cross-session memory (`113df26`) Add SessionStart and Stop hooks that give Claude Code automatic cross-session memory without requiring CLAUDE.md rules or manual tool calls.…

README

The repository's README runs to about 2.7K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Mem0 MCP Selfhosted

How do I install Mem0 MCP Selfhosted?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Mem0 MCP Selfhosted safe to use with an AI agent?

Its trust score is 70 out of 100 (good). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Conduid's scan of 11 source files found that it serves MCP over stdio, Streamable HTTP and HTTP with SSE, makes outbound network calls (3 calls) and writes or deletes files (2 calls). It has no ConduID identity yet, so agent calls to it are not receipted.

Is Mem0 MCP Selfhosted still maintained?

The last commit was 8 months ago and 14 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does Mem0 MCP Selfhosted provide?

Conduid read 13 tools from the source: add_memory, delete_all_memories, delete_entities, delete_memory, get_entity, get_memories, get_memory, list_entities and 5 more. 10 of them publish their parameters, listed under Tools above.

What license is Mem0 MCP Selfhosted released under?

The repository declares the MIT license. That applies to the latest release, v0.3.2, as well.