Skip to main content
Glama

MCP PDF Forms

A PDF form manipulation toolkit built with MCP and PyMuPDF.

Features

  • Find PDF files across multiple directories

  • Extract form field information from PDF files

  • Visualize form fields in PDF documents

Installation

# Install package from PyPI pip install mcp_pdf_forms # Or install from source git clone https://github.com/Wildebeest/mcp_pdf_forms.git cd mcp_pdf_forms pip install -e .

Server

The server component provides PDF-related tools via MCP's API:

# Start the server with one or more directories to scan for PDFs uv run -m mcp_pdf_forms.server examples

Or to add to claude-code:

claude mcp add pdf-forms uv run -- --with mcp-pdf-forms -m mcp_pdf_forms.server .

Usage

Once installed, you can use the package to work with PDF forms. The package provides tools through the MCP interface.

PDF Discovery Tool

The PDF Discovery tool helps you find PDF files across specified directories.

  • Input: Directory paths to search for PDFs

  • Output: List of PDF files found in the specified directories

  • Usage: Use this to quickly locate all PDF files in your project or specified folders

Form Field Extraction Tool

The Form Field Extraction tool extracts information about all form fields in a PDF document.

  • Input: Path to a PDF file

  • Output: Detailed information about each form field including field name, type, position, and other properties

  • Usage: Use this to analyze form structure and understand the fields available for filling

Field Highlight Visualization Tool

The Field Highlight tool creates a visual representation of form fields in the PDF.

  • Input: Path to a PDF file

  • Output: Modified PDF with all form fields highlighted for easy identification

  • Usage: Use this to visually inspect the layout and position of form fields in your document

Libraries Used

  • MCP - Machine Conversation Protocol framework

  • PyMuPDF - Python bindings for MuPDF, a high-performance PDF library

License

MIT

Related MCP Servers

  • A
    security
    F
    license
    A
    quality
    An MCP server that provides a tool to extract text content from local PDF files, supporting both standard PDF reading and OCR capabilities with optional page selection.
    Last updated -
    1
    24
    • Apple
  • -
    security
    A
    license
    -
    quality
    An MCP server that provides multiple file conversion tools for AI agents, supporting various document and image format conversions including DOCX to PDF, PDF to DOCX, image conversions, Excel to CSV, HTML to PDF, and Markdown to PDF.
    Last updated -
    23
    MIT License
    • Linux
    • Apple
  • -
    security
    F
    license
    -
    quality
    A PDF processing server that extracts text via normal parsing or OCR, and retrieves images from PDF files through the MCP protocol with a built-in web debugger.
    Last updated -
    31
  • -
    security
    F
    license
    -
    quality
    This MCP server enables interactions with the PDF Generator API for creating, converting, and managing PDF documents using natural language commands.
    Last updated -

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Wildebeest/mcp_pdf_forms'

If you have feedback or need assistance with the MCP directory API, please join our Discord server