About
mcp-pandoc is a document format conversion server that leverages the Pandoc universal document converter to transform content between different file formats while preserving formatting and structure. Key features of mcp-pandoc: - Bidirectional conversion between multiple document formats including Markdown, HTML, DOCX, LaTeX, and more - Preserves document structure and formatting during conversion - Conversion matrix support for understanding which formats can be converted to which - Built on the Pandoc Python package for reliable document processing - Reference document styling options for consistent output formatting
README
[](https://pypi.python.org/pypi/mcp-pandoc) [](https://github.com/vivekVells/mcp-pandoc/actions/workflows/ci.yml)
--> [](https://mseep.ai/app/vivekvells-mcp-pandoc)
mcp-pandoc: A Document Conversion MCP Server
> Officially included in the Model Context Protocol servers open-source project. 🎉
Overview
A Model Context Protocol server for document format conversion using pandoc. This server provides tools to transform content between different document formats while preserving formatting and structure.
Please note that mcp-pandoc is currently in early development. PDF support is under development, and the functionality and available tools are subject to change and expansion as we continue to improve the server.
Credit: This project uses the Pandoc Python package for document conversion, forming the foundation for this project.
📋 Quick Reference
New to mcp-pandoc? Check out 📖 CHEATSHEET.md for
_Perfect for quick lookups and getting started fast!_
Demo
[](https://youtu.be/vN3VOb0rygM)
> 🎥 Watch on YouTube
Screenshots
More to come...
Tools
1. convert-contents
- Transforms content between supported formats
- Inputs:
- contents (string): Source content to convert (required if input_file not provided)
- input_file (string): Complete path to input file (required if contents not provided)
- input_format (string): Source format of the content (defaults to markdown)
- output_format (string): Target format (defaults to markdown)
- output_file (string): Complete path for output file (required for pdf, docx, rst, latex, epub formats)
- reference_doc (string): Path to a reference document to use for styling (supported for docx output format)
- defaults_file (string): Path to a Pandoc defaults file (YAML) containing conversion options
- filters (array): List of Pandoc filter paths to apply during conversion
- Supported input/output formats:
- markdown
- html
- pdf
- docx
- rst
- latex
- epub
- txt
- ipynb
- odt
- Note: For advanced formats (pdf, docx, rst, latex, epub), an output_file path is required
🔧 Advanced Features
#### Defaults Files (YAML Configuration)
Use defaults files to create reusable conversion templates with consistent formatting:
# academic-paper.yaml
from: markdown
to: pdf
number-sections: true
toc: true
metadata:
title: "Academic Paper"
author: "Research Team"
Example usage: `"Convert paper.md to PDF using defaults academic-pa
Related MCP Servers
AI Research Assistant
hamid-vakilzadeh
AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar
Linkup
LinkupPlatform
Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages
context7
huynguyen03dev