Mem0 MCP Server vs Memory (Knowledge Graph)
A side-by-side comparison of two AI, Data & Knowledge servers — tools, transport, auth, maintenance, and copy-paste config for each.
| Mem0 MCP Server Archived official Mem0 server for long-term agent memory: add, search, update, and delete memories via the Mem0 API. Unverified stdio (local) API key Python | Memory (Knowledge Graph) Official MCP server providing persistent, file-backed knowledge-graph memory across sessions. Verified stdio (local) No auth TypeScript | |
|---|---|---|
| Category | AI, Data & Knowledge | AI, Data & Knowledge |
| Language | Python | TypeScript |
| Transport | stdio (local) | stdio (local) |
| Auth | API key | None |
| GitHub stars | 655 | 74k |
| Last commit | 3 months ago | 5 months ago |
| Verified | ||
| Actively maintained | ||
| Install | pip install mem0-mcp-server | npx -y @modelcontextprotocol/server-memory |
| Repo | Open | Open |
Verdict
Pick Mem0 MCP Server if you prefer its approach (archived official mem0 server for long-term agent memory: add, search, update, and delete memories via the mem0 api).
Pick Memory (Knowledge Graph) if you prefer the more popular, battle-tested option, and you want zero-setup with no API key.
Add Mem0 MCP Server
pip install mem0-mcp-serverPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"mem0-mcp-server": {
"command": "uvx",
"args": [
"mem0-mcp-server"
],
"env": {
"MEM0_API_KEY": "<your-mem0-api-key>",
"MEM0_DEFAULT_USER_ID": "<your-user-id>"
}
}
}
}Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.
Add Memory (Knowledge Graph)
npx -y @modelcontextprotocol/server-memoryPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"memory-knowledge-graph": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
],
"env": {
"MEMORY_FILE_PATH": "/absolute/path/to/memory.jsonl"
}
}
}
}FAQ
Mem0 MCP Server or Memory (Knowledge Graph) — which is better?
Pick Mem0 MCP Server if you prefer its approach (archived official mem0 server for long-term agent memory: add, search, update, and delete memories via the mem0 api). Pick Memory (Knowledge Graph) if you prefer the more popular, battle-tested option, and you want zero-setup with no API key.
Can I use both Mem0 MCP Server and Memory (Knowledge Graph)?
Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.
Do Mem0 MCP Server and Memory (Knowledge Graph) work with Claude, Cursor and Windsurf?
Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.