WinDirStat MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WinDirStat MCP Server scan my Documents folder for large files"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WinDirStat MCP Server 🧹📊
Model Context Protocol (MCP) Server for real-time Windows storage analysis, deep folder scanning, safety tiering, and protected cleanup operations.
Features & Exposed Tools
scan_directoryDeep scans a folder and returns all items with size (MB/GB), file counts, and last write dates.
get_largest_itemsRanks the top N largest files and subdirectories for any target path.
categorize_safety_tiersCategorizes files/folders into Tier 1 (100% Safe Cache/Temp), Tier 2 (Reviewable Downloads/Media), and Tier 3 (Protected Code/Projects).
clean_safe_targetsCleans temporary caches and specified paths with built-in protection guards preventing accidental deletion of project repositories.
Related MCP server: wiztree-mcp
Configuration / Installation
1. Claude Desktop Integration (claude_desktop_config.json)
Add the following entry to your %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"windirstat": {
"command": "node",
"args": [
"C:\\Users\\Hariz\\windirstat-mcp\\index.js"
]
}
}
}2. Antigravity IDE / Cursor / VS Code Integration
Add to your MCP settings configuration:
{
"mcpServers": {
"windirstat": {
"command": "node",
"args": [
"C:/Users/Hariz/windirstat-mcp/index.js"
]
}
}
}Available Tools
4 toolscategorize_safety_tiersB
Categorize directory items into Tier 1 (100% Safe Cache/Temp), Tier 2 (Reviewable Downloads/Media), and Tier 3 (Protected Code/Projects).
Inputs: path (required).
clean_safe_targetsC
Safely delete specified temporary cache folders or files with built-in protection guards.
Inputs: targets (required), confirmAction (required).
get_largest_itemsA
Find top N largest files and subfolders under a specific path.
Inputs: path (required), limit.
scan_directoryB
Deep scan a directory and return subdirectories sorted by storage size in MB/GB with file counts.
Inputs: path (required), maxDepth, minSizeMB.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: scanning, finding large items, categorizing by safety, and cleaning. No overlap or ambiguity.
All tools use snake_case with a consistent verb_noun pattern (e.g., scan_directory, categorize_safety_tiers), making predictions easy.
With only 4 tools, the server is well-scoped for disk cleanup. Each tool adds essential functionality without redundancy or bloat.
The tools cover a logical workflow from scanning to cleaning. Minor gap: no tool to view or manage individual files beyond the clean operation, but the surface is sufficient for the domain.
Maintenance
Related MCP Connectors
Connect ChatGPT, Claude, Cursor or VS Code to your Windows PC: files, terminal, browser, apps.
Read and search folders on your own computer with explicit consent. Files are never uploaded.
Your own computer's files from ChatGPT or Claude: folder rules, confirmations and undo.
Your own AI reads, searches and drafts in your mailbox, on your Windows computer.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceBridges AI assistants with WizTree to scan drives, find large files/folders, and perform intelligent cleanups.MIT
- AlicenseNot gradedqualityCmaintenanceEnables natural-language queries about disk usage by driving WizTree scans and analyzing cached CSV snapshots. Users can find large files, duplicate data, folder breakdowns, and more without repeatedly rescanning the disk.19MIT
- AlicenseNot gradedqualityBmaintenanceEnables local AI assistants to inspect Windows disk usage with treemap and folder X-ray views, retrieve cleanup previews, and receive application removal guidance, while exposing only non-destructive commands through MCP.MIT
- AlicenseNot gradedqualityBmaintenanceEnables natural-language management of macOS disk cleanup by scanning large files, AI model weights, and caches, identifying duplicates, and safely moving files to Trash or permanently deleting them with confirmation.MIT