Pandoc
๐๏ธ ๐ - MCP server for seamless document format conversion using Pandoc, supporting Markdown, HTML, PDF, DOCX (.docx), csv and more.
What is Pandoc?
Pandoc is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ๐๏ธ ๐ - mcp server for seamless document format conversion using pandoc, supporting markdown, html, pdf, docx (.docx), csv and more.
๐๏ธ ๐ - MCP server for seamless document format conversion using Pandoc, supporting Markdown, HTML, PDF, DOCX (.docx), csv and more.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- ๐๏ธ ๐ - MCP server for seamless document format conversion us
Use Cases
Maintainer
Works with
Installation
NPM
npx -y mcp-pandocManual Installation
npx -y mcp-pandocConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Pandoc
mcp-pandoc is an MCP server that wraps the Pandoc document converter, enabling AI assistants to transform documents between formats including Markdown, HTML, PDF, DOCX, EPUB, LaTeX, reStructuredText, and Jupyter notebooks. By exposing a single convert-contents tool, it lets you ask Claude to convert a file or inline text to any supported format in one natural language command. PDF generation additionally requires a TeX distribution such as TeX Live or MiKTeX.
Prerequisites
- Pandoc installed and accessible on your PATH (brew install pandoc or from pandoc.org)
- uv / uvx package manager installed (brew install uv or pip install uv)
- TeX Live or MiKTeX installed only if you need PDF output (brew install texlive)
- An MCP-compatible client such as Claude Desktop
Install Pandoc
Install Pandoc using your system package manager. Verify the installation by running pandoc --version.
# macOS
brew install pandoc
# Ubuntu/Debian
sudo apt-get install pandoc
# Verify
pandoc --versionInstall the uv package manager
mcp-pandoc is distributed as a Python package and uses uv/uvx for isolated execution. Install it with Homebrew or pip.
# macOS
brew install uv
# Other platforms
pip install uv
# Verify
uvx --versionInstall TeX Live for PDF support (optional)
PDF conversion requires a TeX distribution. Skip this step if you only need Markdown, HTML, or DOCX output.
# macOS
brew install texlive
# Ubuntu/Debian
sudo apt-get install texlive-xetexAdd mcp-pandoc to Claude Desktop
Edit your claude_desktop_config.json to register the mcp-pandoc server. The uvx command fetches and runs the published mcp-pandoc package in an isolated environment automatically.
Restart Claude Desktop and test
Quit and reopen Claude Desktop. Ask Claude to convert a sample Markdown string to HTML โ it should use the convert-contents tool and return the HTML output.
Pandoc Examples
Client configuration
Add this to your claude_desktop_config.json. The uvx command handles downloading and running the mcp-pandoc package with no separate install step required.
{
"mcpServers": {
"mcp-pandoc": {
"command": "uvx",
"args": ["mcp-pandoc"]
}
}
}Prompts to try
Use these prompts in Claude Desktop after configuring mcp-pandoc. Always provide full absolute file paths when referencing files on disk.
- "Convert /Users/me/docs/notes.md to HTML and save it as /Users/me/docs/notes.html"
- "Convert the following Markdown text to a DOCX file saved at /tmp/output.docx: # Hello World"
- "Transform /Users/me/report.md into a PDF at /Users/me/report.pdf using LaTeX"
- "Convert /Users/me/thesis.md to EPUB and save as /Users/me/thesis.epub"
- "Turn this HTML into Markdown: <h1>My Title</h1><p>Some content.</p>"Troubleshooting Pandoc
PDF conversion fails with 'pdflatex not found' or similar TeX error
Install a TeX distribution such as TeX Live (brew install texlive on macOS or sudo apt-get install texlive-xetex on Linux). Pandoc requires a working LaTeX installation for PDF output.
convert-contents tool errors with 'output_file required'
For binary output formats like PDF, DOCX, EPUB, and LaTeX, you must provide the output_file parameter with a complete absolute path including the file extension (e.g., /Users/me/output.docx).
uvx command not found when Claude Desktop tries to start the server
Install uv with 'brew install uv' or 'pip install uv', then verify with 'uvx --version'. If Claude Desktop cannot find uvx, provide the full path in the config: replace "uvx" with the output of 'which uvx'.
Frequently Asked Questions about Pandoc
What is Pandoc?
Pandoc is a Model Context Protocol (MCP) server that ๐๏ธ ๐ - mcp server for seamless document format conversion using pandoc, supporting markdown, html, pdf, docx (.docx), csv and more. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Pandoc?
Install via npm with the command: npx -y mcp-pandoc. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with Pandoc?
Pandoc works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Pandoc free to use?
Yes, Pandoc is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Pandoc Alternatives โ Similar Developer Tools Servers
Looking for alternatives to Pandoc? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
โ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
โ 155.8kJava ้ข่ฏ & ๅ็ซฏ้็จ้ข่ฏๆๅ๏ผ่ฆ็่ฎก็ฎๆบๅบ็กใๆฐๆฎๅบใๅๅธๅผใ้ซๅนถๅใ็ณป็ป่ฎพ่ฎกไธ AI ๅบ็จๅผๅ
Gemini CLI
โ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
โ 87.3kโญ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
โ 86.0kModel Context Protocol Servers
CC Switch
โ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Pandoc in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Pandoc?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.