Persistent, versioned memory system for AI agents via Model Context Protocol (MCP)
BuildAutomata Memory is an MCP server that gives AI agents (like Claude) persistent, searchable memory that survives across conversations. Think of it as giving your AI a long-term memory system with:
- 🧠 Semantic Search - Find memories by meaning, not just keywords
- 📚 Temporal Versioning - Complete history of how memories evolve
- 🏷️ Smart Organization - Categories, tags, importance scoring
- 🔄 Cross-Tool Sync - Share memories between Claude Desktop, Claude Code, Cursor AI
- 💾 Persistent Storage - SQLite + optional Qdrant vector DB
- Python 3.10+
- Claude Desktop (for MCP integration) OR any MCP-compatible client
- Optional: Qdrant for enhanced semantic search
- Clone this repository
- Install dependencies
- Configure Claude Desktop
Edit your Claude Desktop config (AppData/Roaming/Claude/claude_desktop_config.json on Windows):
- Restart Claude Desktop
That's it! The memory system will auto-create its database on first run.
In addition to the MCP server, this repo includes interactive_memory.py - a CLI for direct memory access:
See README_CLI.md for complete CLI documentation.
Windows:
Linux/Mac:
- Hybrid Search: Combines vector similarity (Qdrant) + full-text search (SQLite FTS5)
- Temporal Versioning: Every memory update creates a new version - full audit trail
- Smart Decay: Importance scores decay over time based on access patterns
- Rich Metadata: Categories, tags, importance, custom metadata
- LRU Caching: Fast repeated access with automatic cache management
- Thread-Safe: Concurrent operations with proper locking
When running as an MCP server, provides these tools to Claude:
- store_memory - Create new memory
- update_memory - Modify existing memory (creates new version)
- search_memories - Semantic + full-text search with filters
- get_memory_timeline - View complete version history
- get_memory_stats - System statistics
- prune_old_memories - Cleanup old/low-importance memories
- run_maintenance - Database optimization
The Gumroad version includes:
- ✅ Pre-compiled Qdrant server (Windows .exe, no Docker needed)
- ✅ One-click startup script (start_qdrant.bat)
- ✅ Step-by-step setup guide (instructions.txt)
- ✅ Commercial license for business use
- ✅ Priority support via email
Perfect for:
- Non-technical users who want easy setup
- Windows users wanting the full-stack bundle
- Commercial/business users needing licensing clarity
- Anyone who values their time over DIY setup
This open-source version:
- ✅ Free for personal/educational/small business use (<$100k revenue)
- ✅ Full source code access
- ✅ DIY Qdrant setup (you install from qdrant.io)
- ✅ Community support via GitHub issues
Both versions use the exact same core code - you're just choosing between convenience (Gumroad) vs DIY (GitHub).
Memories are stored at:
For enhanced semantic search (highly recommended):
Download from Qdrant Releases
Includes pre-compiled Windows executable + startup script
Without Qdrant: System still works with SQLite FTS5 full-text search (less semantic understanding)
- Normal if running without Qdrant - falls back to SQLite FTS5
- To enable: Start Qdrant server and restart MCP server
- Check memory_repos/ directory permissions
- On Windows: Run as administrator if needed
- Check claude_desktop_config.json path is correct
- Verify Python is in system PATH
- Restart Claude Desktop completely
- Check logs in Claude Desktop → Help → View Logs
Open Source (This GitHub Version):
- Free for personal, educational, and small business use (<$100k annual revenue)
- Must attribute original author (Jurden Bruce)
- See LICENSE file for full terms
Commercial License:
- Companies with >$100k revenue: $200/user or $20,000/company (whichever is lower)
- Contact: [email protected]
- GitHub Issues: Report bugs or request features
- Discussions: Ask questions, share tips
- Email: [email protected]
- Faster response times
- Setup assistance
- Custom configuration help
- Memory relationship graphs
- Batch import/export
- Web UI for memory management
- Multi-modal memory (images, audio)
- Collaborative memory (multi-user)
- Memory consolidation/summarization
- Smart auto-tagging
Contributions welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
Author: Jurden Bruce Project: BuildAutomata Year: 2025
Built with:
- MCP - Model Context Protocol
- Qdrant - Vector database
- Sentence Transformers - Embeddings
- SQLite - Persistent storage
- Model Context Protocol Docs
- Qdrant Documentation
- Gumroad Bundle - Easy setup version
Star this repo ⭐ if you find it useful! Consider the Gumroad bundle if you want to support development and get the easy-install version.
.png)
