Skip to main content

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

Metadata

Release files for mcp-pdf-forms 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-pdf-forms 0.2.0
File Size Uploaded
mcp_pdf_forms-0.2.0.tar.gz 4.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-pdf-forms 0.2.0
File Interpreter ABI Platform
mcp_pdf_forms-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.2 MB

Release files / mcp_pdf_forms-0.2.0.tar.gz

Download URL mcp_pdf_forms-0.2.0.tar.gz
Size 4.2 MB
Tags Source
SHA-256 checksum
How to use checksums
13786af8a18ec0c01b60225cd437bf91cc02605705f1475f1ba3da4578166686
BLAKE2b-256 checksum
How to use checksums
cf5c25f7282be6dbae5e9545bbdb9c994c1ff8e1c97d5bb127a5dabe955d24b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.7

Release files / mcp_pdf_forms-0.2.0-py3-none-any.whl

Download URL mcp_pdf_forms-0.2.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a570a5da15a258bddffbf7f80b8f46578e4d9671aa8b70b12b2b15ed26753f9e
BLAKE2b-256 checksum
How to use checksums
e81e56a2e220d8a66efd95d1b3c5c10061212294be624a99d258f2babd8b14fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.7

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page