Mem0 MCP Server

Provides a Model Context Protocol server implementation for memory stream functionality with Mem0 integration.

Local serverstdioTypeScript 1

What is the Mem0 MCP server?

Most knowledge and memory work still happens through a UI a human drives. Mem0 MCP server moves it into the conversation instead. Provides a Model Context Protocol server implementation for memory stream functionality with Mem0 integration.

The short version

  • Create memory streams with Mem0 integration
  • Append content to memory streams
  • Search memories using Mem0's semantic search
  • Read from memory streams
  • Resource-based access to memory streams
  • Delete memory streams

Getting it running

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

The tools it exposes

The server publishes 12 tools. What each one is for:

  • Parameters — - name: string
  • initialContent — string (optional)
  • userId — string (optional) - Mem0 user ID
  • agentId — string (optional) - Mem0 agent ID
  • Returns — Stream ID and metadata
  • content — string
  • role — "user" | "assistant" (optional)
  • threshold — number (optional)
  • startIndex — number (optional)
  • endIndex — number (optional)
  • Tools — 1. create-memory-stream - Parameters: - name: string - initialContent: string (optional) - userId: string (optional) - Mem0 user ID - agentId: string
  • Resources — The Resources tool exposed by this server

What it needs from you

Configuration is passed through the environment: MEM0_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  1. Node.js and npm installed 2. Mem0 API key (get one from mem0.ai)

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 12 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Mem0.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How it compares

Among the knowledge and memory options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Mem0's toolset — Parameters, initialContent, userId and 9 more — is a fair guide to whether it matches your workflow. It is maintained by sadiuysal; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Mem0's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
Parameters- name: string
initialContentstring (optional)
userIdstring (optional) - Mem0 user ID
agentIdstring (optional) - Mem0 agent ID
ReturnsStream ID and metadata
contentstring
role"user" | "assistant" (optional)
thresholdnumber (optional)
startIndexnumber (optional)
endIndexnumber (optional)
Tools1. create-memory-stream - Parameters: - name: string - initialContent: string (optional) - userId: string (optional) - Mem0 user ID - agentId: string (optional) - Mem0 agent ID - Returns: Stream ID and metadata
ResourcesThe Resources tool exposed by this server.

Configuration

  1. Node.js and npm installed 2. Mem0 API key (get one from mem0.ai)
VariableDescriptionRequired
MEM0_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Mem0 to Parameters.
  • Use Mem0 to initialContent.
  • Use Mem0 to userId.

Frequently asked questions

It's a TypeScript implementation of a Model Context Protocol (MCP) server that uses Mem0 for memory stream functionality, including semantic search.