Better Mem0
БесплатноНе проверен[DEPRECATED - use EchoVault] MCP Server for AI memory with PostgreSQL
Описание
[DEPRECATED - use EchoVault] MCP Server for AI memory with PostgreSQL
README
[!CAUTION] PROJECT DISCONTINUED — The replacement solution is being developed at mnemo-mcp.
Self-hosted MCP Server for AI memory with PostgreSQL (pgvector).
Discontinuation Notice
The better-mem0-mcp project has been discontinued as of February 2026.
The replacement solution is being developed at mnemo-mcp — a lightweight, self-hosted MCP server for persistent AI memory.
Legacy Documentation
[!NOTE] The content below is kept for reference. The final version on PyPI/Docker still works but will not receive any new updates.
Features
- Self-hosted PostgreSQL - Your data stays with you (Neon/Supabase free tier supported)
- Graph Memory - SQL-based relationship tracking alongside vector memory
- Multi-provider LLM - Gemini, OpenAI, Anthropic, Groq, DeepSeek, Mistral
- Fallback chains - Multi-key per provider + multi-model fallback
- Zero manual setup - Just
DATABASE_URL+API_KEYS
Quick Start (Legacy)
1. Get Prerequisites
- Database: Neon or Supabase (free tier works)
- API Key: Any supported provider (Google AI Studio is free)
2. Add to mcp.json
uvx (Recommended)
{
"mcpServers": {
"better-mem0": {
"command": "uvx",
"args": ["better-mem0-mcp@latest"],
"env": {
"DATABASE_URL": "postgresql://user:[email protected]/neondb?sslmode=require",
"API_KEYS": "GOOGLE_API_KEY:AIza..."
}
}
}
}
Docker
{
"mcpServers": {
"better-mem0": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "DATABASE_URL", "-e", "API_KEYS", "n24q02m/better-mem0-mcp:latest"],
"env": {
"DATABASE_URL": "postgresql://...",
"API_KEYS": "GOOGLE_API_KEY:AIza..."
}
}
}
}
3. Done!
Ask your AI: "Remember that I prefer dark mode and use FastAPI"
Configuration (Legacy)
| Variable | Required | Description |
|---|---|---|
DATABASE_URL |
Yes | PostgreSQL with pgvector extension |
API_KEYS |
Yes | ENV_VAR:key pairs, comma-separated |
LLM_MODELS |
No | Model fallback chain |
EMBEDDER_MODELS |
No | Embedding model chain |
Supported LiteLLM Providers
Use environment variable names from LiteLLM docs:
GOOGLE_API_KEY, OPENAI_API_KEY, ANTHROPIC_API_KEY, GROQ_API_KEY, etc.
Single provider:
API_KEYS=GOOGLE_API_KEY:AIza...
Multi-key with fallback:
API_KEYS=GOOGLE_API_KEY:AIza-1,GOOGLE_API_KEY:AIza-2,OPENAI_API_KEY:sk-xxx
LLM_MODELS=gemini/gemini-3-flash-preview,openai/gpt-4o-mini
EMBEDDER_MODELS=gemini/gemini-embedding-001,openai/text-embedding-3-small
Defaults
| Setting | Default |
|---|---|
LLM_MODELS |
gemini/gemini-3-flash-preview |
EMBEDDER_MODELS |
gemini/gemini-embedding-001 |
Tools (Legacy)
| Tool | Description |
|---|---|
memory |
Memory operations: add, search, list, delete |
help |
Get full documentation for tools |
Usage Examples
{"action": "add", "content": "I prefer TypeScript over JavaScript"}
{"action": "search", "query": "programming preferences"}
{"action": "list"}
{"action": "delete", "memory_id": "abc123"}
Build from Source (Legacy)
git clone https://github.com/n24q02m/better-mem0-mcp
cd better-mem0-mcp
# Setup (requires mise: https://mise.jdx.dev/)
mise run setup
# Run
uv run better-mem0-mcp
Requirements: Python 3.13+
License
MIT - See LICENSE
Установить Better Mem0 в Claude Desktop, Claude Code, Cursor
unyly install better-mem0Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add better-mem0 -- uvx better-mem0-mcpПошаговые гайды: как установить Better Mem0
FAQ
Better Mem0 MCP бесплатный?
Да, Better Mem0 MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Better Mem0?
Нет, Better Mem0 работает без API-ключей и переменных окружения.
Better Mem0 — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Better Mem0 в Claude Desktop, Claude Code или Cursor?
Открой Better Mem0 на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Opencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
автор: GitHub ActionsRoblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
автор: paralovAntigravity Drawio
MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
автор: S-SUJAN-SFetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
Compare Better Mem0 with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
