MCP server · Audited from source
Mem0 MCP server
by elvismdev/mem0-mcp-selfhostedMIT licenceAudited 7 Oct 2026 · source d67a3438492a
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.
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 →
- mem0ai/mem0-mcp Org-owned★ 662!CAUTION
- pinkpixel-dev/mem0-mcp Org-owned★ 97!CAUTION
- coleam00/mcp-mem0★ 684✓SAFE
- elvismdev/mem0-mcp-selfhosted★ 109!CAUTION
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 1 finding |
L1 Static source | Secrets, path traversal, supply chain | WARN 9 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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 PyPI
mem0-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
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
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
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
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
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
LOWNetwork egressnet.raw_ip · tests/unit/test_config.py:604
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
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
"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
"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
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
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.
| Tool | Risk | What it does |
|---|---|---|
delete_memory | destructive | Delete a single memory. |
get_memory | read | Fetch a single memory by its ID. |
list_entities | read | List which users/agents/runs currently hold memories. |
mcp_get_entity | read | Get all relationships for a specific entity (bidirectional). |
mcp_search_graph | read | Search 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{
"mcpServers": {
"mem0-mcp-selfhosted": {
"command": "uvx",
"args": [
"mem0-mcp-selfhosted"
],
"env": {
"ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}",
"GOOGLE_API_KEY": "${GOOGLE_API_KEY}",
"MEM0_ANTHROPIC_TOKEN": "${MEM0_ANTHROPIC_TOKEN}"
}
}
}
}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
- !CAUTION C 79 / 100
First audit ·
d67a3438492a
README badge
For maintainers · updates on every re-audit
[](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?
What tools does Mem0 expose?
Is Mem0 safe to connect to an agent?
What credentials does Mem0 need?
How does Mem0 run?
How current is this page?
Which Mem0 MCP server is the right one?
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.
- What is the Mem0 MCP server?
- What tools does Mem0 expose?
- Is Mem0 safe to connect to an agent?