Skip to main content
Glama
harezadmm

WinDirStat MCP Server

by harezadmm

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

  1. scan_directory

    • Deep scans a folder and returns all items with size (MB/GB), file counts, and last write dates.

  2. get_largest_items

    • Ranks the top N largest files and subdirectories for any target path.

  3. categorize_safety_tiers

    • Categorizes files/folders into Tier 1 (100% Safe Cache/Temp), Tier 2 (Reviewable Downloads/Media), and Tier 3 (Protected Code/Projects).

  4. clean_safe_targets

    • Cleans temporary caches and specified paths with built-in protection guards preventing accidental deletion of project repositories.


Related MCP server: Clyan

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 tools
categorize_safety_tiersB

Categorize directory items into Tier 1 (100% Safe Cache/Temp), Tier 2 (Reviewable Downloads/Media), and Tier 3 (Protected Code/Projects).

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute directory path to categorize

TDQS

B3.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must fully disclose behavior. It only lists the tier definitions but does not explain whether the tool modifies files, returns a list, or operates read-only. The action 'categorize' could imply destructive changes, but this is not clarified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, well-structured sentence that conveys the core functionality in under 20 words. No extraneous content; every word adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of output schema and annotations, the description should explain the tool's output, side effects, and resource requirements. It omits what the tool returns or whether it alters the filesystem, leaving the agent with significant uncertainty.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with one parameter 'path' described as 'Absolute directory path to categorize'. The description does not add additional parameter-level detail beyond what the schema already provides, so a baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: categorizing directory items into three tiers with specific examples (Cache/Temp, Downloads/Media, Code/Projects). This distinctively differentiates it from sibling tools like scan_directory or get_largest_items.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for categorizing items into safety tiers but does not explicitly state when to use this tool versus alternatives (e.g., scan_directory). No exclusions or context for when not to use it are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

clean_safe_targetsC

Safely delete specified temporary cache folders or files with built-in protection guards.

ParametersJSON Schema
NameRequiredDescriptionDefault
targetsYesArray of absolute file or directory paths to clean
confirmActionYesMust be true to execute deletion

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description must detail behavior. It mentions 'safely delete' and 'built-in protection guards' but does not specify what protections exist (e.g., path validation, confirmation required), the actual deletion behavior, or side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence conveying the core purpose without extraneous words. Efficient and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations or output schema, the description should provide more context about return value, error handling, and detailed behavior. It only gives a high-level action, leaving significant gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with clear parameter descriptions. The description adds minimal extra meaning (hints at safety via confirmAction) but does not substantially improve understanding beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it deletes temporary cache folders/files with safety features. The verb 'delete' and resource 'temporary cache folders or files' are specific. Siblings are scanning, listing, and categorizing tools, making this distinct.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool versus alternatives. The description implies a scenario (cleaning temporary files) but does not state prerequisites, when not to use, or how to decide among siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_largest_itemsA

Find top N largest files and subfolders under a specific path.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute directory path to inspect
limitNoNumber of top items to return (default 15)

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It states the tool finds largest files and subfolders, but does not disclose whether it is read-only, required permissions, performance implications, or behavior on nonexistent paths. Basic behavioral context is present but not comprehensive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence with no wasted words. It is front-loaded with the action and resource, making it easy to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (2 parameters, no output schema), the description is largely sufficient. However, it does not define 'largest' (e.g., by size in bytes) or mention result ordering, which could be helpful. Overall, slightly incomplete but adequate for most agent use cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers both parameters with descriptions. The description adds no further semantics beyond what the schema provides, such as clarifying that 'largest' refers to size. Since schema coverage is 100%, a baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Find', the resource 'largest files and subfolders', and the scope 'under a specific path'. It distinguishes from siblings like scan_directory (which likely lists all) and categorize_safety_tiers (safety-related).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for finding top N items by size under a path, but does not explicitly state when to use this over sibling tools like scan_directory or clean_safe_targets. No alternatives or exclusions are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

scan_directoryB

Deep scan a directory and return subdirectories sorted by storage size in MB/GB with file counts.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute directory path to scan
maxDepthNoDepth to recurse (default 2)
minSizeMBNoMinimum size threshold in MB (default 50)

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description implies a read-only operation but does not explicitly state side effects, safety, or behavior such as permission requirements or handling of non-existent paths. With no annotations, the description should provide more transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that is front-loaded with the action. It is concise but could be more structured to include usage or behavior details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is incomplete given the complexity of the tool. It does not explain the return format in detail, depth behavior, or error handling. With no output schema, the description should provide more context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with all parameters described, so baseline is 3. The description adds no extra meaning to the parameters beyond the schema, so no improvement.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's action: deep scan a directory and return subdirectories sorted by storage size with file counts. It uses specific verbs and a resource, and is distinct from sibling tools like get_largest_items and categorize_safety_tiers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given on when to use this tool versus alternatives. The description only states what the tool does, with no mention of context, prerequisites, or when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 4 tool updatesv1.0.0
    • First observedcategorize_safety_tiers
    • First observedclean_safe_targets
    • First observedget_largest_items
    • First observedscan_directory

TDQS

A3.6/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: scanning, finding large items, categorizing by safety, and cleaning. No overlap or ambiguity.

Naming Consistency5/5

All tools use snake_case with a consistent verb_noun pattern (e.g., scan_directory, categorize_safety_tiers), making predictions easy.

Tool Count5/5

With only 4 tools, the server is well-scoped for disk cleanup. Each tool adds essential functionality without redundancy or bloat.

Completeness4/5

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

ActivitySlowing
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables LLMs to organize and manage Windows file systems with intelligent file analysis, automated grouping, renaming with date prefixes, and safe operations through dry-run mode and sandbox restrictions.
    1
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to clean disk space by scanning and removing temporary files, caches, and duplicates through natural language commands via MCP protocol.
    1
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/harezadmm/windirstat-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server