Skip to main content
Glama
zfy258

mem0-mcp-server

by zfy258

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MEM0_DIRNoWhere memory data is stored.~/.mem0
OPENAI_API_KEYNoSet to use OpenAI embeddings (1536 dims). If not set, the server falls back to FastEmbed, Ollama, or MockEmbeddings.
MEM0_LOCAL_OLLAMA_URLNoOllama base URL.http://localhost:11434
MEM0_LOCAL_OLLAMA_MODELNoOllama model name.nomic-embed-text
MEM0_LOCAL_FASTEMBED_MODELNoFastEmbed 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

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 7 tools

Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

Seven tools is well-scoped for a memory store, covering CRUD, search, and bulk deletion without redundancy or excessive granularity.

Completeness5/5

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.

Maintenance

ActivitySlowing
ResponsivenessNo issues