PDF It logo

PDF It

Native PDF renderer for AI markdown. Cover, TOC, page-numbered footer. No Chrome dependency.

Install PDF It

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

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

Automated check passed— started and listed 2 tools correctly ().

Overview

Tools2

What PDF It lets your agent do. Expand a tool for its parameters.

Verified live~312 tokens of context

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.

12/12 checks healthy over the last 51d

What it can do

From the 2 tools this server returned when we ran it; 2 declare their own safety hints.

Makes network requests · 1Read-only tools · 2
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age182 days
Maintainers1

Observed 2026-10-29 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 17d ago via OSV.dev · pdf-it-mcp (npm)

Adoption & maintenance

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

GitHub stars2Stargazers on the source repository.
npm downloads363Package downloads in the last 30 days.
Last commit4mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed2Callable tools this server registers over MCP.

From the project README

pdf-it

pdf-it MCP server MCP Badge npm version npm downloads License: MIT

A Model Context Protocol (MCP) server and Claude Code skill that turns markdown into PDFs that look like they were made on purpose. Cover page, table of contents, code blocks that hold across page breaks, page-numbered footer. One command from your Claude session to a file you can send to a client.

Fonts ship inside the package, so every PDF looks the same on every machine. Nothing to install, nothing to configure.

pdf-it cover example

Why this exists

Every Claude Code research session ends the same way: a wall of useful markdown and no clean way to turn it into a PDF a person would actually want to read.

Chrome print: takes 30 seconds, output looks like a Word doc. Manual HTML conversion: 10 minutes per document. Pandoc: works but defaults look like a 2008 academic paper. None of it produces an artifact you would send to a client.

pdf-it is one command. The output is designed by default.

pdf-it body example

Install

Terminal
npm install -g pdf-it-mcp

Or run on demand with npx pdf-it-mcp.

Requirements

  • Node.js 20 or newer
  • Nothing else to install. The renderer and fonts ship inside the package.

Configure

Claude Desktop

Edit claude_desktop_config.json:

config.json
{
  "mcpServers": {
    "pdf-it": {
      "command": "npx",
      "args": ["-y", "pdf-it-mcp"]
    }
  }
}

Claude Code

Terminal
claude mcp add pdf-it -- npx -y pdf-it-mcp

Cursor

Add to ~/.cursor/mcp.json with the same shape as Claude Desktop.

Cline / Continue / Zed / Goose

Standard MCP config. Same npx -y pdf-it-mcp command.

Use

In any Claude session connected to the server, ask:

Save this as a PDF

Or any of these phrasings: export as PDF, make a PDF report from this, turn this into a PDF, /pdf. The skill picks up the request and routes it through pdf-it. The output lands in ~/Documents/pdf-it/ by default.

Tools

ToolDescription
generate_pdfConvert markdown into a PDF. Accepts a template (research-report or plain), optional title and author for the cover, and an optional output path.
list_templatesReturn the list of available templates with descriptions.

generate_pdf parameters

ParameterRequiredDescription
contentyesMarkdown string to convert
titlenoShown on the cover and in the page footer
authornoShown on the cover above the date
output_pathnoAbsolute path for the output. Defaults to ~/Documents/pdf-it/{slug}-{timestamp}.pdf
templatenoresearch-report (default) or plain

Templates

NameDescription
research-reportCover page with title, author, and date. Auto-generated table of contents from H1 and H2 headings. Body with proper hierarchy. Footer with title and page number. Best for research, summaries, design docs, reports.
plainNo cover, no TOC. Dense body content only. Best for short notes and quick exports.

Skill

This package ships with a Claude Code skill at SKILL.md. Trigger phrases the skill responds to:

  • save this as PDF
  • export as PDF
  • make a PDF report from this
  • turn this into a PDF
  • generate a PDF
  • /pdf

See SKILL.md for the full skill spec.

Output

By default PDFs are written to ~/Documents/pdf-it/{slug}-{timestamp}.pdf. Pass output_path to override.

Design

Three families ship inside the package:

  • Newsreader for the cover title (display 60, light) and body H1 (display 32). High-contrast serif that holds editorial weight at large sizes.
  • DM Sans for H2, H3, table type, and the TOC heading. Quieter sub-hierarchy.
  • JetBrains Mono for page numbers, metadata, code, and figure captions.

Pure white paper, near-black ink (#111113), secondary ink for date and table cells (#2B2B2E), muted gray for page numbers and date (#7A7A7E), hairline borders (#E6E6E6). No accent colors. Code blocks render without syntax highlighting on purpose: color choices in PDFs age badly.

Every value lives in src/templates/design-tokens.ts as the single source of truth. If you want a different design language, fork the components. They live in src/templates/components/ and are plain React-PDF components with a small surface area.

How it works

  1. Parse: remark converts your markdown into an AST.
  2. Compose: the AST becomes typed React components (Cover, TOC, and body primitives like H1/H2/H3, Paragraph, CodeBlock, Blockquote, Table, lists, and charts).
  3. Render: @react-pdf/renderer rasterizes the React tree into a deterministic PDF with embedded fonts and TOC anchors.
  4. Output: the PDF lands in ~/Documents/pdf-it/{slug}-{timestamp}.pdf with title/author metadata embedded.

Total time: typically sub-second for a 5-page document, 1-2 seconds for a 30-page document.

Recognition

Listed on npm, Glama, and LobeHub.

Disclaimer

This is an unofficial, community-built tool. It is not affiliated with, endorsed by, or sponsored by Anthropic PBC. Claude and Claude Code are trademarks of Anthropic PBC.

pdf-it runs locally and ships its own renderer (@react-pdf/renderer) and fonts. Use at your own risk. The author accepts no liability for issues arising from misuse, prompt injection, bugs, or rendering failures.

License

MIT. See LICENSE.

Reviews

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

Frequently Asked Questions about PDF It

pdf-it is an MCP server that converts Markdown into PDFs with a native renderer, providing optional cover pages, auto-generated table of contents, structured body formatting, code blocks designed to hold across page breaks, and page-numbered footers. It runs without Chrome, bundles its fonts, and supports research-report and plain templates.

Install pdf-it with `npm install -g pdf-it-mcp`, or run it on demand with `npx pdf-it-mcp`. It requires Node.js 20 or newer and no other dependencies. Configure the MCP server with `npx -y pdf-it-mcp` in Claude Desktop, Claude Code, Cursor, or another standard MCP client.

pdf-it supports the `research-report` and `plain` templates. `research-report` includes a cover, an automatically generated table of contents from H1 and H2 headings, structured body content, and a footer with the title and page number. `plain` provides dense body content without a cover or table of contents.

Set the optional `output_path` parameter in the `generate_pdf` tool to an absolute file path. Without it, pdf-it writes the PDF to `~/Documents/pdf-it/{slug}-{timestamp}.pdf`.

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