Storage Assistant

io.github.akshay-rakheja由 GitHub 帳號 akshay-rakheja 發布v0.6.12更新於 Nov 12, 2026

See what fills a folder on your Mac as a treemap in the chat, and clear it with a click.

發布方自己的服務:Tigris MCP Server

已驗證STDIO僅桌面檔案與儲存資料與分析

概覽

AI 產生的概覽

在 Mac 本機執行的工具,讓助手量測指定資料夾的磁碟用量並以可點擊的矩形樹狀圖呈現,清理動作需你確認。

可以做什麼
  • 量測指定資料夾並列出最大的檔案與資料夾
  • 以互動式矩形樹狀圖呈現結果,可切換項目/檔案類型與檔案大小/磁碟佔用檢視
  • 提出可清理項目建議,分為「可安全清理」與「值得一看」
  • 開啟本機瀏覽器全尺寸檢視,支援快速查看與在 Finder 中顯示
  • 可選擇檢查 git 儲存庫狀態,並依校驗碼找出完全重複的檔案
適用情境
適合想了解 Mac 上某個資料夾(例如「下載」或專案目錄)被什麼佔滿、並決定要清理什麼時使用,不必離開對話。
執行需求
在 macOS 本機執行,需安裝 Python 3;以 .mcpb 擴充套件安裝於 Claude Desktop,或作為外掛安裝於 Claude Code、ChatGPT 桌面應用程式。macOS 可能詢問一次是否允許存取所選資料夾。未宣告需要帳號或 API 金鑰。
安裝前請注意
檔案與資料夾名稱、路徑、大小與日期會傳給助手並成為對話內容。移到垃圾桶、永久刪除與移除 iCloud 下載僅在點擊時發生,但永久刪除無法復原;對 iCloud 同步項目,移到垃圾桶與永久刪除也會從所有已登入裝置移除。可選檢查會讀取部分檔案資料並執行 git status。啟動時會向 GitHub 查詢更新,可用 STORAGE_ASSISTANT_UPDATE_CHECK 關閉。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Storage Assistant,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Storage Assistant

See what's taking up space on your Mac by asking Claude (or ChatGPT) in plain language, explore the answer as an interactive treemap, and clear what you don't need.

[Asking to free up space in Downloads: a treemap with safe picks ticked, a look inside a folder, then a review and one click to move them to the Trash]

"What's taking up the most space in my Downloads?"

Storage Assistant measures the folder you name, right on your Mac, and answers with the biggest files and folders. In Claude Desktop the answer comes with a treemap you can click into. It reads names, sizes and dates only: file contents are never opened, and nothing is moved or deleted unless you click to do it in the view.

Install

You need a Mac with Python 3 (type python3 --version in Terminal; if macOS offers to install developer tools, accept).

Claude Desktop (recommended: includes the treemap)

  1. Download storage-assistant.mcpb.
  2. Double-click it and choose Install (or Settings → Extensions → Advanced settings → Install Extension).
  3. Start a new chat and ask about a folder. Click Allow when Claude asks to use Storage Assistant.

Claude Code

sh
claude plugin marketplace add https://github.com/akshay-rakheja/storage-assistant.gitclaude plugin install storage-assistant@storage-assistant

Start a new session and ask. Update later with claude plugin update storage-assistant@storage-assistant.

ChatGPT desktop app (Codex)

sh
/Applications/ChatGPT.app/Contents/Resources/codex-cli/bin/codex plugin marketplace add akshay-rakheja/storage-assistant

Restart the ChatGPT app, open the Plugins Directory, install Storage Assistant, and ask in a Codex conversation. (Not yet tested as thoroughly as Claude; if no treemap appears, ask it to "open the local view".)

Using it

  • Name the folder in your question: "…in ~/Downloads", "…in ~/Desktop/Projects". It measures one folder at a time (not your whole Mac or home folder); if you don't name one, a folder picker opens.
  • Big folders show a live "Scanning…" view that turns into the treemap when the scan finishes.
  • macOS may ask once whether Claude can access that folder. Allow it.
  • Everything is counted, including node_modules, .git and iCloud-only files. Files under 1 MB are grouped per folder (for example "5,021 small code files") so even huge folders are measured completely: a 2.8-million-file Documents folder took under 3 minutes in testing. The assistant tells you while it is still scanning.
  • File size vs Space on disk: if iCloud keeps your files in the cloud, "File size" can be many times larger than what your Mac actually stores. The treemap says so when that happens.
  • In the treemap, click a folder to open it, use the path at the top to go back, and switch between Items and File types, or File size and Space on disk.
  • Want the full-size map with every name? Ask it to "open the local view".

