
记忆服务
STDIO使用ChromaDB和句向量的Claude语义记忆服务
使用ChromaDB和句向量的Claude语义记忆服务
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
👉 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:
Apache License 2.0 - see LICENSE for details.
Ready to supercharge your AI workflow? 🚀
👉 Start with our Installation Guide or explore the Wiki for comprehensive documentation.
Transform your AI conversations into persistent, searchable knowledge that grows with you.