Skip to main content
Glama
mcp-folder-scout

mcp-folder-scout

by dharani0804

mcp-folder-scout

Спросите Claude, что находится в папке, что устарело и куда делось место.

Инструмент указывает на одну папку на вашем компьютере и сообщает имена, размеры и даты. Он не может читать содержимое файлов и не может перемещать или удалять что-либо.

> 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 it
video — 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 were
excluded from the suggestions above.

Установка

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

Для Claude Desktop добавьте это в claude_desktop_config.json и перезапустите:

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

Файл конфигурации находится в ~/Library/Application Support/Claude/claude_desktop_config.json на macOS и в %APPDATA%\Claude\claude_desktop_config.json на Windows.

Требуются uv и Python 3.10+. Работает с любым MCP-клиентом.

Related MCP server: WinDirStat MCP Server

Инструменты

Инструмент

Что делает

scan_folder

Сводка по папке: разбивка по типам, возрастные группы, самые крупные подпапки.

list_files

Отдельные файлы с фильтром по возрасту, размеру, типу или подпапке.

Оба возвращают только метаданные.

Чего он не будет делать

Он не может ничего удалять, перемещать или переименовывать. В коде нет пути записи. Рекомендации выдаются вам; вы сами действуете по ним в Finder.

Он не может читать ваши файлы. Ваши данные покидают компьютер только в виде имён, размеров и меток времени.

Он не будет рекомендовать удалять ваши документы. Файлы и папки, имена которых относятся к удостоверяющим личность, юридическим, налоговым или медицинским документам — паспорт, виза, форма W2, страховой полис, свидетельство о браке, документ о праве собственности и другие, — учитываются в итогах и помечаются, но никогда не предлагаются как кандидаты на очистку. Эта защита действует и на вложенные папки, поэтому файл scan1.pdf внутри Passport Renewal/ также защищён.

Синхронизируемые облачные папки (iCloud, Dropbox, OneDrive) пропускаются, а не обрабатываются, потому что их размеры и метки времени на диске бессмысленны. Системные папки, пакеты приложений и каталоги сборки тоже пропускаются. Каждое сканирование сообщает, что было исключено.

Известные ограничения

Время последнего доступа — это подсказка, а не факт. Spotlight, резервные копии и антивирусы могут изменять его, а некоторые тома вообще перестают его отслеживать. Когда сервер обнаруживает, что время доступа не поддерживается, он сообщает об этом и переключается на даты изменения.

Старые и нетронутые данные характерны как для архивных налоговых документов, так и для хлама. Для этого и существует защищённый список, но он не охватит всё. Проверяйте результаты перед удалением.

Клоны APFS и жёсткие ссылки делят блоки на диске. Файлы с общим inode учитываются один раз, поэтому при подсчёте не возникает двойного счёта, однако удаление одной копии клонированного файла может освободить меньше места, чем указанный размер.

По умолчанию сканирование останавливается на 50 000 файлах и углубляется на три уровня. Результаты кэшируются в течение пяти минут; передайте refresh, чтобы принудительно выполнить повторное сканирование.

Скопления скриншотов и почти идентичные изображения пока не распознаются. Определение точных дубликатов запланировано.

Лицензия

MIT

Available Tools

2 tools
list_filesA

List individual files in a folder, filtered by age, size, type, or subfolder.

Use after scan_folder to see the actual files behind a summary line, for example the ones not opened in over a year, or the largest videos.

Each row is: age since last opened, size, and path relative to the folder. A leading asterisk marks a protected file (identity, legal, tax, or medical naming). Report those if the user asked to see them, but never put them forward as something to delete or move.

Returns metadata only. This tool never reads file contents.

path: absolute path to the folder. not_opened_days: only files untouched for at least this many days. 0 for all. min_size_mb: only files at least this large. 0 for all. file_type: one of documents, spreadsheets, images, video, audio, archives, installers, code, other. Or a bare extension such as png. Empty for all. subfolder: restrict to one immediate subfolder by name. Empty for all. sort_by: size, oldest (least recently opened), or newest. Default size. limit: rows to return, capped at 100. Default 25.

Inputs: path (required), limit, sort_by, file_type, +4 more. Returns: result

scan_folderA

Summarize a folder: what dominates it, how old everything is, and where the bulk sits.

Call this first. It returns a rollup rather than a file list, so it stays cheap on folders with tens of thousands of files. Follow with list_files to see individual files matching whatever the summary suggests is worth looking at.

Two things to keep in mind. Size does not imply disposability: large media is often what the user most wants to keep, so age matters more than size. And files matching identity, legal, tax, or medical naming are counted here but marked protected; never suggest removing them.

Cloud-synced folders, system folders, app bundles, and build directories are excluded; the output reports how many were skipped.

path: absolute path to the folder, for example /Users/you/Downloads max_depth: how many levels of subfolder to descend. Default 3.

Inputs: path (required), max_depth. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.9/5.0

    Scored across 2 tools

    Disambiguation5/5

    scan_folder and list_files have cleanly distinct purposes: one summarizes the whole folder, the other enumerates specific files. They form a clear two-step workflow with no boundary ambiguity.

    Naming Consistency5/5

    Question: scan_folder and list_files both follow a predictable verb_noun snake_case pattern, with imperative verbs and noun objects. Naming styles are perfectly aligned across both tool names.

    Tool Count4/5

    Question: two tools is a bit below the typical robust set size, but for a metadata-only folder inspector the prior pair covers the two natural tasks at equal scope, so the count is reasonable.

    Completeness5/5

    The domain is folder inspection, and the set covers both approximate information: list_files lets you go from a summary clue to the difficult actual matching set. The two tools form a complete read-only scanning lifecycle.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      D
      maintenance
      Enables read-only analysis of local unstructured documents by scanning a folder, extracting text and structural metadata, and passing content with truncation and error-awareness to an LLM for summarization.
      9
      1
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables local folder analysis of unstructured documents (PDF, DOCX, PPTX, TXT, SVG, PNG, CSV, XLSX) by extracting structure, reading content, and generating reports, with a strict approval gate before any save operation.
      -