PDF MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PDF_MCP_DEBUG | No | Enable debug logging | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| extract_textA | Extract text content from a PDF file. Supports PDFs with searchable text and can extract text from specific pages or ranges. Returns plain text content. |
| extract_metadataA | Extract metadata from a PDF file including title, author, subject, keywords, creator, producer, creation date, modification date, and page count. |
| search_textA | Search for specific text within a PDF file. Returns page numbers and context around the found text. Useful for finding specific content in large documents. |
| get_page_countA | Get the total number of pages in a PDF file. Returns a simple integer count. |
| extract_pagesA | Extract specific pages from a PDF file and save as a new PDF. Supports page ranges and individual page selection. |
| merge_pdfsA | Merge multiple PDF files into a single PDF. Returns a base64-encoded merged PDF. Files are merged in the order provided. |
| split_pdfA | Split a PDF file into multiple separate PDF files based on page ranges. Returns a JSON with base64-encoded PDFs for each selected page. Supports single pages (e.g., '1'), page ranges (e.g., '1-3'), and all pages (e.g., 'all'). |
| pdf_to_imagesA | Convert PDF pages to PNG images. Returns a JSON with base64-encoded PNG images for each page. Supports custom DPI settings for resolution control. |
| get_form_fieldsA | Extract all form fields from a PDF document including field names, types, current values, and available choices for dropdown fields. |
| fill_formA | Fill form fields in a PDF document with provided values and save to output path. Supports text fields, checkboxes, radio buttons, and dropdowns. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Each tool has a clearly distinct purpose: metadata extraction, text extraction, page extraction, form handling, merging, splitting, conversion to images, text search, and page count. No overlapping functionality.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., extract_metadata, merge_pdfs, get_page_count). The naming is predictable and clear.
10 tools cover a well-scoped set of PDF operations without redundancy. The count is appropriate for a utility server handling common PDF tasks.
The tool set covers core PDF workflows: metadata, text extraction, page manipulation, form handling, merging, splitting, search, and conversion. Minor gaps like PDF creation or OCR are absent but not critical for typical use.