Inspect and safely clean local Xcode, Simulator, and XCTest storage.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
A native macOS menu-bar application for inspecting and removing storage created by Xcode, Simulator, and XCTest.
[!CAUTION] Derived permanently deletes selected developer data instead of moving it to the Trash. Review the cleanup plan before confirming deletion.
Derived finds and removes storage created by Xcode, Simulator, and XCTest. It reports verified reclaimable space, keeps APFS clone sizes separate, and protects active or high-risk targets.
Use Derived through the macOS app, the derived CLI, or the local derived-mcp server. All three interfaces use the same scanner, path validation, and cleanup workflow. Derived runs locally and does not collect analytics.
| Interface | Intended use |
|---|---|
| macOS app | Interactive scans, cleanup selection, scheduling, and history |
| CLI | Terminal workflows, shell scripts, and structured JSON output |
| MCP server | Structured access for Codex, Claude Code, Cursor, and other MCP clients |
The trust command is required once for the third-party tap.
Update the app with:
Derived.app to Applications.The agent tools include the derived CLI, the derived-mcp server, and the derived-cleanup skill. The macOS app is not required.
derived integrations install detects Codex, Claude Code, and Cursor on the Mac. It registers the MCP server and installs the skill for each detected client.
Update the tools and refresh their integrations with:
The CLI checks for new versions at most once per day during interactive commands. Update notices never appear in JSON or MCP output.
The latest Derived DMG also includes Derived Agent Tools for installation without Homebrew.
When the app and DMG-installed tools are both present, Derived offers to update the tools after an app update. Without the app, download the latest DMG and run Derived Agent Tools again.
Clients that support MCPB bundles can install Derived-MCP-VERSION-macOS-universal.mcpb from the latest release. The MCPB contains the MCP server, but it does not install the derived CLI or portable skill.
Check which clients are configured:
Then start a new session in Codex, Claude Code, or Cursor and ask:
See Agent Integrations for client-specific commands, manual configuration, and uninstallation.
The CLI provides aligned tables for interactive use and JSON for scripts and agents.
| Command | Purpose |
|---|---|
derived scan | Scan Xcode, Simulator, and XCTest storage and print a scan ID |
derived list | List candidates from one category in a previous scan |
derived prepare | Create an expiring cleanup plan for selected items or categories |
derived delete | Execute a prepared plan with its exact confirmation phrase |
derived integrations install | Configure the MCP server and skill for supported coding agents |
derived integrations status | Report installed agent integrations |
derived integrations update | Update Homebrew-managed tools and refresh their integrations |
Start with a scan:
Use the scan ID printed by derived scan to inspect a category and prepare a plan:
Replace SCAN_ID with the UUID printed by the scan. Do not include angle brackets. The prepare command prints the exact confirmation phrase and complete derived delete command for that plan.
Use --json when another program will consume the output:
Scan IDs expire after 30 minutes. Cleanup plans expire after 10 minutes and can be executed once.
simctl to remove simulator devices and runtimes through supported system operations.Derived validates every cleanup target against a fixed allowlist. It rejects category roots, paths outside approved developer directories, malformed simulator identifiers, active targets, symbolic-link escapes, and candidates that changed after the plan was created.
Automatic cleanup waits until related development tools are closed and fails safely when process inspection is unavailable. XCTest APFS clone sizes are reported as logical sizes and excluded from verified reclaimable totals.
See Safety for the complete deletion model and approved paths.
simctl-backed cleanupThe DMG contains prebuilt universal applications and command-line tools. Building from source is not required.
Derived is intentionally not sandboxed because it manages files under ~/Library/Developer and invokes xcrun simctl.
Clone the repository, open Derived.xcodeproj, select the Derived scheme, and build the macOS target.
Command-line build:
Run the application tests:
Build and test the CLI and MCP server:
Launch at Login requires a signed application installed in a stable location. It may not work from an unsigned development build.
Derived/App: application lifecycle, menu-bar item, and panel managementDerived/Features: SwiftUI presentation grouped by featureDerived/Models: cleanup, scan, automation, and reporting modelsDerived/Services: scanning, validation, process inspection, deletion, and persistenceDerived/Shared: shared formatting and design constantsDerived/AgentIntegration: shared CLI and MCP models, state, and safety workflowDerivedTests: safety and behavior testsDerivedCLITests: CLI argument, version, and human-readable output testsDerivedCoreTests: agent integration and destructive-operation safeguardsTools: native CLI and MCP executablesIntegrations: portable agent skills and packaging metadataDerived operates locally. It does not include analytics, advertising, accounts, or network services. See Privacy.
Contributions are welcome. Read Contributing before changing scanner, validation, or deletion behavior.
Maintainers should follow Releasing Derived for signing, notarization, DMG generation, and MCP publication.
Derived is available under the MIT License.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/derived)<a href="https://allmcps.com/mcp/derived"><img src="https://allmcps.com/api/badge/derived?style=directory" alt="Derived on AllMCPs" /></a>