Ask your AI app what is filling your Mac

spacecleaner is a free MCP server. Your AI app can measure your disk, list known space-takers and say whether a folder is safe to delete. It only reads; it never deletes anything.

What you can ask

  • "What is taking up space on my Mac?"
  • "Is ~/Library/Developer/Xcode/DerivedData safe to delete?"
  • "Find files over 2 GB in my Downloads."
  • "How much could I free without losing anything?"

The five tools

ToolWhat it does
disk_overviewHow full the disk is and the biggest folders in your home folder, or any folder.
what_can_i_freeKnown space-takers on this Mac, biggest first, each marked safe, careful or keep. From the same list of 280+ folders as Safe to delete?
is_it_safe_to_deleteA verdict for any path. It warns when the path is inside a git repository with work that is not committed or pushed.
find_large_filesFiles above a size you choose, biggest first.
open_junk_raccoonOpens Junk Raccoon so you can clean with a plan and Undo, or gives the download link.

Set it up

You need Node.js. In Junk Raccoon, Settings → AI has copy buttons for both.

Claude Code:

 Terminal
claude mcp add spacecleaner -- npx -y github:HalberdLLC/spacecleaner-mcp

Claude Desktop, Cursor and most other apps: add this to the app's MCP settings.

 Terminal
{
  "mcpServers": {
    "spacecleaner": { "command": "npx", "args": ["-y", "github:HalberdLLC/spacecleaner-mcp"] }
  }
}

To measure everything inside ~/Library, give the AI app Full Disk Access in System Settings → Privacy & Security. Without it, some folders show "at least" a size.

Why it never deletes

An AI that can delete files can delete the wrong ones. spacecleaner only measures and explains. Removing files stays your call, in Junk Raccoon: every item shows why it is safe, the plan is checked first, everything goes to the Trash, and one Undo puts it all back.

  • No tool writes to your disk. Sizes come from du, which does not follow links, with time limits.
  • Nothing is sent anywhere. The folder list is inside the package.
  • The code is open: github.com/HalberdLLC/spacecleaner-mcp (MIT).

Junk Raccoon is free: download it, no account and no ads.

Questions

Does the MCP server delete files?

No. All of its tools only read sizes and explain folders, except one that opens the Junk Raccoon app. Deleting stays your decision.

Does it send my file list anywhere?

No. It runs on your Mac and answers your AI app directly. The AI app itself sees the answers, as with any tool you give it.

Do I need Junk Raccoon?

No. The MCP server works on its own. Junk Raccoon is the free app for the clean-up itself, with Undo.

Let the raccoon do it, safely

Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.

Download for Mac