M

Mem0 (Long Term Memory)

MCP-Mem0 is a template implementation that provides long-term memory functions for AI agents, integrating the Model Context Protocol (MCP) server and Mem0, supporting memory storage, retrieval, and semantic search.
3.5 points
209

What is MCP-Mem0?

MCP-Mem0 is a server based on the Model Context Protocol (MCP) standard, specifically designed for AI agents to provide long-term memory storage and management capabilities. It allows AI to remember important information and retrieve it quickly when needed.

How to use MCP-Mem0?

You can let AI agents store memories through simple API calls, and then retrieve all memories at any time or find relevant memories through semantic search.

Applicable Scenarios

Suitable for scenarios such as AI assistants that require long-term memory, personalized chatbots, and intelligent customer service systems, helping AI remember user preferences and historical conversations.

Main Features

Memory StorageStore any information in the long-term memory library and automatically establish semantic indexes
Memory RetrievalRetrieve all stored memories to provide a complete context for AI
Semantic SearchFind the most relevant memories through natural language queries

Advantages and Limitations

Advantages
Follow the MCP standard and be compatible with various MCP clients
Support semantic search to improve memory relevance
Provide Docker containerized deployment to simplify installation
Limitations
Require PostgreSQL database support
Rely on external LLM APIs for semantic processing
Initial configuration requires setting environment variables

How to Use

Installation Preparation
Ensure that Python 3.12+ or Docker is installed and prepare a PostgreSQL database
Configure the Environment
Copy the .env.example file to .env and fill in your configuration information
Install Dependencies
Use uv or pip to install the required dependency packages
Run the Server
Select the SSE or Stdio transmission method to start the server

Usage Examples

Personalized ChatbotLet the chatbot remember user preferences and provide personalized responses
Intelligent Task ManagementRemember the user's task arrangements and deadlines

Frequently Asked Questions

Which LLM providers does MCP-Mem0 support?
How to connect to an existing PostgreSQL database?
What is the difference between the SSE and Stdio transmission methods?

Related Resources

Model Context Protocol Official Website
Official documentation of the MCP protocol
Mem0 Official Website
Introduction to the Mem0 memory service
GitHub Repository
Project source code
Installation
Copy the following command to your Client for configuration
{
  "mcpServers": {
    "mem0": {
      "transport": "sse",
      "url": "http://localhost:8050/sse"
    }
  }
}

> {
>   "mcpServers": {
>     "mem0": {
>       "transport": "sse",
>       "serverUrl": "http://localhost:8050/sse"
>     }
>   }
> }
>

{
  "mcpServers": {
    "mem0": {
      "command": "your/path/to/mcp-mem0/.venv/Scripts/python.exe",
      "args": ["your/path/to/mcp-mem0/src/main.py"],
      "env": {
        "TRANSPORT": "stdio",
        "LLM_PROVIDER": "openai",
        "LLM_BASE_URL": "https://api.openai.com/v1",
        "LLM_API_KEY": "YOUR-API-KEY",
        "LLM_CHOICE": "gpt-4o-mini",
        "EMBEDDING_MODEL_CHOICE": "text-embedding-3-small",
        "DATABASE_URL": "YOUR-DATABASE-URL"
      }
    }
  }
}

{
  "mcpServers": {
    "mem0": {
      "command": "docker",
      "args": ["run", "--rm", "-i", 
               "-e", "TRANSPORT", 
               "-e", "LLM_PROVIDER", 
               "-e", "LLM_BASE_URL", 
               "-e", "LLM_API_KEY", 
               "-e", "LLM_CHOICE", 
               "-e", "EMBEDDING_MODEL_CHOICE", 
               "-e", "DATABASE_URL", 
               "mcp/mem0"],
      "env": {
        "TRANSPORT": "stdio",
        "LLM_PROVIDER": "openai",
        "LLM_BASE_URL": "https://api.openai.com/v1",
        "LLM_API_KEY": "YOUR-API-KEY",
        "LLM_CHOICE": "gpt-4o-mini",
        "EMBEDDING_MODEL_CHOICE": "text-embedding-3-small",
        "DATABASE_URL": "YOUR-DATABASE-URL"
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.
N
Notte Browser
Certified
Notte is an open-source full-stack network AI agent framework that provides browser sessions, automated LLM-driven agents, web page observation and operation, credential management, etc. It aims to transform the Internet into an agent-friendly environment and reduce the cognitive burden of LLMs by describing website structures in natural language.
652
4.5 points
B
Bing Search MCP
An MCP server for integrating Microsoft Bing Search API, supporting web page, news, and image search functions, providing network search capabilities for AI assistants.
Python
221
4 points
A
Apple Notes MCP
A server that provides local Apple Notes database access for the Claude desktop client, supporting reading and searching of note content.
Python
201
4.3 points
C
Cloudflare
Changesets is a build tool for managing versions and releases in multi - package or single - package repositories.
TypeScript
1.5K
5 points
E
Eino
Eino is an LLM application development framework designed specifically for Golang, aiming to simplify the AI application development process through concise, scalable, reliable, and efficient component abstraction and orchestration capabilities. It provides a rich component library, powerful graphical orchestration functions, complete stream processing support, and a highly scalable aspect mechanism, covering the full-cycle toolchain from development to deployment.
Go
3.5K
5 points
M
Modelcontextprotocol
Certified
This project is an implementation of an MCP server integrated with the Sonar API, providing real-time web search capabilities for Claude. It includes guides on system architecture, tool configuration, Docker deployment, and multi-platform integration.
TypeScript
1.1K
5 points
S
Serena
Serena is a powerful open - source coding agent toolkit that can transform LLMs into full - fledged agents that can work directly on codebases. It provides IDE - like semantic code retrieval and editing tools, supports multiple programming languages, and can be integrated with multiple LLMs via the MCP protocol or the Agno framework.
Python
777
5 points
Z
Zhipu Web Search MCP
Python
63
4.5 points
Featured MCP Services
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
823
4.3 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
79
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
130
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
554
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.6K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
745
4.8 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase