New advertisers: 50% off your first month with code FIRSTMONTHSee slots
nievesjesus avatar

distill

nievesjesus/distill

Local PDF and Office file conversion to token-lean Markdown, with per-file token counts.

tools
3
transport
STDIO
last updated
Nov 19, 2026
View on GitHub

What it does

  • Converts files with distill_file and batches up to 20 paths with distill_files, reporting per-file errors without failing the whole call
  • Reports { tokens: { raw, out }, pages, kind } for each file, plus distill_capabilities for checking supported formats
  • Runs fully local with no uploads or API keys; output is read-only and capped at 10,000 tokens per result, with nextOffset paging
  • Designed for agents that read reports, contracts, and spreadsheets without paying the full cost of raw PDF input

Tools

3 tools

Public tool metadata for what this MCP can expose to an agent.

distill_fileReturns the Markdown plus { tokens: { raw, out }, pages, kind } for a single file.

Returns the Markdown plus { tokens: { raw, out }, pages, kind } for a single file.

No parameter schema in public metadata yet.

distill_filesTakes up to 20 paths and reports a per-file error instead of failing the whole call.

Takes up to 20 paths and reports a per-file error instead of failing the whole call.

No parameter schema in public metadata yet.

distill_capabilities

No parameter schema in public metadata yet.

Readme

distill: Documents in. Fewer tokens out.

Turn PDFs, Office files and scans into token-lean Markdown for your LLM and your coding agent.
Local-first. No telemetry. Web app, desktop app, CLI, MCP server and Claude Code / OpenCode hooks.


View the full README on GitHub

Details

Repository
github.com/nievesjesus/distill
Website
nievesjesus.github.io/distill
Categories
Docs & Knowledge Bases, AI Agents & LLM Apps, Memory & Context
Package
distill-llm
Transport
STDIO
Registry
MCP registry, active

Similar to distill

More Docs & Knowledge Bases