A Model Context Protocol server for document format conversion using [pandoc](https://pandoc.org/index.html). This server provides tools to transform
MCP Pandoc becomes available to MCP clients through the mcp pandoc mcp server. 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.
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.
Once connected, the assistant can call these 10 tools directly:
Inputs — - contents (string): Source content to convert (required if input_file not provided)markdown — htmlpdf — docxrst — latexepub — txtipynb — odtNote — For advanced formats (pdf, docx, rst, latex, epub), an output_file path is requiredExamples — The Examples tool exposed by this serverTesting — To run the comprehensive test suite and validate all supported bidirectional conversions, use the following command:Debugging — Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the [MCPThe server is distributed via npm as @modelcontextprotocol/inspector, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.
Before the server will start you need to supply one environment variable: UV_PUBLISH_TOKEN. Keep credentials in your client's env block or a secrets manager rather than committing them.
brew install texlive) 3. When noDeveloper-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. MCP Pandoc sits in that group, and the shape of its toolset — Inputs, markdown, pdf among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| Inputs | - contents (string): Source content to convert (required if input_file not provided) |
| markdown | html |
| docx | |
| rst | latex |
| epub | txt |
| ipynb | odt |
| Note | For advanced formats (pdf, docx, rst, latex, epub), an output_file path is required |
| Examples | The Examples tool exposed by this server. |
| Testing | To run the comprehensive test suite and validate all supported bidirectional conversions, use the following command: |
| Debugging | Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector). |
{
"mcpServers": {
"pandoc": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/inspector"],
"env": {
"UV_PUBLISH_TOKEN": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
brew install texlive) 3. When no| Variable | Description | Required |
|---|---|---|
| UV_PUBLISH_TOKEN | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.