RM

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

11 stars 3 forks 品質 66 トレンド 26MIT

🔒 Secure FastMCP server for comprehensive PDF processing - text extraction, OCR, table extraction, forms, annotations, and more

概要

52 tools for text extraction, OCR, tables, forms, XFA, annotations, markdown↔PDF, and more MCP PDF extracts content from PDFs using multiple libraries with automatic fallbacks. If one method fails, it tries another. - via PyMuPDF, pdfplumber, or pypdf (auto-fallback) - via Camelot, pdfplumber, or Tabula (auto-fallback) - for scanned documents via Tesseract - - extract, fill, and create PDF forms - - merge, split, reorder pages - - sticky notes, highlights, stamps - - extract to SVG for schematics and technical drawings - - PDF ↔ Markdown (PDF→MD via PyMuPDF, MD→PDF via pandoc) - - Schema extraction for dynamic Adobe LiveCycle forms that no open-source library can render uvx caches tool installs aggressively. After upgrading to a new release, force a refresh with uvx --refresh mcp-pdf (or uvx --refresh --from "mcp-pdf[markdown]" mcp-pdf if you're using extras).

README

以下は原文 README の抜粋です。原文を見る。


What It Does

MCP PDF extracts content from PDFs using multiple libraries with automatic fallbacks. If one method fails, it tries another.

Core capabilities:

  • Text extraction via PyMuPDF, pdfplumber, or pypdf (auto-fallback)
  • Table extraction via Camelot, pdfplumber, or Tabula (auto-fallback)
  • OCR for scanned documents via Tesseract
  • Form handling - extract, fill, and create PDF forms
  • Document assembly - merge, split, reorder pages
  • Annotations - sticky notes, highlights, stamps
  • Vector graphics - extract to SVG for schematics and technical drawings
  • Format conversion - PDF ↔ Markdown (PDF→MD via PyMuPDF, MD→PDF via pandoc)
  • XFA forms - Schema extraction for dynamic Adobe LiveCycle forms that no open-source library can render

Quick Start

# Run from PyPI (one-shot, no permanent install)
uvx mcp-pdf

# Add to Claude Code — note the `--` separator before uvx
claude mcp add pdf-tools -- uvx mcp-pdf

# Include the markdown_to_pdf tool (requires pandoc on host)
claude mcp add pdf-tools -- uvx --from "mcp-pdf[markdown]" mcp-pdf

uvx caches tool installs aggressively. After upgrading to a new release, force a refresh with uvx --refresh mcp-pdf (or uvx --refresh --from "mcp-pdf[markdown]" mcp-pdf if you’re using extras).


Tools

Content Extraction

Tool What it does
GitHub で README 全文を見る

インストール

uvx mcp-pdf
MCP 初心者?mcpskill.org のガイドから始めましょう →