Loading...

mcp-pandoc converts documents between formats (MD, HTML, DOCX, PDF, etc.) using Pandoc, enabling content transformation and styling via reference documents and filters.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
mcp-pandoc converts documents between formats (MD, HTML, DOCX, PDF, etc.) using Pandoc, enabling content transformation and styling via reference documents and filters.
mcp-pandoc is relatively safe for document conversion tasks when file paths are carefully managed and external filters are vetted. Risks increase when using untrusted filters or writing to sensitive directories. Ensure dependencies like TeX Live are installed from trusted sources.
Performance depends on the size and complexity of the document being converted. Large documents or complex filters may take significant time to process.
No direct cost, but relies on local compute resources. PDF conversion may consume significant CPU and memory.
npx -y @smithery/cli install mcp-pandoc --client claude{
"mcpServers": {
"mcp-pandoc": {
"command": "uvx",
"args": ["mcp-pandoc"]
}
}
}convert-contentsTransforms content between various document formats using Pandoc.
Can write files to the filesystem and execute filters.
None
hybrid
mcp-pandoc is relatively safe for document conversion tasks when file paths are carefully managed and external filters are vetted. Risks increase when using untrusted filters or writing to sensitive directories. Ensure dependencies like TeX Live are installed from trusted sources.
Autonomy is limited by the need to specify input and output file paths. Ensure appropriate permissions are set on the output directory.
Production Tip
Always specify complete and valid file paths for both input and output to avoid unexpected behavior.
Markdown, HTML, TXT, DOCX, PDF, RST, LaTeX, EPUB, IPYNB, and ODT are supported. PDF is output-only.
Yes, you need to install Pandoc and potentially TeX Live for PDF conversion. Also, ensure you have the `uv` package installed.
Install TeX Live and specify the input and output file paths, including the .pdf extension.
Yes, you can use a reference document to apply custom styles to DOCX output.
Pandoc filters are scripts that modify the document during conversion. Specify their paths in the `filters` array.
Ensure that TeX Live is installed correctly. The error message 'xelatex not found' indicates a missing TeX Live installation.
Use the `output_file` parameter with the complete path, including the filename and extension.