Export Markdown files to PDF with Chromium: highlighting, KaTeX math, TOC, headers/footers.
MCPpedia last refreshed this data
io.github.matinfo/markdown-pdf-export is an MCP server that export Markdown files to PDF with Chromium: highlighting, KaTeX math, TOC, headers/footers. Its tool list has not been published yet over stdio, requires no API key, and scores 63/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"io-github-matinfo-markdown-pdf-export": {
"args": [
"-y",
"markdown-pdf-export"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Export Markdown files to PDF with Chromium: highlighting, KaTeX math, TOC, headers/footers.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y 'markdown-pdf-export' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked markdown-pdf-export against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in writing / browser
Search, scrape, and crawl the web, plus Firecrawl Alexandria, our library of everything else.
Extract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡
Search-first MCP server for JavaScript reverse engineering: 736 tools across 36 domains.
Multi-engine web and platform search, news, Google Maps places, page reading, sitemaps, and trends.
MCP Security Weekly
Get CVE alerts and security updates for io.github.matinfo/markdown-pdf-export and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Turn Markdown files into clean PDFs from VS Code, Zed, Cursor, Claude or any AI assistant, or from the command line.
Full documentation: https://markdown-pdf.matinfo.tech/

Using VS Code? Install the Markdown PDF Export extension (Open VSX): the PDF beside your Markdown as you type, Studio in the editor, export and the Copilot tools. No Node.js, no terminal. In Cursor it adds the preview, not the chat tools: see Cursor.
Everywhere else, you need:
npx).npx -y markdown-pdf-export install-browser once (about 200 MB).Then run this line in a terminal:
npx -y markdown-pdf-export studio
Studio opens in your browser. Pick a page style, fonts, paper size, header and footer, and watch the real PDF update as you go. Click Save, then Add to my editor, and you are ready to export.
There is nothing to install first: npx downloads the package on first use and reuses it after.
Prefer the terminal? Run npx -y markdown-pdf-export with no arguments for a small menu.
More: Get started · Studio · Design online, no install
| Where | How |
|---|---|
| VS Code or Cursor, with the extension | The button at the top right of the file, or in VS Code Cmd+K Cmd+E (Ctrl+K Ctrl+E) |
| Your editor | Run the task Markdown: Export to PDF on the open file |
| AI assistant | Ask: "Export this file to PDF" |
| Terminal | npx -y markdown-pdf-export report.md |
The PDF is saved next to the Markdown file. To add the task or the assistant tool by hand, run
npx -y markdown-pdf-export setup, or see
Editors.
$inline$ and $$display$$.[[toc]] marker, with links to each heading.> [!NOTE]).