Skip to content
markdown-pdf-export logo
MCP server
Registry

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.

by matinfoMITJavaScript2 stars
Trust score
71Good
Trust score 71 of 100, Good

Good trust

71 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 71 comes from

22 + 20 + 8 + 10 + 4 + 7 = 71. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity8 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 8 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

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.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "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

NameRequiredNotes
MARKDOWN_PDF_SETTINGSOptionalSettings file to use instead of ~/.config/markdown-pdf-export/settings.json, or settings as JSON
MARKDOWN_PDF_BROWSEROptionalBrowser that draws the PDF: chrome, msedge, chromium, or a path to a browser program
MARKDOWN_PDF_DEBUGOptionalSet to 1 to write a debug log to markdown-pdf-debug.log in the temp folder

Tools 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

npm version npm downloads CI License: MIT

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/

Studio: page style, fonts, paper, header and footer on the left, a live preview of the PDF on the right

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-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

Export a file

WhereHow
VS Code or Cursor, with the extensionThe button at the top right of the file, or in VS Code Cmd+K Cmd+E (Ctrl+K Ctrl+E)
Your editorRun the task Markdown: Export to PDF on the open file
AI assistantAsk: "Export this file to PDF"
Terminalnpx -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

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

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server