ntfs-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ntfs-mcp
Instant file search and file tools for Claude on Windows.
Ask Claude "where is that PDF about the lease?", "what is eating my disk space?" or "what did that installer just change?" and it answers in milliseconds, from an index of every file on your drives that stays up to date by itself. It also gets safe tools to read, write, move, copy, delete (to the Recycle Bin), search inside files, compare, zip and more.
Everything runs on your PC. Nothing is uploaded anywhere, and there are no accounts, keys or telemetry.
Install
Pick one. All of them give Claude the same tools and need no admin rights.
Easiest: one PowerShell command (also installs Python if needed)
Open PowerShell (Start menu, type "PowerShell", press Enter) and paste:
irm https://raw.githubusercontent.com/DmitrofNETDev/ntfs-mcp/main/install.ps1 | iexThen restart Claude Code (or open a new session). That is all.
The installer:
finds Python 3.9 or newer, and installs it for you if you have none;
asks if you want the optional system service (needs admin rights once, see below). Answer
nor have no admin rights and it still works;connects ntfs-mcp to Claude Code, and to Claude Desktop if you have it;
starts the background indexer now and at every sign-in;
checks that everything works and tells you if something does not.
Already downloaded the code? Run powershell -ExecutionPolicy Bypass -File install.ps1 in its folder.
Claude Code plugin
Needs Python 3.9 or newer (winget install Python.Python.3.13 if you have none). In a terminal:
claude plugin install ntfs --marketplace DmitrofNETDev/ntfs-mcpor inside Claude Code: /plugin install ntfs --marketplace DmitrofNETDev/ntfs-mcp. Restart Claude Code. The
plugin also adds a skill that teaches Claude the search syntax and the safe way to make bulk changes. Updates
come with claude plugin update ntfs@ntfs-mcp.
With uv
If you use uv (and git):
claude mcp add --scope user ntfs -- uvx --from git+https://github.com/DmitrofNETDev/ntfs-mcp@v1.2.0 ntfs-mcpOr install it as a lasting command with uv tool install git+https://github.com/DmitrofNETDev/ntfs-mcp,
then ntfs-mcp --install. pip install from the same address works too.
By hand
Download the code (green Code button, Download ZIP), unzip it anywhere, and register it:
claude mcp add --scope user ntfs -- python -I -B "C:\path\to\ntfs-mcp\mcp_server.py"Use the full path of python.exe if python does not start Python on your PC.
What each route sets up
PowerShell installer | Plugin | uvx | By hand | |
Registers the MCP server with Claude Code | yes | yes | yes | yes |
Also Claude Desktop | yes | no | no | no |
Background indexer | at every sign-in | started on first use | started on first use | started on first use |
System service (all files, admin) | asks | no | no | no |
Remove with |
|
|
|
|
Starting the MCP server never asks questions or needs admin rights: it uses the best index it can find and starts
the per-user indexer by itself when there is none. Making the indexer start at sign-in (ntfs-mcp --install)
and installing the system service (install-service.ps1, as administrator) are separate, explicit steps.
Read-only mode
Add --read-only after mcp_server.py or ntfs-mcp in the registration, or set the environment variable
NTFS_MCP_READ_ONLY=1, and Claude only gets the 13 tools that never change files (search, sizes, recent
changes, duplicates, stat, list, read, grep, hash, compare, locks, disk info, index status).
Related MCP server: aki-mcp-sv
Two ways to run, picked for you
With the system service | Without admin rights | |
Needs | one admin prompt during install | nothing |
What is indexed | every file on every NTFS drive | every file your account can open |
First index | seconds (reads the drive's own file table) | seconds to a few minutes; later starts load a saved copy instantly |
Stays up to date | yes, within about a second | yes, within about a second |
Runs as | Windows service | small background process for your account, started at sign-in |
Both keep themselves live from the NTFS change journal. If anything is missing or blocked, ntfs-mcp falls back on its own: system service, then your background indexer, then starting that indexer, then an index inside Claude's own process. File tools work even with no index at all.
Things to ask Claude
"Find all .gguf files over 1 GB."
"Which folders under C:\Users take the most space?"
"What changed in my Downloads folder in the last hour?"
"Find duplicate photos in D:\Pictures and show how much space they waste."
"Search my projects for TODO comments in Python files changed this week."
"Rename all IMG_*.jpg in this folder to holiday_001.jpg, holiday_002.jpg... (show me first)."
"Which program has this file locked?"
Tools (29)
Index: find, index_status, recent_changes, folder_sizes, duplicates, reindex.
Files: stat, list_dir, read_file, write_file, edit_file, make_dir, copy, move, delete
(Recycle Bin by default), batch (move/copy/delete/rename many files from a query, dry run by default), grep,
replace_in_files (dry run by default), hash, compare, archive (zip/tar), link (hardlink, symlink,
junction, shortcut), set_attributes (attributes, times, NTFS compression, unblock downloads), streams
(alternate data streams), permissions, locks (which process holds a file), open, disk_info, convert
(encoding and line endings).
Safety: drive roots, the Windows folder, Program Files, ProgramData, user profile roots and .claude cannot be
deleted, moved or overwritten. Bulk changes are dry runs until you confirm.
Search syntax
The find tool understands a syntax close to the one in voidtools Everything (ntfs-mcp is not affiliated with
voidtools). You normally just ask Claude in plain words, but you can type queries too:
space = AND,
|= OR,!= NOT,( )groups,"quotes"for spaces*.py,report?.docx: wildcards match the whole nameext:py;ts,size:>10mb,size:1mb..1gb,size:hugedm:today,dm:last2hours,dm:>2026-11-01,dc:2026-11(dm = modified, dc = created)infolder:"C:\Users\me\Documents"(recursive),parent:"C:\x"(direct children),D:\AI\(under a folder)\src\(path contains),drive:D,file:,folder:node_modules,attrib:H,len:>200,empty:regex:^IMG_\d+\.jpe?g$,case:,ww:(whole word),wfn:(whole file name),startwith:,endwith:
Uninstall
Installed with the PowerShell command:
powershell -ExecutionPolicy Bypass -File "$env:LOCALAPPDATA\Programs\ntfs-mcp\uninstall.ps1"It removes the Claude registrations, the background indexer and its data, and (with one admin prompt) the
system service. Use the uninstall.ps1 in your own folder if you installed from a copy of the code.
Installed as a plugin, with uvx or by hand: remove it as shown in the table above. A background indexer that
was started on first use keeps running until you sign out; its saved index is in %LOCALAPPDATA%\ntfs-mcp
and can be deleted. If you also installed the system service, remove it with uninstall.ps1 -ServiceOnly as
administrator.
Troubleshooting
Run the doctor. It explains what works and what does not, in plain words:
python "$env:LOCALAPPDATA\Programs\ntfs-mcp\mcp_server.py" --doctor(ntfs-mcp --doctor after a uv or pip install, python mcp_server.py --doctor in any copy of the code.)
Claude does not show the ntfs tools: restart Claude Code. Check with
claude mcp list.Results look out of date: ask Claude for
index_status; a drive with an error is rebuilt withreindex.Logs:
%LOCALAPPDATA%\ntfs-mcp\service.log(no-admin indexer),C:\ProgramData\ntfs-mcp\service.log(service).Start or stop your background indexer:
mcp_server.py --start/--stop.
Privacy and security
No network access at all. The index lives in memory and in snapshot files on your own disk.
The system service runs as LocalSystem because reading the drive's file table needs it. It only answers read-only questions about file names, sizes and dates, over a local pipe that only SYSTEM, administrators and the users chosen at install time may open; remote connections are refused. It never changes files.
Every change to files is made by the MCP server under your own account, with your own permissions.
The service code is copied to
C:\Program Files\ntfs-mcpand must run from a Python in an admin-only folder, so no normal program can change what runs as SYSTEM. The installer refuses a per-user Python for the service.The no-admin indexer only sees what your account can open, and its pipe only admits your account.
Both sides check who serves a pipe before trusting it, so another program cannot pose as the index.
Snapshots (
*.snapshot) contain file names and paths. They are inC:\ProgramData\ntfs-mcp(service, readable by admins and the allowed users) or%LOCALAPPDATA%\ntfs-mcp(yours only).
Configuration
Optional config.json in the data folder (C:\ProgramData\ntfs-mcp for the service, %LOCALAPPDATA%\ntfs-mcp
otherwise):
{ "volumes": "auto", "exclude": ["F"], "poll_seconds": 1.0, "snapshot_minutes": 15,
"fallback_rescan_minutes": 30, "allow_sids": ["S-1-5-21-...-1002"] }volumes: "auto" (all fixed NTFS drives) or a list like ["C", "D"]. allow_sids: more Windows accounts that
may query the system service. Restart the service or the indexer after a change.
Requirements
Windows 10 version 1709 or newer, or Windows 11. NTFS drives (other drives still work with the file tools).
Python 3.9 or newer (the installer gets it). Standard library only: nothing else is downloaded.
Claude Code or Claude Desktop.
RAM: about 200 to 300 bytes per file, so roughly 300 MB for 1.5 million files.
How it works
Claude ──stdio──> mcp_server.py (your account: all file operations)
│ JSON lines over a local named pipe (owner checked, remote clients refused)
v
NtfsMcpIndex service (SYSTEM) or per-user indexer (your account, no admin)
boot: raw read of each drive's $MFT boot: folder walk that returns file IDs
live: USN change journal, every second live: unprivileged USN journal reads
RAM: column arrays by MFT record number + one lower-cased name blob searched at C speed
disk: snapshots every 15 min; a restart loads them and catches up from the journalA volume whose journal cannot be read (for example a disk with bad sectors) is switched to a full rescan every
30 minutes and says so in index_status, instead of silently going stale.
Development
python -I -B -m unittest discover -s tests # unit tests, no admin needed
python -I -B ntfs_service.py --console --backend user --volumes D --pipe ntfs-mcp-dev --data-dir $env:TEMP\ntfs-dev
$env:NTFS_MCP_PIPE = 'ntfs-mcp-dev'
python -I -B tests\smoke_mcp.py ntfs-mcp-dev D:\path\to\ntfs-mcp # every tool over stdio
python -I -B tests\live_test.py D:\some\folder # live updates within a secondBugs and pull requests: see CONTRIBUTING.md. Security problems: see SECURITY.md.
License
MIT. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect ChatGPT, Claude, Cursor or VS Code to your Windows PC: files, terminal, browser, apps.
Let ChatGPT and Claude read and edit files, search and run commands on your own computer.
Safe folder access for ChatGPT and Claude: read, write and search files, risky tools opt-in.
Your own computer's files from ChatGPT or Claude: folder rules, confirmations and undo.
Related MCP Servers
- AlicenseBqualityCmaintenanceIntegrates Everything file search with Claude Desktop, enabling instant Windows filesystem search via natural language queries.1666 PyPI7MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude AI to securely access files, run shell commands, and search through a Windows computer with explicit user permission.7 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables Claude to search and read the user's local document collection (PDF, Word, Excel, Markdown, plain text) during a conversation by subject, by file name/path, or by exact word, and to retrieve file contents page by page. It also supports finding folders relevant to a topic and checking indexing status, with everything running locally on the user's machine.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to search whole NTFS volumes by filename without any background GUI, parsing the $MFT directly and refreshing results from the USN Journal on demand. Supports an Everything-compatible query subset (boolean, path:, ext:, size:, date and regex filters), plus index status and full rebuild tools.MIT