MintPDF

Turn HTML or Markdown into a clean, styled PDF and get a download link.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
95%
Naming quality
90%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~461Tokens (tool definitions)
~2.3 KBTypical response size
Minimal attention impact (0.36% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "mintpdf": {
      "command": "npx",
      "args": [
        "mintpdf-mcp"
      ]
    }
  }
}

Runnable packages

npmmintpdf-mcp0.1.3stdio

Remote endpoints

https://pdfmint-production-0b25.up.railway.app/mcpstreamable-http
https://mintpdf.dev/mcpstreamable-http

What it can do

Tool inventory

Tools (2)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢generate_pdf(html, markdown, format, landscape, margin, ...)

Renders HTML or Markdown into a PDF and returns a download URL (valid for 1 hour). Provide exactly one of `html` or `markdown`. Markdown gets a clean default stylesheet, so it is the fastest way to produce a good-looking document.

Input Schema

{
  "type": "object",
  "properties": {
    "html": {
      "type": "string",
      "description": "Full HTML document or fragment to render"
    },
    "markdown": {
      "type": "string",
      "description": "Markdown content to render with the default stylesheet"
    },
    "format": {
      "type": "string",
      "enum": [
        "A4",
        "Letter",
        "Legal",
        "A3",
        "A5"
      ],
      "description": "Paper size, default A4"
    },
    "landscape": {
      "type": "boolean",
      "description": "Landscape orientation, default false"
    },
    "margin": {
      "type": "string",
      "description": "Page margin on all sides, e.g. \"18mm\""
    },
    "pageNumbers": {
      "type": "boolean",
      "description": "Show page numbers in the footer"
    },
    "headerText": {
      "type": "string",
      "description": "Small header text on every page"
    },
    "footerText": {
      "type": "string",
      "description": "Small footer text on every page"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢pdf_from_url(url, format, landscape, margin, pageNumbers, ...)

Loads a public web page and renders it to PDF. Returns a download URL valid for 1 hour. Only public http/https URLs are allowed.

Input Schema

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Public http(s) URL of the page to render"
    },
    "format": {
      "type": "string",
      "enum": [
        "A4",
        "Letter",
        "Legal",
        "A3",
        "A5"
      ],
      "description": "Paper size, default A4"
    },
    "landscape": {
      "type": "boolean",
      "description": "Landscape orientation, default false"
    },
    "margin": {
      "type": "string",
      "description": "Page margin on all sides, e.g. \"18mm\""
    },
    "pageNumbers": {
      "type": "boolean",
      "description": "Show page numbers in the footer"
    },
    "headerText": {
      "type": "string",
      "description": "Small header text on every page"
    },
    "footerText": {
      "type": "string",
      "description": "Small footer text on every page"
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded2 tools
verifiedversion not recorded2 tools
verifiedversion not recorded2 tools
verifiedversion not recorded2 tools
verifiedversion not recorded2 tools
verifiedversion not recorded2 tools