Freeing space

Ask "help me free up space in ~/Downloads". Claude suggests items worth a look, each with the reason (an unfinished download, an installer you already installed, a node_modules folder that rebuilds with npm install…), and the treemap switches to clean-up mode. In the local browser view, click Free up space for the same list.

  • Suggestions are sorted into Safe to clear (ticked for you) and Worth a glance (not ticked). Labels describe what was found; they are not a promise that something is unneeded, so check anything you are unsure about. In the local view, Quick Look and Show in Finder open an item before you decide.
  • Tick what you want, then Review…. Each item is checked again on disk, and anything that changed since the scan, was modified in the last 7 days, or lives only in iCloud is left out with the reason.
  • Then pick one action:
    • Move N items to Trash — the same as dragging them to the Trash. Undo: Finder's Put Back (the receipt has an Open Trash button). Space is freed when you empty the Trash.
    • Delete permanently, free X now — only offered for items marked Safe to clear (like node_modules, unfinished downloads or an installer copy of an app you have), and only after a second "This can't be undone" confirmation. No undo.
    • Remove N downloads (keep in iCloud) — for iCloud Drive files: removes the copy on this Mac and keeps the file in iCloud, where it downloads again when you open it. Nothing is lost.
  • iCloud Drive, Desktop and Documents: for items synced with iCloud, Move to Trash and Delete permanently remove them from iCloud and from every device signed in to it. Only Remove Download keeps the file in iCloud.
  • A receipt lists what was done, what was left alone and anything that didn't finish, with your free space before and after. The map then rescans.

Two optional checks are off until you switch them on in the view, and read a little file data on your Mac when on:

  • Check git repositories runs git status in repositories inside the folder (and reads the remote's host name) so a project can be marked "Pushed, nothing unsaved". It does not fetch or change anything, and it skips (never marks as pushed) any repository whose own settings could make git run a command, such as fsmonitor or filter drivers.
  • Find exact duplicates compares the contents of same-size files (1 MB or more) by computing a checksum on your Mac. Contents and checksums are never sent anywhere.

Privacy

  • Shared with the assistant: file and folder names, paths inside the folder you chose, sizes and dates. They become part of your conversation, like anything you paste.
  • Never read: file contents are never read by Storage Assistant, except by the two optional clean-up checks above, and only while you have them switched on. Quick Look in the local view is macOS showing the file to you when you click it; nothing from it goes to the assistant.
  • Never scanned: your whole home folder, system folders, ~/Library, other disks, and credential stores (.ssh, .aws, .gnupg, .env, key files).
  • iCloud-only files are counted at their full size but take no space on your Mac. They are never downloaded.
  • Only your click changes anything: moving to the Trash, deleting or removing downloads happens only when you click the button in the treemap or local view. Claude can suggest items but cannot call the actions that change files, and every item is checked again just before anything happens.

Storage Assistant runs on your Mac and only talks to the Claude or ChatGPT app that started it, with one exception: when it starts, it asks GitHub for the latest release number so the treemap can offer an update. That request carries nothing about your files or folders. To turn it off, set STORAGE_ASSISTANT_UPDATE_CHECK=0 in the plugin's environment. Full details: privacy policy.

"File size" and "Space on disk" can differ a lot (for sparse and cloud files), and neither tells you exactly how much deleting something will free, because macOS can share space between files.

Feedback

Found a bug or have an idea? Open an issue. A screenshot helps. If the treemap doesn't appear in Claude Desktop, ~/Library/Logs/Claude/mcp-server-Storage Assistant.log shows which tools ran (tool names and timings only).

Uninstall

  • Claude Desktop: Settings → Extensions → Storage Assistant → Uninstall.
  • Claude Code: claude plugin uninstall storage-assistant@storage-assistant
  • ChatGPT: remove it in the Plugins Directory.

Development

Everything that gets installed lives in plugins/storage-assistant/: a small Python package with no third-party dependencies.

sh
make test           # unit tests on throwaway synthetic foldersmake build          # syntax and manifest checksmake mcpb           # build dist/storage-assistant.mcpb for Claude Desktopmake release        # tag, build and publish a GitHub release (bump versions first)

Inspired by DiskTree by Tobi Lütke. No DiskTree code is included.

MIT licensed. See LICENSE.

來源:README.md,提交 3186b14

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

1
  1. v0.6.12最新Nov 12, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Storage 整合