MCP Hub
Back to servers

memvid-mcp

An MCP server that provides a persistent memory layer for AI agents by wrapping the memvid CLI. It enables users to manage memory files, perform hybrid searches, and conduct RAG-based question answering through 40 specialized tools.

Updated
Feb 3, 2026

memvid-mcp

MCP (Model Context Protocol) server for the memvid CLI - a memory layer for AI agents.

This server wraps the memvid Rust CLI binary, exposing all 40 commands as MCP tools. Compatible with both memvid (official) and memvid-unlocked binaries.

Prerequisites

  • Node.js 18+
  • memvid CLI binary installed and accessible

Installation

git clone https://github.com/Tapiocapioca/memvid-mcp.git
cd memvid-mcp
npm install
npm run build

Configuration

Environment VariableDefaultDescription
MEMVID_PATHmemvidPath to the memvid binary
MEMVID_TIMEOUT120000Default command timeout (ms)
MEMVID_VERBOSE0Set to 1 for verbose logging
MEMVID_LOG_LEVELwarningLog level: debug, info, warning, error

MCP Client Setup

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "memvid": {
      "command": "node",
      "args": ["C:/AI/memvid-mcp/dist/index.js"],
      "env": {
        "MEMVID_PATH": "C:/Tools/bin/memvid.exe"
      }
    }
  }
}

Cursor

Add to MCP settings:

{
  "memvid": {
    "command": "node",
    "args": ["/path/to/memvid-mcp/dist/index.js"],
    "env": {
      "MEMVID_PATH": "/path/to/memvid"
    }
  }
}

Available Tools (40)

Lifecycle (5)

ToolDescription
memvid_createCreate a new .mv2 memory file
memvid_openOpen and display file information
memvid_statsShow statistics
memvid_verifyVerify file integrity
memvid_doctorDiagnose and repair

Write Operations (7)

ToolDescription
memvid_putAdd content from file/directory
memvid_put_manyBatch add with progress
memvid_viewView frame content
memvid_updateUpdate frame content
memvid_deleteDelete a frame
memvid_correctCorrect/amend a frame
memvid_api_fetchFetch URL and add

Search (5)

ToolDescription
memvid_findHybrid/lexical/vector search
memvid_vec_searchVector-only similarity search
memvid_askRAG question answering
memvid_timelineChronological view
memvid_whenTemporal search

Analysis (6)

ToolDescription
memvid_auditGenerate audit report
memvid_debug_segmentDebug internal segments
memvid_exportExport to JSON/CSV/JSONL
memvid_tablesList internal tables
memvid_schemaSchema operations
memvid_modelsList available models

Knowledge Graph (6)

ToolDescription
memvid_enrichNER entity extraction
memvid_memoriesMemory card operations
memvid_stateState management
memvid_factsFact extraction
memvid_followFollow entity relationships
memvid_whoEntity lookup

Session (5)

ToolDescription
memvid_sessionSession management
memvid_bindingMemory binding
memvid_statusSystem status
memvid_sketchSimHash sketches
memvid_nudgeTrigger background processing

Crypto (2)

ToolDescription
memvid_lockEncrypt file
memvid_unlockDecrypt file

Utility (4)

ToolDescription
memvid_process_queueProcess pending operations
memvid_verify_single_fileVerify single frame
memvid_configShow configuration
memvid_versionPrint version

Example Workflow

1. memvid_create { "file": "project.mv2" }
2. memvid_put { "file": "project.mv2", "input": "./docs", "recursive": true }
3. memvid_find { "file": "project.mv2", "query": "authentication", "limit": 5 }
4. memvid_ask { "file": "project.mv2", "question": "How does the auth system work?" }
5. memvid_export { "file": "project.mv2", "output": "backup.json" }

Development

npm run dev    # Run with tsx (development)
npm run build  # Compile TypeScript
npm start      # Run compiled version

License

MIT

Reviews

No reviews yet

Sign in to write a review