Tidyware

MCP server · App Intents · CLI

TwinSweep
for AI agents

Every feature can be called by an AI assistant. Everything runs locally on the Mac — the AI sends a request, TwinSweep does the work, nothing is uploaded by TwinSweep.

Connect in one click

03

Claude Desktop / Cursor

Open TwinSweep → Settings → AI → Connect. Restart the AI app.

Claude Code

Settings → AI → Copy Command, then paste into Terminal.

Siri & Shortcuts

Actions appear in the Shortcuts app under TwinSweep.

Manual MCP config:

{
  "mcpServers": {
    "twinsweep": {
      "command": "/Applications/TwinSweep.app/Contents/MacOS/twinsweep",
      "args": ["mcp"]
    }
  }
}

Tools

4
ToolWhat it doesChanges files?
find_duplicatesScan folders for duplicate files (identical content) and optionally near-duplicate photos (resized / re-saved / slightly different). Changes nothing. Returns a scan_id, the space that could be freed, and each group with the copy to keep. Skips app bundles, photo libraries, hidden files, symlinks and iCloud files not downloaded.No
get_scanShow all groups of a previous scan ("latest" or a scan_id). Read-only.No
trash_duplicatesMove the extra copies from a scan to the Trash, keeping one copy per group. Each file is re-checked first (still there, unchanged); changed files are skipped. Reversible with undo_last until the Trash is emptied. Ask the user before calling.Yes
undo_lastPut back the files from the most recent trash_duplicates (from the Trash to their original folders). Never overwrites a file that now exists at the original path.Yes

Example requests

05

Command line

CLI
twinsweep list
twinsweep find_duplicates --folders ~/Downloads --similar_images true