Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Mem0 MCP server

by elvismdev/mem0-mcp-selfhostedMIT licenceAudited 7 Oct 2026 · source d67a3438492a

PyPI mem0-mcp-selfhostedssestdiostreamable-http★ 109
!CAUTIONGrade C · 79/100 · 7 Oct 2026 · d67a343
109GitHub stars

Is it safe? With care — CAUTION, grade C (79/100). It exposes 5 tools: 4 read, 0 write and 1 destructive. The audit recorded 11 findings (0 critical, 0 high, 5 medium, 6 low). Maintainer's description: 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.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Mem0 MCP server (elvismdev/mem0-mcp-selfhosted)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/elvismdev/mem0-12

5 MCP servers are called Mem0. You are viewing elvismdev/mem0-mcp-selfhosted. Compare all 5 →

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score79/100!CAUTION C
0 critical0 high5 medium6 low0 info

11 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared1 observation
  • NetworkDeclared2 observations
  • ShellNone observedNothing seen in the source
  • DependenciesPinnedNothing floats
  • SecretsFoundSee the findings

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 1 finding
L1 Static sourceSecrets, path traversal, supply chainWARN 9 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner elvismdevUser accountAccount type recorded when we read the repository.
  • PackagePublished on PyPImem0-mcp-selfhosted, no version recorded
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push7 months agoActivity of the repository when we read it.
  • Source commit readd67a3438492aThe audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory5 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (11)

Sorted by severity

MEDIUMHard-coded secretssecret.anthropic · tests/unit/test_llm_anthropic.py:129
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.anthropic · tests/unit/test_llm_anthropic.py:130
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.anthropic · tests/unit/test_llm_anthropic.py:487
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/unit/test_llm_anthropic.py:131
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_memory
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .coderabbit.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.coderabbit.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWNetwork egressnet.raw_ip · tests/unit/test_config.py:604
F-04 Network egressCWE-200 · CWE-319Layer L1
env = {"MEM0_LLM_PROVIDER": "ollama", "MEM0_OLLAMA_URL": "http://192.168.0.208:11434"}
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/unit/test_config.py:606
F-04 Network egressCWE-200 · CWE-319Layer L1
assert config_dict["llm"]["config"]["ollama_base_url"] == "http://192.168.0.208:11434"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/unit/test_config.py:612
F-04 Network egressCWE-200 · CWE-319Layer L1
"MEM0_OLLAMA_URL": "http://192.168.0.208:11434",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/unit/test_config.py:613
F-04 Network egressCWE-200 · CWE-319Layer L1
"MEM0_LLM_URL": "http://10.0.0.5:11434",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/unit/test_config.py:616
F-04 Network egressCWE-200 · CWE-319Layer L1
assert config_dict["llm"]["config"]["ollama_base_url"] == "http://10.0.0.5:11434"
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

5 declared in source · 1 destructive

4 read0 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
delete_memorydestructiveDelete a single memory.
get_memoryreadFetch a single memory by its ID.
list_entitiesreadList which users/agents/runs currently hold memories.
mcp_get_entityreadGet all relationships for a specific entity (bidirectional).
mcp_search_graphreadSearch entities by name/id substring matching in Neo4j knowledge graph.

Install

audited commit d67a343

Read the findings first. The most severe is Hard-coded secrets (medium) at tests/unit/test_llm_anthropic.py.

One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit d67a343 only.

claude mcp add mem0-mcp-selfhosted --env ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} --env GOOGLE_API_KEY=${GOOGLE_API_KEY} --env MEM0_ANTHROPIC_TOKEN=${MEM0_ANTHROPIC_TOKEN} -- uvx mem0-mcp-selfhosted

The command does not pin a version; the audit covers commit d67a3438492a. Transport: sse · stdio · streamable-http. Reads these environment variables: ANTHROPIC_API_KEY, GOOGLE_API_KEY, MEM0_ANTHROPIC_TOKEN. Give it the narrowest token it needs.

Audit history

  1. !CAUTION C 79 / 100

    First audit · d67a3438492a

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION CMODELSATLASCAUTION · C
[![ModelsAtlas: CAUTION C](https://modelsatlas.com/mcp/elvismdev/mem0-12/badge.svg)](https://modelsatlas.com/mcp/elvismdev/mem0-12/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Mem0 MCP server

What is the Mem0 MCP server?
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.
What tools does Mem0 expose?
5 in total: 4 read-only, 0 that write, and 1 that can delete or overwrite (delete_memory). Every one is listed on this page with its risk.
Is Mem0 safe to connect to an agent?
With care. The audit graded it C (79/100) and found 11 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Mem0 need?
It reads ANTHROPIC_API_KEY, GOOGLE_API_KEY and MEM0_ANTHROPIC_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Mem0 run?
It speaks sse, stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as mem0-mcp-selfhosted.
How current is this page?
The grade is for one exact copy of the source (d67a3438492a), read on 2026-10-07. The repository is watched and re-audited when it changes.
Which Mem0 MCP server is the right one?
mem0ai/mem0-mcp. 5 servers share the name; see the side-by-side comparison.

Sources

  • elvismdev/mem0-mcp-selfhosted on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit d67a3438492aObserved · 7 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.