pdf-suite
20 PDF MCP tools: repair, audit, merge, split, rotate, watermark, redact, forms, compress.
使うべきか
品質と安全性
検出事項(8)
- LOWpdf_merge 内
- LOWpdf_split 内
- LOWpdf_extract_pages 内
- LOWpdf_add_page_numbers 内
- LOWpdf_add_watermark 内
- LOWpdf_crop_margins 内
- LOWpdf_to_markdown 内
- LOWpdf_from_images 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"pdf-suite": {
"url": "https://api.quickcoderhub.com/mcp/pdf-suite"
}
}
}リモートエンドポイント
https://api.quickcoderhub.com/mcp/pdf-suitestreamable-httpできること
ツール一覧
ツール(20)
⚪pdf_repair(inputPath, outputPath, base64Data)
Scan damaged PDF binary objects and reconstruct broken/truncated XRef tables and trailers via pdf-lib.
入力スキーマ
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
}
}
}⚪pdf_compliance_audit(filePath, outputPath, base64Data, filename, generateCertificatePdf)
Audit a PDF for hidden 3-Tr invisible text operators, OCG layers, active /JS, annotations, and metadata leaks, and optionally issue a SHA-256 Compliance Certificate PDF.
入力スキーマ
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"outputPath": {
"type": "string",
"description": "Optional local output path for SHA-256 Compliance Certificate PDF."
},
"base64Data": {
"type": "string"
},
"filename": {
"type": "string",
"default": "document.pdf"
},
"generateCertificatePdf": {
"type": "boolean",
"default": false
}
}
}⚪pdf_merge(base64Data, documentsBase64, outputPath)
Merge multiple base64-encoded PDF documents cleanly in exact page order via pdf-lib.
入力スキーマ
{
"type": "object",
"properties": {
"base64Data": {
"type": "string",
"description": "Primary PDF base64 (used if documentsBase64 omitted)."
},
"documentsBase64": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of base64 PDFs to concatenate."
},
"outputPath": {
"type": "string"
}
}
}⚪pdf_split(inputPath, outputPath, base64Data, pages)
Split a PDF by page range or page chunk size into an extracted PDF slice plus per-range metadata.
入力スキーマ
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"pages": {
"type": "string",
"default": "1",
"description": "1-based page range, e.g. \"1-2\"."
}
}
}🔴pdf_remove_pages(inputPath, outputPath, base64Data, removePages)
Delete specified 1-based page numbers or ranges from a PDF document.
入力スキーマ
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"removePages": {
"type": "string",
"description": "Pages to delete e.g. \"2,4-5\"."
}
}
}🟢pdf_extract_pages(inputPath, outputPath, base64Data, pages)
Extract and reorder specific 1-based pages from a PDF into a new PDF file.
入力スキーマ
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"pages": {
"type": "string",
"default": "1",
"description": "Pages/order to extract e.g. \"1,3-4\"."
}
}
}⚪pdf_rotate(inputPath, outputPath, base64Data, angle, pages)
Permanently rotate all or selected pages of a PDF by 90, 180, or 270 degrees clockwise.
入力スキーマ
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"angle": {
"type": "integer",
"enum": [
90,
180,
270
],
"default": 90
},
"pages": {
"type": "string",
"description": "Optional 1-based page filter (defaults to all pages)."
}
}
}🟡pdf_add_page_numbers(inputPath, outputPath, base64Data, prefix, startNumber)
Stamp vector pagination or Bates numbers (e.g. "Page X of Y") onto every PDF page.
入力スキーマ
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"prefix": {
"type": "string",
"default": "Page "
},
"startNumber": {
"type": "integer",
"default": 1
}
}
}🟡pdf_add_watermark(inputPath, outputPath, base64Data, watermarkText, opacity)
Overlay a diagonal translucent vector text watermark (e.g. CONFIDENTIAL) across all pages of a PDF.
入力スキーマ
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"watermarkText": {
"type": "string",
"default": "CONFIDENTIAL"
},
"opacity": {
"type": "number",
"default": 0.25
}
}
}⚪pdf_crop_margins(inputPath, outputPath, base64Data, marginPt)
Trim uniform PDF CropBox margins (in points) across all pages while preserving vector content.
入力スキーマ
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"marginPt": {
"type": "number",
"default": 24
}
}
}⚪pdf_protect_metadata(inputPath, outputPath, base64Data, ownerLabel)
Audit PDF encryption state, scrub identifying Creator/Producer/Author metadata, and stamp deterministic integrity protection headers.
入力スキーマ
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"ownerLabel": {
"type": "string",
"default": "Protected Document"
}
}
}⚪pdf_unlock_strip_restrictions(inputPath, outputPath, base64Data)
Load owner-restricted PDFs (ignoreEncryption) and re-serialize clean unlocked pages without permission locks.
入力スキーマ
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
}
}
}🔴pdf_redact_terms(inputPath, outputPath, base64Data, redactTerms)
Scan PDF text streams for target terms or PII patterns (emails, SSNs, cards) and purge matching raw stream literals + metadata before re-saving.
入力スキーマ
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"redactTerms": {
"type": "array",
"items": {
"type": "string"
}
}
}
}🟢pdf_forms_inspect_and_fill(inputPath, outputPath, base64Data, fieldValues, flatten)
Inspect all interactive AcroForm fields in a PDF, optionally fill text/checkbox fields from JSON, and flatten form widgets.
入力スキーマ
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"fieldValues": {
"type": "object",
"description": "Map of fieldName -> string value to fill."
},
"flatten": {
"type": "boolean",
"default": false
}
}
}🟢pdf_to_markdown(filePath, base64Data)
Extract uncompressed PDF text operators (Tj/TJ) and document metadata into clean Markdown.
入力スキーマ
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"base64Data": {
"type": "string"
}
}
}⚪pdf_to_pdfa_archival(inputPath, outputPath, base64Data)
Normalize a PDF for long-term ISO-19005 PDF/A-like archival consistency by flattening forms, embedding standard fonts, and setting XMP/catalog timestamps.
入力スキーマ
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
}
}
}⚪pdf_compare(base64Data, secondBase64Data)
Structurally compare two PDFs (page count, page dimensions, metadata, SHA-256, and extracted text tokens) to pinpoint differences.
入力スキーマ
{
"type": "object",
"properties": {
"base64Data": {
"type": "string",
"description": "First PDF base64."
},
"secondBase64Data": {
"type": "string",
"description": "Second PDF base64 (defaults to self-comparison if omitted)."
}
}
}⚪pdf_compress(inputPath, outputPath, base64Data)
Compact a PDF structurally by stripping unused objects, clearing XMP/metadata bloat, and enabling PDF 1.5 compressed Object Streams.
入力スキーマ
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
}
}
}⚪pdf_from_images(inputPath, outputPath, base64Data, imagesBase64)
Wrap one or more JPEG/PNG images (or fall back to an annotated vector page) into a clean PDF document.
入力スキーマ
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string",
"description": "JPEG or PNG image bytes."
},
"imagesBase64": {
"type": "array",
"items": {
"type": "string"
}
}
}
}⚪pdf_from_html_text(outputPath, text, title)
Render HTML or plain text into a paginated vector PDF document using pdf-lib.
入力スキーマ
{
"type": "object",
"properties": {
"outputPath": {
"type": "string"
},
"text": {
"type": "string",
"description": "HTML markup or plain text to render to PDF."
},
"title": {
"type": "string",
"default": "QuickCoderHub Document"
}
}
}コミュニティ
エビデンス