MintPDF logo

MintPDF

Convert HTML, Markdown, or public URLs into styled PDFs through REST or MCP tools.

Install MintPDF

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mintpdf": {
      "command": "npx",
      "args": [
        "-y",
        "mintpdf-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y mintpdf-mcp

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The MintPDF MCP server converts HTML, Markdown, or public web pages into PDFs using Chromium-based rendering. It exposes `generate_pdf` and `pdf_from_url` through a streamable HTTP MCP endpoint, with options for page size, orientation, margins, headers, footers, and page numbers. Use it when an agent needs to create a document during a conversation or when consistent pagination matters. The project also provides a REST API and can be self-hosted with Node.js or Docker.

Use cases

  • Generate a PDF brief from Markdown during an agent conversation
  • Render an invoice with tables, margins, and page numbers
  • Convert a public web page into a downloadable PDF
  • Self-host document rendering with Docker

Key features

  • Convert HTML or Markdown to PDF
  • Render public URLs with pdf_from_url
  • Add headers, footers, and page numbers
  • Choose paper size, orientation, and margins
  • Use REST, streamable HTTP MCP, or self-hosted deployment

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/18 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · mintpdf-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads253Package downloads in the last 30 days.
Last commit5d agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How MintPDF works

What MintPDF MCP server does

The MintPDF MCP server turns document content into PDF files. It accepts either HTML, Markdown, or a public HTTP(S) page, then renders the source with Chromium. Markdown uses a default stylesheet, while HTML can contain document-specific styling. The renderer is designed for printed documents, including page breaks, repeating table headers, and control over orphan and widow behavior.

The hosted service returns PDF bytes through its REST API by default. Requests can instead ask for a download URL. MCP tool calls return a download link that remains valid for one hour. Rendered documents are deleted after that period, and document contents are not logged according to the project documentation.

How it works

The MintPDF MCP server supports two tools:

  • generate_pdf accepts HTML or Markdown plus rendering options.
  • pdf_from_url loads a public HTTP or HTTPS address and renders the resulting page.

The hosted MCP endpoint is available at https://mintpdf.dev/mcp and uses streamable HTTP. A local client can also launch the npm package with npx -y mintpdf-mcp. The REST equivalent is POST /v1/pdf; it accepts exactly one source field per request: html, markdown, or url.

Supported output settings include A4, Letter, Legal, A3, and A5 paper sizes, landscape orientation, a shared margin value, header and footer text, and page numbering. URL rendering is restricted to public addresses. The service checks requested URLs and browser network requests for private or local destinations, although the documentation notes that DNS rebinding is narrowed rather than completely eliminated.

Setup and configuration

For an MCP client using the local package, add a server entry that runs npx -y mintpdf-mcp. For a hosted setup, use npx -y mcp-remote https://mintpdf.dev/mcp. Restart the client after changing its configuration.

Self-hosting requires Node.js project installation followed by npm run build and npm start, or the published container image. The container exposes port 3000 and accepts BASE_URL for links and DATA_DIR for stored data; DATA_DIR defaults to /tmp/mintpdf. A volume can be mounted when stored keys need to persist.

Self-hosted deployments can also configure anonymous and monthly limits, render concurrency, queue length, queue wait time, and overage behavior through the environment variables documented by the project. The default render concurrency and queue values are conservative because each render uses a Chromium tab.

Tools and capabilities

The MintPDF MCP server is suitable for generating briefs, invoices, reports, or other formatted documents from content supplied during an agent interaction. It can add page numbers and recurring header or footer text, and it can render Markdown tables as paginated document content. Anonymous hosted use allows three renders per day per IP; a free key raises the documented allowance to 100 renders per month.

Limitations and notes

Submitted HTML can execute JavaScript, which supports features such as Mermaid and KaTeX but means the renderer handles untrusted code. URL sources must be publicly reachable, and private, local, metadata, and similar network destinations are blocked. The service is focused on HTML, Markdown, and web-page rendering; the documentation points to Gotenberg for broader Office-format, merging, and splitting workflows.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MintPDF

MintPDF is an MCP server that connects AI clients to HTML, Markdown, and public web pages through PDF rendering tools. Its main tools are generate_pdf, which accepts HTML or Markdown, and pdf_from_url, which renders a public HTTP(S) URL. Both return a download URL valid for one hour.

Install it in an MCP client by configuring `npx -y mintpdf-mcp` as the server command. For the hosted endpoint, configure `npx -y mcp-remote https://mintpdf.dev/mcp` instead, then restart the client.

Yes, MintPDF can convert a public HTTP or HTTPS page with the `pdf_from_url` tool. Private and internal addresses are blocked, and the page's browser requests are also checked for private destinations.

MintPDF download links remain valid for one hour. Rendered files are deleted after that period, while the documentation says document contents are not logged.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMintPDF AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mintpdf?style=directory)](https://allmcps.com/mcp/mintpdf)
HTML Embed
<a href="https://allmcps.com/mcp/mintpdf"><img src="https://allmcps.com/api/badge/mintpdf?style=directory" alt="MintPDF on AllMCPs" /></a>