Pandoc

v1.0.0โ€ขDeveloper Toolsโ€ขstable

๐Ÿ—„๏ธ ๐Ÿš€ - MCP server for seamless document format conversion using Pandoc, supporting Markdown, HTML, PDF, DOCX (.docx), csv and more.

pandocpandoc-markdownpandoc-template
Share:
538
Stars
0
Downloads
0
Weekly
0/5

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

Convert documents between Markdown, HTML, PDF, and DOCX formats.
Automate document conversion with AI assistance.
vivekVells

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y mcp-pandoc

Manual Installation

npx -y mcp-pandoc

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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 --version
2

Install 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 --version
3

Install 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-xetex
4

Add 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.

5

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.

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.

Quick Config Preview

{ "mcpServers": { "mcp-pandoc": { "command": "npx", "args": ["-y", "mcp-pandoc"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide โ†’

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides