RM

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

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
Открыть полный README на GitHub

Установка

uvx mcp-pdf
Новичок в MCP? Начните с руководства на mcpskill.org →