
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A demo MCP server that lets Claude check the Mac system disk's usage in real time via a get_disk_usage tool.
Disk Usage MCP Server (Demo) is cataloged as an MCP server attributed to u1i. A demo MCP server that lets Claude check the Mac system disk's usage in real time via a get_disk_usage tool. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Disk Usage MCP Server (Demo) are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No. The server is specifically designed for the Mac disk structure and looks for the /System/Volumes/Data partition; the README states it will not work on other operating systems.
It returns a dictionary with device, total_gb, used_gb, available_gb, reserved_gb, percent_used, mount, and a human-readable summary.
README.md · 5c973345ee38 · Fetched 2026-11-13 11:22:07 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Model Context Protocol (MCP) is a protocol that enables AI models like Claude to interact with external tools and services. It allows Claude to access real-time system information and perform actions on your behalf.
Learn more about MCP:
When integrated with Claude Desktop, this demo MCP server enables Claude to check your disk usage (on the Mac) in real-time. Here's an example interaction:

User: "What is my current disk usage?"
Claude: "Let me check your current disk usage for you."
[approval to use disk-usage tool, user gives consent]
{
"device": "/dev/disk3s5",
"total_gb": "228.0GB",
"used_gb": "177.0GB",
"available_gb": "27.0GB",
"reserved_gb": "24.0GB",
"percent_used": "87%",
"mount": "/System/Volumes/Data",
"summary": "Total: 228.0GB | Used: 177.0GB | Available: 27.0GB | Reserved: 24.0GB | Usage: 87%"
}
Claude: "Here's your current disk usage information:
Total Disk Space: 228.0GB
Used Space: 177.0GB
Available Space: 27.0GB
Reserved Space: 24.0GB
Usage Percentage: 87%
Mount Point: /System/Volumes/Data
Device: /dev/disk3s5
Your disk is currently at 87% capacity, with 27.0GB of space still available. If you're concerned about the high usage, you might want to consider cleaning up some files to free up more space."
When the server starts, it advertises its capabilities to Claude through the MCP protocol. Here's what Claude sees:
@mcp.tool()
def get_disk_usage() -> Dict[str, str]:
"""Get current disk usage information for the system disk
Returns:
A dictionary containing disk usage information with fields:
- device: Device name
- total_gb: Total size in GB
- used_gb: Used space in GB
- available_gb: Available space in GB
- reserved_gb: Space reserved by system in GB
- percent_used: Usage percentage
- mount: Mount point
- summary: Human-readable summary of disk usage
"""
This tells Claude that:
get_disk_usageYou are Claude, an AI assistant. You have access to these tools:
get_disk_usage() -> Dict[str, str]
"Get current disk usage information for the system disk"
To use this tool, respond with a <tool_call> XML block:
<tool_call>
<name>get_disk_usage</name>
<reason>Explain why you need disk usage information</reason>
</tool_call>
User: What is my current disk usage?
I'll check your disk usage information.
<tool_call>
<name>get_disk_usage</name>
<reason>User has requested current disk usage information. This tool will provide detailed statistics about disk space utilization.</reason>
</tool_call>
// HTTP POST to MCP Server
{
"jsonrpc": "2.0",
"method": "invoke",
"params": {
"tool": "get_disk_usage",
"args": {}
},
"id": 1
}
{
"jsonrpc": "2.0",
"result": {
"device": "/dev/disk3s5",
"total_gb": "228.0GB",
"used_gb": "177.0GB",
"available_gb": "27.0GB",
"reserved_gb": "24.0GB",
"percent_used": "87%",
"mount": "/System/Volumes/Data",
"summary": "Total: 228.0GB | Used: 177.0GB | Available: 27.0GB | Reserved: 24.0GB | Usage: 87%"
},
"id": 1
}
User: What is my current disk usage?
Tool Response:
{
"device": "/dev/disk3s5",
"total_gb": "228.0GB",
"used_gb": "177.0GB",
"available_gb": "27.0GB",
"reserved_gb": "24.0GB",
"percent_used": "87%",
"mount": "/System/Volumes/Data",
"summary": "Total: 228.0GB | Used: 177.0GB | Available: 27.0GB | Reserved: 24.0GB | Usage: 87%"
}
Provide a helpful response to the user based on this disk usage information.
Here's your current disk usage information:
Total Disk Space: 228.0GB
Used Space: 177.0GB
Available Space: 27.0GB
Reserved Space: 24.0GB
Usage Percentage: 87%
Mount Point: /System/Volumes/Data
Device: /dev/disk3s5
Your disk is currently at 87% capacity, with 27.0GB of space still available. If you're concerned about the high usage, you might want to consider cleaning up some files to free up more space.
This shows the complete flow:
# Tool advertisement from server
{
"tools": [
{
"name": "get_disk_usage",
"description": "Get current disk usage information for the system disk",
"parameters": {}, # No parameters needed
"returns": {
"type": "object",
"properties": {
"device": {"type": "string"},
"total_gb": {"type": "string"},
"used_gb": {"type": "string"},
"available_gb": {"type": "string"},
"reserved_gb": {"type": "string"},
"percent_used": {"type": "string"},
"mount": {"type": "string"},
"summary": {"type": "string"}
}
}
}
]
}
User Query:
User: "What is my current disk usage?"
Claude's Tool Selection:
Claude recognizes this query requires disk information and decides to use the get_disk_usage tool.
Claude: "Let me check your current disk usage for you."
[approval to use disk-usage tool, user gives consent]
Tool Invocation and Response:
// Raw tool response
{
"device": "/dev/disk3s5",
"total_gb": "228.0GB",
"used_gb": "177.0GB",
"available_gb": "27.0GB",
"reserved_gb": "24.0GB",
"percent_used": "87%",
"mount": "/System/Volumes/Data",
"summary": "Total: 228.0GB | Used: 177.0GB | Available: 27.0GB | Reserved: 24.0GB | Usage: 87%"
}
Claude's Natural Response: Claude processes the raw data and provides a human-friendly response:
Here's your current disk usage information:
Total Disk Space: 228.0GB
Used Space: 177.0GB
Available Space: 27.0GB
Reserved Space: 24.0GB
Usage Percentage: 87%
Mount Point: /System/Volumes/Data
Device: /dev/disk3s5
Your disk is currently at 87% capacity, with 27.0GB of space still available. If you're concerned about the high usage, you might want to consider cleaning up some files to free up more space."
Under the hood, MCP uses a bidirectional JSON-RPC protocol over WebSocket. Here's how it works:
Initialization:
// Claude -> Server
{
"jsonrpc": "2.0",
"method": "initialize",
"params": {
"protocolVersion": "2024-11-05",
"capabilities": {},
"clientInfo": {
"name": "claude-ai",
"version": "0.1.0"
}
},
"id": 0
}
Tool Advertisement:
The server responds with its capabilities, including the get_disk_usage tool and its schema.
Tool Invocation:
// Claude -> Server
{
"jsonrpc": "2.0",
"method": "invoke",
"params": {
"tool": "get_disk_usage",
"args": {}
},
"id": 1
}
Server Response:
// Server -> Claude
{
"jsonrpc": "2.0",
"result": {
"device": "/dev/disk3s5",
"total_gb": "228.0GB",
"used_gb": "177.0GB",
...
},
"id": 1
}
This WebSocket-based protocol allows for:
disk_usage_server.py) uses Python's subprocess module to run the df command/System/Volumes/Data partition (disk3s5 on macOS)Clone this repository
Install dependencies:
pip install -r requirements.txt
python disk_usage_server.py
Note: This server specifically looks for the /System/Volumes/Data partition (disk3s5) on macOS. It will not work on other operating systems.
claude-config.txt file in your Claude Desktop configuration directory (usually ~/.config/claude-desktop/ on macOS) with:{
"mcpServers": {
"disk-usage": {
"command": "python3",
"args": [
"<path-to-your-directory>/disk_usage_server.py"
]
}
}
}
Replace <path-to-your-directory> with the actual path to where you saved the server files
Restart Claude Desktop
This project demonstrates:
disk_usage_server.py: The main MCP server implementationrequirements.txt: Python dependenciesclaude-config.txt: Example Claude Desktop configurationClaim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Disk Usage MCP Server (Demo) from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-disk-usage)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.