Henry/mcp-memory-service
Built by Metorial, the integration platform for agentic AI.
Henry/mcp-memory-service
Server Summary
Semantic memory storage
Persistent data storage
Semantic search
Context management for conversations
Universal MCP memory service providing semantic memory search and persistent storage for AI assistants. Works with Claude Desktop, VS Code, Cursor, Continue, and 13+ AI applications with SQLite-vec for fast local search and Cloudflare for global distribution.
# Clone and install with automatic platform detection
git clone https://github.com/doobidoo/mcp-memory-service.git
cd mcp-memory-service
python install.py
# For MCP protocol (Claude Desktop)
docker-compose up -d
# For HTTP API (Web Dashboard)
docker-compose -f docker-compose.http.yml up -d
# Auto-install for Claude Desktop
npx -y @smithery/cli install @doobidoo/mcp-memory-service --client claude
On your first run, you'll see some warnings that are completely normal:
These warnings disappear after the first successful run. The service is working correctly! For details, see our First-Time Setup Guide.
sqlite-vec may not have pre-built wheels for Python 3.13 yet. If installation fails:
brew install [email protected]
--storage-backend chromadb
macOS users may encounter enable_load_extension
errors with sqlite-vec:
brew install python && rehash
PYTHON_CONFIGURE_OPTS='--enable-loadable-sqlite-extensions' pyenv install 3.12.0
export MCP_MEMORY_STORAGE_BACKEND=chromadb
π Visit our comprehensive Wiki for detailed guides:
# Store a memory
uv run memory store "Fixed race condition in authentication by adding mutex locks"
# Search for relevant memories
uv run memory recall "authentication race condition"
# Search by tags
uv run memory search --tags python debugging
# Check system health
uv run memory health
Add to your Claude Desktop config (~/.claude/config.json
):
{
"mcpServers": {
"memory": {
"command": "uv",
"args": ["--directory", "/path/to/mcp-memory-service", "run", "memory", "server"],
"env": {
"MCP_MEMORY_STORAGE_BACKEND": "sqlite_vec"
}
}
}
}
# Storage backend (sqlite_vec recommended)
export MCP_MEMORY_STORAGE_BACKEND=sqlite_vec
# Enable HTTP API
export MCP_HTTP_ENABLED=true
export MCP_HTTP_PORT=8000
# Security
export MCP_API_KEY="your-secure-key"
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β AI Clients β β MCP Protocol β β Storage Backend β
β β β β β β
β β’ Claude DesktopβββββΊβ β’ Memory Store βββββΊβ β’ SQLite-vec β
β β’ Claude Code β β β’ Semantic β β β’ ChromaDB β
β β’ VS Code β β Search β β β’ Cloudflare β
β β’ Cursor β β β’ Tag System β β β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
mcp-memory-service/
βββ src/mcp_memory_service/ # Core application
β βββ models/ # Data models
β βββ storage/ # Storage backends
β βββ web/ # HTTP API & dashboard
β βββ server.py # MCP server
βββ scripts/ # Utilities & installation
βββ tests/ # Test suite
βββ tools/docker/ # Docker configuration
See CONTRIBUTING.md for detailed guidelines.
Real-world metrics from active deployments: