mcp-memory-service
Universal MCP memory service with semantic search, multi-client support, and autonomous consolidation for Claude Desktop, VS Code, and 13+ AI applications
GitHub Stars
671
User Rating
Not Rated
Favorites
0
Views
27
Forks
93
Issues
3
MCP Memory Service
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.
π Quick Start (2 minutes)
Universal Installer (Recommended)
# Clone and install with automatic platform detection
git clone https://github.com/doobidoo/mcp-memory-service.git
cd mcp-memory-service
python install.py
Docker (Fastest)
# For MCP protocol (Claude Desktop)
docker-compose up -d
# For HTTP API (Web Dashboard)
docker-compose -f docker-compose.http.yml up -d
Smithery (Claude Desktop)
# Auto-install for Claude Desktop
npx -y @smithery/cli install @doobidoo/mcp-memory-service --client claude
β οΈ First-Time Setup Expectations
On your first run, you'll see some warnings that are completely normal:
- "WARNING: Failed to load from cache: No snapshots directory" - The service is checking for cached models (first-time setup)
- "WARNING: Using TRANSFORMERS_CACHE is deprecated" - Informational warning, doesn't affect functionality
- Model download in progress - The service automatically downloads a ~25MB embedding model (takes 1-2 minutes)
These warnings disappear after the first successful run. The service is working correctly! For details, see our First-Time Setup Guide.
π Complete Documentation
π Visit our comprehensive Wiki for detailed guides:
π Setup & Installation
- π Installation Guide - Complete installation for all platforms and use cases
- π₯οΈ Platform Setup Guide - Windows, macOS, and Linux optimizations
- π Integration Guide - Claude Desktop, Claude Code, VS Code, and more
π§ Advanced Topics
- π§ Advanced Configuration - Integration patterns, best practices, workflows
- β‘ Performance Optimization - Speed up queries, optimize resources, scaling
- π¨βπ» Development Reference - Claude Code hooks, API reference, debugging
π§ Help & Reference
- π§ Troubleshooting Guide - Solutions for common issues
- β FAQ - Frequently asked questions
- π Examples - Practical code examples and workflows
β¨ Key Features
π§ Intelligent Memory Management
- Semantic search with vector embeddings
- Natural language time queries ("yesterday", "last week")
- Tag-based organization with smart categorization
- Memory consolidation with dream-inspired algorithms
π Universal Compatibility
- Claude Desktop - Native MCP integration
- Claude Code - Memory-aware development with hooks
- VS Code, Cursor, Continue - IDE extensions
- 13+ AI applications - REST API compatibility
πΎ Flexible Storage
- SQLite-vec - Fast local storage (recommended)
- ChromaDB - Multi-client collaboration
- Cloudflare - Global edge distribution
- Automatic backups and synchronization
π Production Ready
- Cross-platform - Windows, macOS, Linux
- Service installation - Auto-start background operation
- HTTPS/SSL - Secure connections
- Docker support - Easy deployment
π‘ Basic Usage
# 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
π§ Configuration
Claude Desktop Integration
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"
}
}
}
}
Environment Variables
# 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"
ποΈ Architecture
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β AI Clients β β MCP Protocol β β Storage Backend β
β β β β β β
β β’ Claude DesktopβββββΊβ β’ Memory Store βββββΊβ β’ SQLite-vec β
β β’ Claude Code β β β’ Semantic β β β’ ChromaDB β
β β’ VS Code β β Search β β β’ Cloudflare β
β β’ Cursor β β β’ Tag System β β β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
π οΈ Development
Project Structure
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
Contributing
- Fork the repository
- Create a feature branch
- Make your changes with tests
- Submit a pull request
See CONTRIBUTING.md for detailed guidelines.
π Support
- π Documentation: Wiki - Comprehensive guides
- π Bug Reports: GitHub Issues
- π¬ Discussions: GitHub Discussions
- π§ Troubleshooting: Troubleshooting Guide
π In Production
Real-world metrics from active deployments:
- 750+ memories stored and actively used
- <500ms response time for semantic search
- 65% token reduction in Claude Code sessions
- 96.7% faster context setup (15min β 30sec)
- 100% knowledge retention across sessions
π Recognition
Verified MCP Server
Featured AI Tool
- Production-tested across 13+ AI applications
- Community-driven with real-world feedback and improvements
π License
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.
The Todo.txt MCP Server is a powerful Model Context Protocol server that connects your todo.txt files to AI assistants. It allows you to manage your todo list using natural language while maintaining the simplicity and portability of the todo.txt format. You can create, update, and delete tasks with AI assistance, and it provides statistics and insights about your productivity. It also integrates seamlessly with existing todo.sh setups.