Pdf MCP Server

Renders letters as print ready PDFs, DIN 5008 compliant for German window envelopes.

Local serverstdioGo

What is the Pdf MCP Server?

Renders letters as print ready PDFs, DIN 5008 compliant for German window envelopes.

What you get

Local MCP server (stdio) that turns structured letter data into a print ready PDF. One fixed layout, the everyday German letter, with the recipient address positioned per DIN 5008 so it sits exactly in the window of DL and C6/C5 window envelopes. No web service, no external API, everything runs offline on your machine.

  • One layout, no variants: return address line, recipient, right aligned "place, date", bold subject block with references below it, salutation, body, closing, signature, enclosures
  • Address field 45 mm high ending at 105 mm from the left, with return address line, remark zone (Einschreiben, Nicht nachsenden) and address zone
  • Return address, remarks and recipient are balanced inside the address field, so the block sits evenly in the envelope window and further address lines still fit. addressLayout: "din" switches back to the fixed zone boundaries
  • Page breaks keep closing, signature image, name and enclosures together, follow-up pages carry recipient, date and page number
  • Subject 33 mm below the address field, place and date three lines above it
  • Fold marks at 105 mm and 210 mm, punch mark at 148.5 mm

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
create_letter
preview_letterSame rendering without writing a file, for checking the layout.
prepare_signatureCleans a scanned signature (crop, transparent background, ink colour) and writes a PNG.
get_din5008_specReturns the millimetre geometry of a form.
list_localesLists the supported languages and their fixed texts.
list_fontsLists built-in families and resolves a font name against the installed system fonts.

How to install the Pdf MCP Server

{
  "mcpServers": {
    "pdf-letter": {
      "command": "node",
      "args": [
        "/absolute/path/to/pdf-letter-mcp/dist/src/index.js"
      ],
      "env": {
        "PDF_LETTER_OUTPUT_DIR": "~/Documents/Briefe"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
PDF_LETTER_OUTPUT_DIRDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Pdf to create letter.”
  • “Use Pdf to preview letter.”
  • “Use Pdf to prepare signature.”

Frequently asked questions

Renders letters as print ready PDFs, DIN 5008 compliant for German window envelopes. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.