MCP server for document format conversion using pandoc. Provides a convert-contents tool to transform between markdown, html, pdf, docx, rst, latex, epub and txt.
https://github.com/vivekVells/mcp-pandocYou're deep in a Claude conversation, iterating on documentation or content. Claude suggests improvements, you refine the text, then you hit the wall: "Now I need this as a PDF for the client meeting."
Cue the familiar dance: copy text, open Pandoc in terminal, remember the syntax, convert, check output, go back to Claude. Your flow is broken, and you've lost 5 minutes to something that should take 5 seconds.
mcp-pandoc eliminates this friction entirely. Convert between any document format - markdown, PDF, DOCX, HTML, LaTeX, EPUB - without leaving your AI conversation.
Document conversion shouldn't require context switching. When you're collaborating with an AI on content creation, every interruption kills momentum. Whether you're:
The conversion step has always been the workflow killer. Not anymore.
Seamless Integration: Ask Claude to "convert this to PDF and save it to ~/Documents/report.pdf" and it happens instantly within the conversation.
Format Preservation: Pandoc's battle-tested conversion engine ensures your formatting, tables, and structure survive the transformation intact.
Professional Output: Generate client-ready PDFs with proper LaTeX rendering, or polished DOCX files that open perfectly in Word.
Workflow Continuity: Stay in your creative flow. No terminal windows, no file juggling, no breaking concentration.
Technical Documentation: Convert markdown README files to PDF for non-technical stakeholders who need offline access.
Content Publishing: Transform blog posts from markdown to HTML with proper metadata, or convert to EPUB for distribution.
Academic Writing: Convert LaTeX papers to DOCX for collaboration with co-authors who prefer Word's track changes.
Report Generation: Take Claude-generated analysis and instantly format it as a professional PDF report with proper typography.
Meeting Prep: Convert informal notes into structured DOCX documents for formal distribution.
Add one configuration block to Claude Desktop:
{
"mcpServers": {
"mcp-pandoc": {
"command": "uvx",
"args": ["mcp-pandoc"]
}
}
}
Requirements are minimal: install Pandoc (the document conversion engine) and uv (for package management). Both are standard tools you likely already have.
For PDF output, you'll need TeX Live installed, but that's only if you need PDF conversion - all other formats work out of the box.
The server supports both direct content conversion and file-to-file processing. Convert content that exists only in your chat, or process existing files on disk.
Direct Conversion: "Convert this markdown to HTML" - instant results displayed in chat.
File Processing: "Convert ~/drafts/proposal.md to PDF and save as ~/output/proposal.pdf" - handles the entire file workflow.
This MCP server transforms document conversion from a workflow interruption into a natural part of your AI collaboration. Keep your momentum, stay in flow, and let your AI assistant handle the format details.