Imprint PDF logo

Imprint PDF

Converts Markdown into print-ready PDFs through MCP, with themes, templates, and automated 0–100 quality checks.

Install Imprint PDF

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": {
    "imprint-pdf": {
      "command": "npx",
      "args": [
        "-y",
        "imprint-pdf"
      ]
    }
  }
}

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

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y imprint-pdf

Process exited before answering initialize.

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

Imprint PDF MCP server connects AI agents to a Markdown-to-PDF generator through a stdio MCP process. It can render documents, list themes, validate PDFs, and create new documents from templates. The underlying generator supports Chinese typesetting, academic layouts, charts, formulas, accessibility tags, and automated print-quality checks. Reach for it when an agent needs to produce or inspect structured PDF documents rather than only return Markdown.

Use cases

  • Render Markdown reports as styled PDFs
  • Create academic papers from templates
  • Validate PDF output before delivery
  • List themes for agent-driven document styling

Key features

  • Markdown-to-PDF rendering
  • 0–100 PDF quality reports
  • 24 built-in themes
  • Document templates
  • Mermaid and math rendering
  • PDF/UA accessibility tags

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.

20/20 checks healthy over the last 95d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · imprint-pdf (npm)

Adoption & maintenance

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

npm downloads79Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Imprint PDF works

What Imprint PDF MCP server does

The Imprint PDF MCP server gives an MCP-compatible agent access to Imprint’s document generation workflow. Markdown is the input, and the result is a PDF intended for print or formal document delivery. The renderer is designed for Chinese publishing conventions, including first-line indentation, punctuation line-breaking rules, mixed Chinese and English text, and controls for widows and orphans.

Generated documents can include a cover and table of contents when frontmatter provides fields such as title, author, and date. The project also supports tables that repeat their headers across pages, code blocks that avoid being split, vector-rendered Mermaid diagrams, and vector-rendered mathematical formulas.

How it works

Install the optional MCP package, then start the stdio entry point with imprint-mcp. An MCP client launches that process and calls the exposed tools. The agent can submit Markdown for rendering, request available themes, validate a PDF, or create a new document from a template.

The renderer includes 24 themes, such as academic, minimal, ink, gongwen, and ieee. A theme can be selected explicitly, or Imprint can recommend one based on document signals when no theme is specified. Templates cover reports, books, resumes, technical documents, letters, academic papers, Chinese official documents, and IEEE-style papers.

After generation, Imprint runs checks and reports a score from 0 to 100 with itemized evidence. Checks described by the project include text selectability, embedded font subsets, metadata, punctuation rules, table-of-contents page numbers, page numbers, PDF/UA tags, contrast, missing glyphs, content overflow, and image resolution.

Setup and configuration

Install the MCP extra with:

Terminal
pip install "imprint-pdf[mcp]"
imprint-mcp

The server uses stdio, so the MCP client configuration must start imprint-mcp as a local process. No environment variables or remote service credentials are documented. The base package can also be installed with pip install imprint-pdf; chart rendering is available through the optional charts extra. The command-line package is additionally distributed through npm, including the npx imprint-pdf command.

Tools and capabilities

The Imprint PDF MCP server exposes these documented tools:

  • render_markdown converts Markdown into a PDF.
  • list_themes returns the available visual themes.
  • validate_pdf runs the PDF quality checks.
  • new_document creates a document from a built-in template.

The underlying renderer supports theme selection, automatic theme recommendations, image compression, syntax highlighting through Pygments, Mermaid diagrams, mathematical notation, and custom themes represented as JSON files. Academic templates can use two-column layouts, while the gongwen and ieee templates target Chinese official documents and IEEE-style English papers respectively.

Limitations and notes

Chart support is optional, and Mermaid rendering falls back to a code block when its rendering engine is unavailable. Font availability is checked on the machine that performs rendering; missing fonts produce a warning rather than being supplied by the MCP server.

The project’s online demo is separate from the MCP server and is rate-limited to 20 uses per hour per IP. The README names Claude Code and Cursor as MCP clients for the stdio server. Other client compatibility is not specifically described in the project material.

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

Imprint PDF is an MCP server that connects AI agents to the Imprint Markdown-to-PDF generator. Its main tools are render_markdown, list_themes, validate_pdf, and new_document. It accepts Markdown, creates PDF output, lists available themes, checks generated PDFs, and starts documents from built-in templates.

Install it with `pip install "imprint-pdf[mcp]"`, then run `imprint-mcp`. The server starts as a local stdio process that an MCP client can launch.

It provides `render_markdown`, `list_themes`, `validate_pdf`, and `new_document`. These tools render Markdown, show available themes, inspect PDF quality, and create documents from built-in templates.

Yes, the README names Cursor as a client for the stdio MCP server. Install the MCP extra, configure Cursor to launch `imprint-mcp`, and use the documented rendering, theme, validation, and template tools.

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 PreviewImprint PDF AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/imprint-pdf?style=directory)](https://allmcps.com/mcp/imprint-pdf)
HTML Embed
<a href="https://allmcps.com/mcp/imprint-pdf"><img src="https://allmcps.com/api/badge/imprint-pdf?style=directory" alt="Imprint PDF on AllMCPs" /></a>