local-only server
The server can only run on the client’s local machine because it depends on local resources.
Integrations
myAI Memory Sync
Tired of repeating yourself to Claude every time you start a new chat? myAI Memory Sync is a game-changing MCP tool that seamlessly synchronizes your preferences, personal details, and code standards across ALL your Claude interfaces! Just update once, and your changes instantly appear everywhere - from Claude Desktop to Claude Code, Windsurf, and Claude.ai web. With our cutting-edge caching system, memory-related queries are up to 2000x faster! Stop wasting tokens on repetitive instructions and enjoy a truly personalized AI experience.
How myAImemory-mcp Compares to Other Memory Tools
While several excellent memory tools exist for AI systems, myAImemory-mcp serves a specific purpose as a Model Context Protocol (MCP) tool:
Tool | Primary Focus | Privacy Model | Integration | Unique Strength |
---|---|---|---|---|
myAImemory-mcp | User preferences across Claude interfaces | Local-first, no data sent to external servers | Claude-specific MCP | Cross-platform synchronization with high-performance caching |
Graphiti | Temporal knowledge graphs | Database-dependent | General agent framework | Temporal awareness in knowledge representation |
Letta/MemGPT | Stateful agent framework | Server-based | Multi-model support | Complete agent architecture |
Mem0 | Personalized AI interactions | API-based | Multi-platform | Multi-level memory hierarchy |
Memary | Human-like memory for agents | Graph database | Agent-focused | Human memory emulation |
Cognee | Reliable memory for AI apps | Multiple storage options | Data pipeline focused | Extensive data source integration |
Key Advantages of myAImemory-mcp:
- Privacy-First: All data remains on your device, no personal information sent to external servers
- Performance: Leverages Claude's caching capabilities for dramatic speed improvements
- Simplicity: Natural language updates to your preferences across all Claude interfaces
- MCP Integration: Purpose-built as a Claude MCP for seamless integration
🚀 Quick Start
🔄 Direct Sync Method (Simple Alternative)
For a simpler approach that doesn't require running an MCP server, you can use the standalone sync script:
This script will:
- Read from your "myAI Master.md" file
- Update all CLAUDE.md files in your projects
- Update your Windsurf memory settings
- All without storing sensitive information in the git repository
🔒 Privacy and Security
- The "myAI Master.md" file with your personal information is excluded from git tracking
- All CLAUDE.md files are also excluded to protect your privacy
- Use the included
.gitignore
to ensure sensitive files remain private
Then in Claude, just say:
📋 Installation Options
Option 1: Direct Install (Recommended)
Install from npm:
Start the server:
Option 2: Run from Source
Clone and build from source:
Option 3: Docker
Build and run with Docker:
🔌 MCP Configuration
Claude Desktop Configuration
Add this to your claude_desktop_config.json
:
Claude.ai with Smithery
- Visit Smithery.ai
- Add the myAI Memory Sync MCP:Copy
- Configure with your API key in the Smithery settings
Windsurf Integration
In Windsurf, add to your .codeium/config.json
:
HTTP Server Mode
For HTTP transport instead of stdio:
Environment Variables
Create a .env
file with the following options:
🧙♂️ System Prompt Integration
For best results, add this to your Claude system prompt:
✨ Features
- 🔄 Cross-Platform Synchronization: Update once, syncs everywhere
- ⚡ Lightning-Fast Recall: Caching system with up to 2000x performance boost
- 🗣️ Natural Language Interface: Just talk naturally to update your preferences
- 🧩 Multiple Persona Profiles: Switch between different presets with ease
- 🔐 Security-Focused: Local storage with .gitignore protection
- 🛠️ Developer-Friendly: Full TypeScript implementation with comprehensive API
🧩 Core Architecture
myAI Memory Sync uses a modular architecture with these key components:
- Template Parser: Bidirectional conversion between structured memory objects and markdown
- Template Storage: Persistent storage with in-memory and file-system caching
- Platform Synchronizers: Implements the
PlatformSyncer
interface for each target platform - Natural Language Processor: Extracts structured data from natural language memory commands
- Memory Cache Service: Optimizes performance with multi-level caching strategies
🔍 Detailed Features
Cross-Platform Synchronization
- ClaudeCodeSyncer: Updates CLAUDE.md files across all repositories
- WindsurfSyncer: Manages global_rules.md in Windsurf environment
- ClaudeWebSyncer: Optional Puppeteer-based synchronization with Claude.ai web interface
Intelligent Memory Management
- Pattern-Based Extraction: Converts natural language to structured key-value pairs
- Section Detection Algorithm: Automatically determines appropriate section for new memories
- Memory Template Format: Markdown-based structure with sections, descriptions, and key-value items
- Context Preservation: Updates memory sections while preserving other template content
Performance Optimization
- Multi-Level Caching: In-memory caching at both template and section levels
- TTL-Based Cache Management: Configurable Time-To-Live for cached content
- Pre-Warming: Cache pre-population after template updates
- Optional Anthropic API Integration: Accelerates memory-related queries up to 2000x
Security
- Local-First Architecture: All data remains on your device
- Gitignore Management: Automatically adds CLAUDE.md to .gitignore in all repositories
- File Permission Handling: Fixes permissions issues for maximum compatibility
- Encrypted Storage: Compatible with encrypted file systems
📋 Memory Template Format
The system uses a structured markdown format to organize your preferences:
🛠️ Technical Implementation
MemoryTemplate Schema
Platform Synchronization Interface
🔌 MCP Integration API
The myAI Memory Sync tool implements the Model Context Protocol (MCP) with the following functions:
Function | Description | Parameters |
---|---|---|
get_template | Retrieves the full memory template | None |
get_section | Retrieves a specific section | sectionName: string |
update_section | Updates a specific section | sectionName: string, content: string |
update_template | Replaces the entire template | content: string |
list_presets | Lists available presets | None |
load_preset | Loads a specific preset | presetName: string |
create_preset | Creates a new preset | presetName: string |
sync_platforms | Synchronizes across platforms | platform?: string |
list_platforms | Lists available platforms | None |
Natural Language Interface
Users can interact with the system through natural language commands:
🧙♂️ Advanced Usage
Memory Presets
Switch between different personas easily:
Emergency Sync
When you need to fix synchronization issues across all platforms:
Command Line Interface
Development Workflow
⚡ Performance Benchmarks
Our caching system delivers incredible performance improvements:
Operation | Without Cache | With Cache | Improvement |
---|---|---|---|
Memory Query | ~2000ms | ~1ms | 2000x |
Section Lookup | ~1600ms | ~0.8ms | 2000x |
Template Parse | ~120ms | ~0.1ms | 1200x |
Platform Sync | ~850ms | ~350ms | 2.4x |
🔒 Security & Privacy
We take your privacy seriously:
- All data remains locally on your device
- CLAUDE.md files are automatically added to .gitignore
- No data is sent to external servers (except when using the optional Anthropic API integration)
- Works with encrypted file systems for maximum security
🛠️ Troubleshooting
Common Issues
- CLAUDE.md Not Updating
- Check file permissions with
ls -la CLAUDE.md
- Try emergency sync with
./emergency-sync.sh
- Verify platform paths in your
.env
file
- Check file permissions with
- MCP Connection Failures
- Ensure MCP server is running with
ps aux | grep myai-memory
- Check Claude Desktop logs for MCP errors
- Verify your Claude Desktop configuration file
- Ensure MCP server is running with
- Caching Issues
- Clear cache with
node dist/cli.js --clear-cache
- Verify Anthropic API key is correctly set
- Check memory file integrity with
node dist/cli.js --validate
- Clear cache with
Logs and Debugging
Enable debug mode to see detailed logs:
Log files are stored in:
- Linux/macOS:
~/.local/share/myai-memory/logs/
- Windows:
%APPDATA%\myai-memory\logs\
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
We follow a standard Git workflow and CI process:
- All PRs require passing tests and linting
- New features should include tests
- Major changes should update documentation
- Follow existing code style and patterns
📚 Documentation
For more detailed documentation, see the Wiki.
API documentation is available in the /docs
directory:
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
📬 Contact
Project Link: https://github.com/Jktfe/myaimemory-mcp
This server cannot be installed
An MCP tool that synchronizes user preferences, personal details, and code standards across multiple Claude interfaces, allowing users to maintain consistent personalized AI interactions without repeating themselves.
- How myAImemory-mcp Compares to Other Memory Tools
- 🚀 Quick Start
- 📋 Installation Options
- 🔌 MCP Configuration
- 🧙♂️ System Prompt Integration
- ✨ Features
- 🧩 Core Architecture
- 🔍 Detailed Features
- 📋 Memory Template Format
- 🛠️ Technical Implementation
- 🔌 MCP Integration API
- 🧙♂️ Advanced Usage
- ⚡ Performance Benchmarks
- 🔒 Security & Privacy
- 🛠️ Troubleshooting
- 🤝 Contributing
- 📚 Documentation
- 📄 License
- 📬 Contact