# Memdrive MCP

> Memdrive MCP is an open-source MCP server for knowledge and memory. Local MCP memory: Markdown notes and images in a folder you choose, with full-text search. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted, macOS, Windows, Linux
- **Repository:** https://github.com/newmannn91/memdrive
- **MCP Registry name:** io.github.Newmannn91/memdrive-mcp
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-18

## About

MemDrive keeps an assistant's memory as ordinary Markdown files, with a sibling assets folder for images, inside a directory you point it at. That can be a Google Drive, OneDrive or iCloud sync folder, in which case your own sync client handles the cloud side; the server itself does no network auth and no uploads. The default location is ~/memdrive, changed with MEMDRIVE_ROOT.

The README says it exposes six small tools and builds a BM25-ranked full-text index with Chinese segmentation, filters and pagination. read_file has a response budget so large images do not overrun the host, and open_image and open_containing_folder act only when the user explicitly asks. A setup wizard writes config for Claude Desktop, Cursor, VS Code or Claude Code, backing up files first; the Claude Code adapter is described as unverified on a real machine.

It needs Node.js 24 or newer, and the README marks the status as an early local-filesystem-only release.

## Features

- **Plain-file memory:** Notes are Markdown files with images in an assets folder.
- **Full-text search:** BM25 ranking with Chinese segmentation, filters and pagination.
- **Bring your own sync:** Point it at a synced folder; the server uploads nothing itself.
- **Response budget:** read_file limits total response size, with image previews shrunk to fit.
- **Setup wizard:** Writes config for Claude Desktop, Cursor, VS Code or Claude Code after backing up.
- **User-triggered openers:** open_image and open_containing_folder run only on explicit request.

## Good for

- Give Claude or Cursor notes that persist across sessions
- Store screenshots next to the notes that mention them
- Keep AI memory in a folder you already back up
- Search past notes by keyword

## Install

### Claude Code (Terminal)

```sh
claude mcp add memdrive-mcp -- npx -y memdrive-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "memdrive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "memdrive-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "memdrive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "memdrive-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "memdrive-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "memdrive-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "memdrive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "memdrive-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "memdrive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "memdrive-mcp"
      ]
    }
  }
}
```

## Tools

- `save_file`: Save a Markdown note or image
- `read_file`: Read a note or image back within a response budget
- `list_directory`: List a folder in the library
- `open_image`: Open an original image in the OS viewer on request
- `open_containing_folder`: Open a note's folder in the file manager on request

## FAQ

### Does it need an account or cloud service?

No. The README says no cloud service, no account and no server to run.

### Where is data stored?

In ~/memdrive by default, or the folder in MEMDRIVE_ROOT.

### What does it require?

Node.js 24 or newer.

### Is it verified in every client?

Not fully; the README says only some tools were checked in VS Code and the Claude Code adapter is unverified.

### Is Memdrive MCP free?

Yes. Memdrive MCP is open source, so you can use and self-host it for free.

### How do I add Memdrive MCP to Claude Code?

Run this command in your terminal: claude mcp add memdrive-mcp -- npx -y memdrive-mcp

### What are the best alternatives to Memdrive MCP?

The closest alternatives to Memdrive MCP are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and NeuroStack.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [NeuroStack](https://ai-powered.com/mcp/neurostack): NeuroStack is a freemium MCP server for knowledge and memory.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [Digitalnz](https://ai-powered.com/mcp/digitalnz): Digitalnz is a freemium MCP server for knowledge and memory.
- [Notion_connect](https://ai-powered.com/mcp/notion-connect): Notion_connect is a freemium MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/memdrive-mcp
