@kcpatt27/memvid-mcp v1.1.15
š„ MemVid MCP
š§ AI Memory Bank Management with Enhanced Search
Transform your files into searchable AI memory banks using MP4 videos and vector embeddings. Seamlessly integrates with Cursor and Claude Desktop via the Model Context Protocol (MCP).
Features
- š„ MP4-based Memory Banks: Store and search content using video embeddings
- š Enhanced Search: Semantic search with filtering and sorting
- š Easy Setup: One-command installation via npx
- š§ Auto-Configuration: Automatically configures Cursor MCP settings
- š Multiple Sources: Files, directories, URLs, and text content
- ā” High Performance: Sub-second search responses with caching
Quick Start
1. Install and Setup
npx @kcpatt27/memvid-mcpThis single command will:
- Install the MemVid MCP Server
- Check system requirements
- Configure Cursor automatically
- Set up Python dependencies
2. Start Using
- Restart Cursor (if currently running)
- Open any project in Cursor
- Look for "memvid" in the MCP Tools section
- Create your first memory bank using the
create_memory_banktool
Prerequisites
- Node.js 18+ - Download here
- Python 3.8+ - Download here
- Cursor - Download here
The setup command will help you install missing dependencies.
MCP Client Configuration
For Cursor, Claude Desktop, or other MCP clients:
{
"mcpServers": {
"memvid": {
"command": "npx",
"args": ["-y", "@kcpatt27/memvid-mcp", "--server"]
}
}
}Custom Configuration
{
"mcpServers": {
"memvid": {
"command": "npx",
"args": ["-y", "@kcpatt27/memvid-mcp", "--server"],
"env": {
"MEMORY_BANKS_DIR": "/custom/path/to/banks",
"PYTHON_EXECUTABLE": "python3"
}
}
}
}Available Tools
š¦ create_memory_bank
Create memory banks from various sources:
- Files: Text, code, documents
- Directories: Entire project folders
- URLs: Web content
- Text: Direct text input
š search_memory
Advanced search with:
- Semantic matching
- File type filtering
- Content length filters
- Date range filtering
- Custom sorting
š list_memory_banks
List all available memory banks with metadata
ā add_to_memory
Add new content to existing memory banks
šÆ get_context
Get formatted context for AI conversations
š„ health_check & system_diagnostics
Monitor system health and performance
Commands
# Setup (default)
npx @kcpatt27/memvid-mcp
# Check system status
npx @kcpatt27/memvid-mcp --check
# Auto-install dependencies
npx @kcpatt27/memvid-mcp --install
# Show configuration
npx @kcpatt27/memvid-mcp --config
# Show help
npx @kcpatt27/memvid-mcp --help
# Show version
npx @kcpatt27/memvid-mcp --versionUsage Examples
Create a Memory Bank
Use the create_memory_bank tool in Cursor:
{
"name": "my-project",
"description": "My project documentation and code",
"sources": [
{
"type": "directory",
"path": "./src",
"options": {
"file_types": ["ts", "js", "md"]
}
},
{
"type": "file",
"path": "./README.md"
}
],
"tags": ["project", "documentation"]
}Search Memory Banks
Use the search_memory tool:
{
"query": "authentication and security",
"memory_banks": ["my-project"],
"top_k": 10,
"filters": {
"file_types": ["ts", "js"],
"content_length": {
"min": 100
}
},
"sort_by": "relevance"
}Troubleshooting
Setup Issues
# Check what's wrong
npx @kcpatt27/memvid-mcp --check
# Try auto-fix
npx @kcpatt27/memvid-mcp --installCommon Issues
- Python not found: Install Python 3.8+ from python.org
- MemVid not installed: Run
pip install memvid - Cursor not detected: Ensure Cursor is installed and running
- Permission errors: Run with appropriate permissions
Manual Python Setup
# Install MemVid package
pip install memvid
# Or with pip3
pip3 install memvidDevelopment
# Clone the repository
git clone https://github.com/kcpatt27/memvid-mcp.git
cd memvid-mcp
# Install dependencies
npm install
# Build
npm run build
# Test locally
node dist/cli.js --checkEnvironment Variables
MEMORY_BANKS_DIR: Custom memory banks directoryPYTHON_EXECUTABLE: Custom Python executable pathMEMVID_CONFIG_PATH: Custom configuration file pathLOG_LEVEL: Logging level (info, warn, error, debug)
Performance
- Memory Bank Creation: ~3-5 seconds
- Search Response: <500ms (cached)
- Memory Usage: <200MB baseline
- Concurrent Users: 5+ supported
License
MIT License - see LICENSE for details.
Support
- š Documentation: GitHub Wiki
- š Issues: GitHub Issues
- š¬ Discussions: GitHub Discussions
Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
Made with ā¤ļø for the AI community