pdf-it MCP Server
Native PDF renderer for AI markdown. Cover, TOC, page-numbered footer. Fonts embedded, zero config.
pdf-it scores 36 (Limited), licensed MIT and written in TypeScript. It installs as a local process. It declares 3 tools. Filed under Knowledge. GitHub shows 2 stars. Package registries report about 89 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
36 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
84/100 for listing completeness. Lost points: 1 of 3 tools barely described, short summary.
How quality is graded
Where the 36 comes from
0 + 10 + 5 + 10 + 4 + 7 = 36. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 5 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "mrslbt-pdf-it": { "command": "npx", "args": [ "-y", "pdf-it-mcp@2.1.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools3Tool docs quality grade C
All capabilitiesgenerate_pdftoolConvert markdown into a PDF. Accepts a template (research-report or plain), optional title and author for the cover, and an optional output path.
list_templatestoolReturn the list of available templates with descriptions.
output_pathtoolno
About
pdf-it
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.

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.

Install
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:
{
"mcpServers": {
"pdf-it": {
"command": "npx",
"args": ["-y", "pdf-it-mcp"]
}
}
}
Claude Code
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
| Tool | Description |
|---|---|
generate_pdf | Convert markdown into a PDF. Accepts a template (research-report or plain), optional title and author for the cover, and an optional output path. |
list_templates | Return the list of available templates with descriptions. |
generate_pdf parameters
| Parameter | Required | Description |
|---|---|---|
content | yes | Markdown string to convert |
title | no | Shown on the cover and in the page footer |
author | no | Shown on the cover above the date |
output_path | no | Absolute path for the output. Defaults to ~/Documents/pdf-it/{slug}-{timestamp}.pdf |
template | no | research-report (default) or plain |
Templates
| Name | Description |
|---|---|
research-report | Cover 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. |
plain | No 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 PDFexport as PDFmake a PDF report from thisturn this into a PDFgenerate 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
- Parse: remark converts your markdown into an AST.
- Compose: the AST becomes typed React components (Cover, TOC, and body primitives like H1/H2/H3, Paragraph, CodeBlock, Blockquote, Table, lists, and charts).
- Render:
@react-pdf/rendererrasterizes the React tree into a deterministic PDF with embedded fonts and TOC anchors. - Output: the PDF lands in
~/Documents/pdf-it/{slug}-{timestamp}.pdfwith 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.
Frequently asked questions
What is pdf-it MCP Server?
Native PDF renderer for AI markdown. Cover, TOC, page-numbered footer. Fonts embedded, zero config.
How do I install pdf-it MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. pdf-it MCP Server runs locally from the npm package pdf-it-mcp with the command npx -y pdf-it-mcp@2.1.0.
Is pdf-it MCP Server free and open source?
Yes. pdf-it MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does pdf-it MCP Server support remote (HTTP) connections?
No remote endpoint is listed for pdf-it MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does pdf-it MCP Server provide?
pdf-it MCP Server provides 3 tools: generate_pdf, list_templates, and output_path. See the full tool list for descriptions and parameters.
How is pdf-it MCP Server's trust score calculated?
pdf-it MCP Server scores 36 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.