mem0-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MEM0_DIR | No | Where memory data is stored. | ~/.mem0 |
| OPENAI_API_KEY | No | Set to use OpenAI embeddings (1536 dims). If not set, the server falls back to FastEmbed, Ollama, or MockEmbeddings. | |
| MEM0_LOCAL_OLLAMA_URL | No | Ollama base URL. | http://localhost:11434 |
| MEM0_LOCAL_OLLAMA_MODEL | No | Ollama model name. | nomic-embed-text |
| MEM0_LOCAL_FASTEMBED_MODEL | No | FastEmbed model name. | BAAI/bge-small-zh-v1.5 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| add_memoryA | Store a memory in the local OSS Mem0 store. By default the text is stored verbatim with no LLM call (offline, free). Set infer=true to run Mem0's LLM fact extraction (requires a configured LLM). |
| search_memoriesB | Search memories by semantic similarity. Uses local embeddings. |
| get_memoriesA | List stored memories, newest first, with optional user/agent filters. |
| get_memoryB | Retrieve a single memory by its ID. |
| update_memoryB | Overwrite the text (and optionally metadata) of a memory by ID. |
| delete_memoryA | Delete a single memory by ID. |
| delete_all_memoriesA | Delete all memories for a user and/or agent. At least one scope is required. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool targets a distinct operation: add, search, list, get by ID, update, delete, and bulk delete. The singular get_memory and plural get_memories are clearly differentiated by their descriptions.
All tools follow a consistent snake_case verb_noun pattern (e.g., add_memory, search_memories, delete_all_memories), with appropriate singular/plural forms matching their semantics.
Seven tools is well-scoped for a memory store, covering CRUD, search, and bulk deletion without redundancy or excessive granularity.
The surface provides full lifecycle coverage: create (add), read (list, get by ID, search), update, and delete (single and all). No obvious gaps for the stated purpose.