
pdf-it
@mrslbt
关于 pdf-it
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"
]
}
}
}工具
2Convert markdown into a PDF. Accepts a template (`research-report` or `plain`), optional title and author for the cover, and an optional output path.
Return the list of available templates with descriptions.
概览
What is pdf-it?
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.
How to use pdf-it?
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.
Key features of pdf-it
- Converts markdown to PDF with one command
- Ships with embedded fonts for consistent output across machines
- Two templates:
research-report(cover, TOC) andplain(no cover, no TOC) - Auto-generated cover page, table of contents, and page-numbered footer
- Highly structured output using React-PDF components
- Output lands in
~/Documents/pdf-it/by default
Use cases of pdf-it
- Exporting a Claude Code research session as a professional PDF report
- Turning markdown notes into client-ready design documents or summaries
- Generating consistent PDF reports from markdown without manual formatting
- Quickly converting short notes into dense, no-frills PDFs
FAQ from pdf-it
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.
Where does pdf-it save the generated PDFs?
By default, PDFs are saved to ~/Documents/pdf-it/{slug}-{timestamp}.pdf. You can override the output path with the output_path parameter.
What templates are available in pdf-it?
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.
Is pdf-it affiliated with Anthropic?
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.
How does pdf-it render PDFs?
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.
文件与存储 分类下的更多 MCP 服务器
Filesystem MCP Server SSE
ysthinkThe SSE version of the MCP service is modified from the Filesystem MCP server
PDF Tools MCP
danielkennedy1mcp-rquest
xxxbrianA MCP server providing realistic browser-like HTTP request capabilities with accurate TLS/JA3/JA4 fingerprints for bypassing anti-bot measures. It also supports converting PDF and HTML documents to Markdown for easier processing by LLMs.
PDF Reader MCP Server (@shtse8/pdf-reader-mcp)
shtse8📄 The PDF intelligence layer for AI agents — Agent Document Twin, evidence-first extraction, visual crops, OCR provenance, trust reports, and benchmark-gated releases. MCP server for Claude, Cursor, VS Code, and any MCP client.
Filesystem MCP Server (@shtse8/filesystem-mcp)
shtse8📁 Secure, efficient MCP filesystem server - token-saving batch operations with project root confinement
评论