What are the prerequisites for running MCP-Mem0?
Python 3.12+, a Supabase or PostgreSQL database for vector storage, API keys for your chosen LLM provider, and optionally Docker.
@coleam00
基本信息
MCP server for long term agent memory with Mem0. Also useful as a template to get you started building your own MCP server with Python!
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-mem0": {
"command": "uv",
"args": [
"pip",
"install",
"-e",
"."
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
MCP-Mem0 is an implementation of the Model Context Protocol (MCP) server integrated with Mem0, providing AI agents with persistent memory capabilities. It enables agents to store, retrieve, and search memories using semantic search, serving as a practical template for building custom MCP servers.
Install dependencies with uv pip install -e . or build a Docker image. Configure a .env file with transport (sse or stdio), LLM provider (OpenAI, OpenRouter, or Ollama), embedding model, and a PostgreSQL database URL. Run the server directly with uv run src/main.py or via Docker. Then integrate with any MCP-compatible client (e.g., Claude Desktop, Windsurf) by adding the server configuration JSON with either SSE or stdio transport.
Python 3.12+, a Supabase or PostgreSQL database for vector storage, API keys for your chosen LLM provider, and optionally Docker.
It provides three tools: `save_memory` to store information with semantic indexing, `get_all_memories` to retrieve all stored memories, and `search_memories` to find relevant memories via semantic search.
MCP-Mem0 supports both SSE (Server-Sent Events) and stdio transport, configurable via the `TRANSPORT` environment variable.
Memories are stored as vectors in a PostgreSQL database (Supabase recommended), configured through the `DATABASE_URL` environment variable.
For Windsurf use `serverUrl` instead of `url` in the MCP configuration. For n8n, replace `localhost` with `host.docker.internal` in the SSE URL.

The Cloud is the AI-native workspace that gives every AI — Claude, ChatGPT, Gemini, and other Frontier & Free or Local models — shared memory and real agents. Not cloud computing: thecloud.so is one workspace where your
Groundwork: company memory for your AI tools. Docs public. Source closed. Public proof needs no account.

Search saved employee handbooks from your AI assistant. Four read-only tools list authorized handbooks, browse policies, search content, and read source pages with citation links. Uses scoped bearer tokens and Streamable

Local-first MCP server that snapshots your project's working state into one context object. Open-core, privacy-first.

Islamic source data for assistants: Quran, hadith, tafsir, duas, prayer times and qibla. Answers come from real sources with citations instead of recalled text, so verses and hadith are not hallucinated. 36,000+ hadiths
评论