In-depth architectural comparison of the Mem0 MCP Selfhosted and Memory Os Cli MCP servers. Compare execution transports, security boundaries, tool capabilities, quality scores, and ready-to-paste client installation snippets for Claude, Cursor, Windsurf, and VS Code.
At a Glance & Executive Verdict
Mem0 MCP Selfhosted
Knowledge & Memory · Local stdio
Quality: 57/100 (Good) | Auth: other
Memory Os Cli
Knowledge & Memory · Local stdio
Quality: 61/100 (Good) | Auth: other
Verdict Summary: Choose Mem0 MCP Selfhosted if you need specialized Knowledge & Memory tools running via a local process. Choose Memory Os Cli if your workspace requires Knowledge & Memory integration with local subprocess execution. Both servers can be configured concurrently in your client's mcpServers manifest.
Which MCP Server Should You Choose?
Choose Mem0 MCP Selfhosted when:
You need dedicated capabilities in the Knowledge & Memory domain.
You prefer local stdio subprocess transport architecture.
Your security boundary fits: other (Free / Open Source).
Self-hosted mem0 MCP server for Claude Code with Qdrant vector search, Neo4j knowledge graph, and Ollama embeddings. Zero-config OAT auth, split-model graph routing, session hooks for automatic cross-session memory, and 11 tools. Supports both Anthropic and fully local Ollama setups.
XMemo is user-owned memory for AI agents over a hosted Streamable HTTP MCP endpoint. Save, search, recall, and manage scoped memories across Copilot, Claude, ChatGPT, IDEs, and CLIs. https://xmemo.dev/mcp
Category & Scope
Tools & Capabilities Breakdown
Mem0 MCP Selfhosted Tools (11)
add_memory
Store text or conversation history as memories. Supports `enable_graph`, `infer`, `metadata`.
search_memories
Semantic search with optional `filters`, `threshold`, `rerank`, `enable_graph`.
get_memories
List/filter memories (non-search). Supports `limit` and scope filters.
get_memory
Fetch a single memory by UUID.
update_memory
Replace memory text. Re-embeds and re-indexes in Qdrant.
delete_memory
Delete a single memory by UUID.
Ready-to-Paste Client Configurations
Paste either (or both) of these JSON server blocks into your client config file (e.g. claude_desktop_config.json or ~/.cursor/mcp.json).
Mem0 MCP Selfhosted is categorized under Knowledge & Memory and uses a local stdio subprocess. In contrast, Memory Os Cli belongs to Knowledge & Memory using local stdio subprocess. Select Mem0 MCP Selfhosted when you need capabilities focused on knowledge & memory and Memory Os Cli when you require tools for knowledge & memory.
List users/agents/runs with memory counts. Uses Qdrant Facet API.
delete_entities
Cascade-delete an entity and all its memories.
search_graph
Search Neo4j entities by name substring. Returns entities + outgoing relationships.
get_entity
Get all relationships for an entity (bidirectional: incoming + outgoing).
Memory Os Cli Tools (20)
get_mcp_identity
Check XMemo connection status and the connected account/agent.
remember
Save a memory so it can be recalled in future conversations.
recall
Recall the most relevant saved memories before answering.
recall_context
Read a multi-memory context pack. Requires memory:read and does not change content. Use when many memories need explicit budgets; use recall for lightweight answer or get_project_context for project snapshot. max_items/max_tokens bound rendered output.
memory_stats
Show aggregate statistics for XMemo memories.
update_memory
Update the content or metadata of an existing memory.
explain_memory
Explain why a memory exists or matched a query.
restore_memory
Restore a previously deleted memory.
add_expense
Create one XMemo Ledger transaction and backing memory. Requires memory:write; it records a new transaction or reuses a semantic duplicate, and never deletes Ledger records. Use it for a purchase, income, refund, or transfer; use list_ledger_transactions or get_monthly_ledger_summary for reads. amount must be positive; transaction_type defaults to expense; blank transaction_date uses today's UTC date.