What are the runtime requirements for pdf-it?
Node.js 20 or newer is required. No other dependencies are needed—the renderer and fonts are bundled inside the package.

@mrslbt
基本信息
Native PDF renderer for AI-generated markdown. Cover page, auto TOC, page-numbered footer. Fonts embedded, zero config.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"pdf-it": {
"command": "npx",
"args": [
"-y",
"pdf-it-mcp"
]
}
}
}Convert markdown into a designed PDF (cover page, auto TOC, page-numbered footer). Use this for any "save/export/print/share as PDF", "make a report", "turn this into a PDF", or /pdf request — do NOT fall back to Chrome headless, cupsfilter, wkhtmltopdf, pandoc, or LaTeX. Templates: research-report (cover + TOC, default) or plain (no cover, no TOC).
List all available PDF templates with their descriptions.
pdf-it is a Model Context Protocol (MCP) server and Claude Code skill that converts markdown into PDFs with a professional appearance—cover page, table of contents, code blocks that hold across page breaks, and page-numbered footer. Fonts are embedded in the package, so every PDF looks identical on any machine with no extra dependencies. It is designed for users of Claude Desktop, Claude Code, and other MCP-compatible hosts who want to turn markdown output into client-ready PDFs in a single command.
Install globally with npm install -g pdf-it-mcp or run on demand with npx pdf-it-mcp. Configure the MCP server in your client (e.g., Claude Desktop, Claude Code, Cursor) using the command npx -y pdf-it-mcp. In a Claude session, trigger the skill with phrases like “save this as PDF”, “export as PDF”, “make a PDF report from this”, or “/pdf”. The PDF is written to ~/Documents/pdf-it/{slug}-{timestamp}.pdf by default.
research-report (cover, TOC) and plain (no cover, no TOC)~/Documents/pdf-it/ by defaultNode.js 20 or newer is required. No other dependencies are needed—the renderer and fonts are bundled inside the package.
By default, PDFs are saved to `~/Documents/pdf-it/{slug}-{timestamp}.pdf`. You can override the output path with the `output_path` parameter.
Two templates are available: `research-report` (default) includes a cover page with title, author, and date, an auto-generated table of contents, and a footer with title and page number. `plain` omits the cover and TOC for dense body content only.
No. pdf-it 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.
It parses markdown into an AST using remark, composes the AST into React-PDF components (Cover, TOC, body primitives), and renders the React tree into a deterministic PDF using `@react-pdf/renderer` with embedded fonts and TOC anchors.
Manage your Hevy workouts, routines, folders, and exercise templates. Create and update sessions faster, organize plans, and search exercises to build workouts quickly. Stay synced with changes so your training log is always up to date.
Go server implementing Model Context Protocol (MCP) for filesystem operations.
Model Context Protocol (MCP) Server for reading from Google Drive and editing Google Sheets
Blazing-fast, asynchronous MCP server for seamless filesystem operations.
评论