
markdown-pdf-export MCP Server
Markdown to PDF with your header, footer, page numbers and logo. Pages designed in Studio.
markdown-pdf-export scores 71 (Good), licensed MIT and written in JavaScript. It installs as a local process. It does not declare tools yet. Filed under Knowledge. GitHub shows 2 stars. Package registries report about 1,920 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
71 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 71 comes from
22 + 20 + 8 + 10 + 4 + 7 = 71. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 8 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "matinfo-markdown-pdf-export": { "command": "npx", "args": [ "-y", "markdown-pdf-export@2.11.1" ], "env": { "MARKDOWN_PDF_SETTINGS": "", "MARKDOWN_PDF_BROWSER": "", "MARKDOWN_PDF_DEBUG": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
MARKDOWN_PDF_SETTINGS | Optional | Settings file to use instead of ~/.config/markdown-pdf-export/settings.json, or settings as JSON |
MARKDOWN_PDF_BROWSER | Optional | Browser that draws the PDF: chrome, msedge, chromium, or a path to a browser program |
MARKDOWN_PDF_DEBUG | Optional | Set to 1 to write a debug log to markdown-pdf-debug.log in the temp folder |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Markdown PDF Export
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/

Get started
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:
- Node.js 20 or newer (it comes with
npx). - Google Chrome or Microsoft Edge. No Chromium browser? Run
npx -y markdown-pdf-export install-browseronce (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
Export a file
| 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.
What you get
- Five page styles: Clean, Report, Academic, Compact and Technical.
- Headers and footers with the title, page numbers, the date and your logo.
- Coloured code blocks, with a choice of colour themes.
- Maths with KaTeX:
$inline$and$$display$$. - A contents list from a
[[toc]]marker, with links to each heading. - Mermaid diagrams, task lists, footnotes and GitHub alerts (
> [!NOTE]). - Settings for one document in its front matter.
- One settings file used by every editor, the assistant and the terminal.
- Safe with documents you did not write: scripts, frames and event handlers in raw HTML are filtered out (Raw HTML and safety).
Go further
- Advanced topics: a one-page map of everything below.
- Settings file: where it lives and how files are combined.
- Per-document settings: change one document with front matter.
- Header and footer: zones, logos, page numbers and dates.
- Styling: your own CSS, fonts and code colours.
- Content: maths, contents list, images and page breaks.
- Command line: every command and option.
- Assistant tools: the MCP server and its two tools.
- Browser: which browser is used and how to pick another.
- Recipes: ready-made setups for common jobs.
- Settings reference: every setting.
- Placeholders reference:
{page},{title},{date}and more.
Help
Check the browser and your settings in one step:
npx -y markdown-pdf-export doctor
You can also ask the assistant: "Run doctor_markdown_pdf". For common problems, see Help.
Contributing
See CONTRIBUTING.md for development setup, tests and how the project is built.
Licence
MIT. See LICENSE.
Frequently asked questions
What is markdown-pdf-export MCP Server?
Markdown to PDF with your header, footer, page numbers and logo. Pages designed in Studio.
How do I install markdown-pdf-export MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. markdown-pdf-export MCP Server runs locally from the npm package markdown-pdf-export with the command npx -y markdown-pdf-export@2.11.1.
Is markdown-pdf-export MCP Server free and open source?
Yes. markdown-pdf-export MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does markdown-pdf-export MCP Server support remote (HTTP) connections?
No remote endpoint is listed for markdown-pdf-export MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is markdown-pdf-export MCP Server's trust score calculated?
markdown-pdf-export MCP Server scores 71 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.