mem0 MCP Server logo

mem0 MCP Server

by sadiuysal

A TypeScript implementation of the Model Context Protocol (MCP) server for mem0, providing memory stream functionality with Mem0 integration. It allows you to create, append, search, read, and delete memory streams.

View on GitHub

Last updated: N/A

What is mem0 MCP Server?

The mem0 MCP Server is a TypeScript implementation of a Model Context Protocol (MCP) server designed to integrate with mem0, a platform for persistent memory storage and semantic search. It provides functionalities for managing memory streams, enabling applications to store, retrieve, and search contextual information.

How to use mem0 MCP Server?

To use the server, you need Node.js and npm installed. First, install the dependencies using npm install. Then, configure your Mem0 API key as an environment variable: export MEM0_API_KEY=your-api-key-here. Build the server using npm run build and start it with npm start. You can then use the provided API tools to interact with the server, such as creating streams, appending content, searching memories, reading streams, and deleting streams. The README provides details on the parameters and return values for each tool.

Key features of mem0 MCP Server

  • 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

Use cases of mem0 MCP Server

  • Building AI assistants with memory

  • Creating applications that require contextual information

  • Implementing semantic search capabilities

  • Managing and accessing memory streams programmatically

FAQ from mem0 MCP Server

What is Mem0?

Mem0 is a platform for persistent memory storage and semantic search.

How do I get a Mem0 API key?

You can get a Mem0 API key from mem0.ai.

What is MCP?

MCP stands for Model Context Protocol.

What programming language is the server written in?

The server is written in TypeScript.

How do I run the test client?

Run the test client using the command npm test.