Mcp Folder Scout

io.github.dharani0804由 GitHub 账号 dharani0804 发布v0.1.1更新于 Oct 24, 2026

Read-only folder triage: what is in a folder, what is stale, and where the space went.

已验证STDIO仅桌面文件与存储数据与分析

概览

AI 生成的概览

只读的 MCP 服务器,让助手汇总某个本地文件夹:文件数量、大小、时间分布、最大的子文件夹以及长期未访问的文件。

可以做什么
  • 扫描文件夹,汇总文件类型、时间区间和最大的子文件夹
  • 按时间、大小、类型或子文件夹筛选并列出单个文件
  • 指出长期未访问的文件以及空间主要占用在哪里
  • 将身份、法律、税务和医疗类文件标记为受保护,不列入清理建议
  • 报告被跳过的文件夹,例如云同步、系统、应用包和构建目录
适用场景
适合想弄清某个文件夹的空间占用、找出陈旧或长期未动的文件,或获取由你自己执行的清理建议。它面向对本地文件夹的一次性梳理,而非持续的文件管理。
运行要求
通过 uvx 以 stdio 在本地运行,需要 uv 和 Python 3.10 或更高版本。未声明任何账号、API 密钥或环境变量。可与任何 MCP 客户端配合使用,包括通过配置文件接入 Claude Desktop。
安装前请注意
它会把文件名、大小和时间戳发送给助手,但不会发送文件内容。它无法删除、移动或重命名任何文件,清理需由你自行完成。访问时间并不可靠,旧文件也可能很重要,删除前请先核对建议。云同步文件夹会被跳过,扫描默认最多 50,000 个文件、三层深度。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mcp Folder Scout,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

mcp-folder-scout

Ask Claude what's in a folder, what's gone stale, and where the space went.

Points at one folder on your machine and reports names, sizes, and dates. It cannot read file contents, and it cannot move or delete anything.

> What's in my Downloads folder, and what haven't I opened in over a year?
771 files, 43.0 GB. Video is 96% of it.
Not opened in over a year: 102 files, 15.3 GB, almost all of itvideo — Barclay lake (27 clips, ~12 GB) and Big (2 clips, 2.5 GB).If those are backed up elsewhere, they're the obvious candidates.
76 files matched identity, legal, tax, or medical naming and wereexcluded from the suggestions above.

Install

bash
claude mcp add --scope user folder-scout -- uvx mcp-folder-scout

For Claude Desktop, add this to claude_desktop_config.json and restart:

json
{  "mcpServers": {    "folder-scout": {      "command": "uvx",      "args": ["mcp-folder-scout"]    }  }}

The config file lives at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows.

Requires uv and Python 3.10+. Works with any MCP client.

Tools

ToolWhat it does
scan_folderRollup of a folder: type breakdown, age bands, largest subfolders.
list_filesIndividual files filtered by age, size, type, or subfolder.

Both return metadata only.

What it will not do

It cannot delete, move, or rename anything. There is no write path in the code. Suggestions go to you; you act on them yourself in Finder.

It cannot read your files. Only names, sizes, and timestamps leave your machine.

It will not recommend removing your documents. Files and folders matching identity, legal, tax, or medical naming — passport, visa, W2, insurance, marriage, deed, and others — are counted in the totals and marked, but never offered as cleanup candidates. That protection inherits downward, so a file called scan1.pdf inside Passport Renewal/ is covered too.

Cloud-synced folders (iCloud, Dropbox, OneDrive) are skipped rather than handled, because their sizes and timestamps are meaningless on disk. System folders, app bundles, and build directories are skipped too. Every scan reports what it excluded.

Known limits

Last-access time is a hint, not a fact. Spotlight, backups, and antivirus can all bump it, and some volumes stop tracking it entirely. When the server detects that access times aren't being maintained, it says so and falls back to modified dates.

Old and untouched describes archived tax records as accurately as it describes junk. That's what the protected list is for, and it will not catch everything. Review before you delete.

APFS clones and hard links share blocks on disk. Files sharing an inode are counted once, so totals don't double-count, but deleting one copy of a cloned file may free less than its listed size.

Scans stop at 50,000 files and descend three levels by default. Results are cached for five minutes; pass refresh to force a rescan.

Screenshot piles and near-duplicate images are not detected yet. Exact-duplicate detection is planned.

License

MIT

mcp-name: io.github.dharani0804/mcp-folder-scout

mcp-name: io.github.dharani0804/mcp-folder-scout

来源:README.md,提交 f6a5917

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分