loading…
Search for a command to run...
loading…
MCP bridge for Distill — let Claude, Cursor, or any MCP client rename files based on AI content analysis. 9 tools for renaming, suggestions (preview), folder wa
MCP bridge for Distill — let Claude, Cursor, or any MCP client rename files based on AI content analysis. 9 tools for renaming, suggestions (preview), folder watching, history, and rule management. Five AI providers: Claude, OpenAI GPT-4o, Gemini, Ollama (local), Apple Intelligence. Bridge open-source (MIT), Distill app is commercial (pay-per-use, no subscription).
Swift Platform License MCP juergenkoller-software/distill-mcp MCP server
Let Claude, Cursor, or any MCP client rename files for you — automatically, based on content.
This is the official Model Context Protocol bridge for Distill — a native macOS app that uses AI (Claude, OpenAI, Gemini, Ollama, or Apple Intelligence) to read your files and rename them with descriptive, consistent names. No more IMG_4521.jpg or Scan_003.pdf — get 250401 Invoice Telekom.pdf instead.
You need the Distill app installed and running. This MCP server is a stdio→HTTP bridge — the actual file analysis happens in the app. Get Distill at store.juergenkoller.software/apps/distill.
"Claude, look at the 47 PDFs in ~/Downloads, rename them based on content, but show me the suggestions first."
The MCP server exposes 9 tools:
| Tool | What it does |
|---|---|
rename_files |
Analyze file content with AI and rename with descriptive names |
suggest_names |
Suggest new names without renaming (preview mode) |
revert_rename |
Undo a previous rename |
get_rename_history |
Show the rename history (timestamps, before/after, AI provider used) |
watch_folder |
Add a folder to auto-monitoring (new files get renamed in the background) |
app_status |
Current state, AI provider, credits left, watched folders |
set_provider |
Switch AI provider — Claude, OpenAI GPT-4o, Gemini, Ollama (local), Apple Intelligence |
get_rules |
Show naming rules (date format, casing, categories, custom templates) |
set_rules |
Update naming rules |
Distill reads PDFs, images (via OCR), Office documents, emails, HTML, RTF, and media files. It extracts date, category, description, sender, and amounts — then builds filenames using your configurable rules.
git clone https://github.com/juergenkoller-software/distill-mcp.git
cd distill-mcp
swift build -c release
# Binary: .build/release/DistillMCP
Grab the latest DistillMCP from Releases.
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"distill": {
"command": "/path/to/DistillMCP",
"env": {
"DISTILL_PORT": "22200",
"DISTILL_TOKEN": "your-token-here"
}
}
}
}
Find DISTILL_TOKEN in Distill → Settings → API & MCP.
claude mcp add distill /path/to/DistillMCP \
--env DISTILL_PORT=22200 \
--env DISTILL_TOKEN=your-token-here
Same pattern — DistillMCP is a stdio MCP server, configured via the two env vars above.
┌────────────────┐ JSON-RPC stdio ┌────────────────┐ HTTP+Bearer ┌────────────────┐
│ Claude/Cursor │ ───────────────► │ DistillMCP │ ─────────────► │ Distill.app │
│ (MCP client) │ ◄─────────────── │ (this repo) │ ◄───────────── │ (port 22200) │
└────────────────┘ └────────────────┘ └────────────────┘
The bridge reads JSON-RPC 2.0 requests from stdin, forwards them to Distill's local HTTP server at 127.0.0.1:22200/mcp, and writes responses back to stdout. All AI calls (Claude/OpenAI/Gemini/Ollama/Apple Intelligence), file reading (OCR, PDF extraction, Office parsing), credit tracking, and naming logic happen inside the Distill app.
This split lets the wire format stay open-source (audit it, sandbox it, run it through any MCP runtime) while the heavy lifting stays in the app.
| Variable | Default | Description |
|---|---|---|
DISTILL_PORT |
22200 |
Port of Distill's local HTTP server |
DISTILL_TOKEN |
(none) | Bearer token from Distill Settings (required) |
Errors and trace logs go to stderr so they don't pollute the JSON-RPC stdout channel.
Distill is an AI file manager for macOS that automatically renames files based on content analysis. Highlights:
→ Get Distill at store.juergenkoller.software
MIT — see LICENSE. Bridge is open source; the Distill app is commercial (free-to-try with pay-per-use credits).
Built by Juergen Koller Software GmbH.
Run in your terminal:
claude mcp add distill-mcp -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.