mem0-mcp-server

MAnders333/mem0-mcp-server

3.2

If you are the rightful owner of mem0-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The Memory MCP Server is a Model Context Protocol server that provides persistent memory capabilities using Mem0.

Memory MCP Server

A Model Context Protocol (MCP) server that provides persistent memory using Mem0.

Features

  • Add Memory: Store text with user ID and metadata.
  • Search Memory: Semantic search over stored memories.
  • Get All Memories: Retrieve all memories for a user.
  • Delete Memory: Remove specific memories.

Configuration

The server uses mem0 which supports various vector stores and LLMs. By default, it uses ChromaDB (local) and OpenAI (for embeddings/LLM).

Environment Variables

  • LLM_BASE_URL: Base URL for the LLM provider (optional, for proxies).
  • LLM_API_KEY: API key for the LLM provider.
  • OPENAI_API_KEY: Fallback if LLM_API_KEY is not set.

Development

# Install dependencies
uv sync

# Run server
uv run memory-mcp-server

Docker

docker build . -t memory-mcp-server
docker run -p 8000:8000 --env-file .env memory-mcp-server