lakshgk avatar

Distill Mcp

lakshgk/distill-mcp

Wraps the Distill document conversion engine so Claude can turn PDFs, Office files, and HTML into clean Markdown without bloating the context window. Ships in two modes: lightweight runs pure Python locally for common formats, while the Docker-backed full mode adds OCR for scanned PDFs and transcription for audio files. The convert_and_save tool takes a file path and returns token-optimized Markdown, typically cutting 40 to 80 percent of tokens compared to raw extraction. Useful when you're feeding lengthy reports or presentations into Claude and need to preserve context budget for actual reasoning instead of formatting cruft.

tool
1
transport
STDIO
last updated
Apr 11, 2026

Tools

1 tools

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

convert_and_saveConverts a local document file to Markdown and saves it, returning the Markdown output for the LLM to use.

Converts a local document file to Markdown and saves it, returning the Markdown output for the LLM to use.

No parameter schema in public metadata yet.

Sponsors

Readme

distill-mcp

npm version license MCP Registry

An MCP server that connects any MCP-compatible client to Distill, converting local documents to clean, token-efficient Markdown before the LLM reads them. Typical token reduction is 40–80% compared to raw document text, letting the model fit more content into its context window and reason over it faster.

Works with Claude Desktop, Claude Code, Cursor, Windsurf, and any other MCP client that supports tool calling.

Two Modes

LightweightFull (Docker)
Requires DockerNoYes
DOCX, XLSX, PPTX, native PDF, HTMLYesYes
Scanned PDF (OCR)NoYes
Audio (MP3, WAV, etc.)NoYes
Quality scoreNoYes
Install time~2 min~10 min

Lightweight needs only Python and pip. Full needs Docker with the Distill service running. See the setup guides for details.

Quick install

No global install required:


View the full README on GitHub

Details

Repository
github.com/lakshgk/distill-mcp
Categories
Documents & Knowledge, Media & Entertainment, Productivity & Office
Package
distill-mcp-server
Transport
STDIO
Registry
MCP registry, active

Related Documents & Knowledge MCP servers

View all
1mdmagic-mcp avatarMdmagic Mcp Servermdmagic-mcp/mdmagic-mcp-serverUse your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.0stars
2onemira-space avatarOneMira C1 Local AI Voice Recorder & Wikionemira-space/onemira-mcpLocal AI voice recorder & OKF Markdown Living Wiki MCP server ($0/mo, 99-lang speaker ID).0stars
3unmarkdown avatarUnmarkdownunmarkdown/mcp-serverThe document publishing layer for AI tools. Convert markdown to 6 destinations, 62 templates.0stars
4melusi-m avatarFixmypdfmelusi-m/pdf-editor-front-endPrivacy-first PDF tools over MCP: merge, split, rotate, delete, compress, protect, inspect.0stars
5pleaseprompto avatarNotebookLMpleaseprompto/notebooklm-mcpMCP server for NotebookLM - Let your AI agents (Claude Code, Codex) research documentation directly with grounded, citation-backed answers from Gemini. Persiste2.4Kstars
6gongrzhe avatarOffice-Word-MCP-Servergongrzhe/office-word-mcp-serverExposes Word document operations via MCP to create, edit, format, and analyze documents programmatically.2Kstars