PDF.co MCP Server
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| X_API_KEY | Yes | Your PDF.co API key. Get it from https://pdf.co |
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": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pdf_to_jsonA | Convert PDF and scanned images into JSON representation with text, fonts, images, vectors, and formatting preserved using the /pdf/convert/to/json2 endpoint. Ref: https://developer.pdf.co/api/pdf-to-json/basic.md |
| pdf_to_csvB | Convert PDF and scanned images into CSV representation with layout, columns, rows, and tables. Ref: https://developer.pdf.co/api/pdf-to-csv.md |
| pdf_to_textB | Convert PDF and scanned images to text with layout preserved. Ref: https://developer.pdf.co/api/pdf-to-text/basic.md |
| pdf_to_xlsC | Convert PDF and scanned images to XLS (Excel 97-2003) format. Ref: https://developer.pdf.co/api/pdf-to-excel/xls.md |
| pdf_to_xlsxC | Convert PDF and scanned images to XLSX (Excel 2007+) format. Ref: https://developer.pdf.co/api/pdf-to-excel/xlsx.md |
| pdf_to_xmlC | Convert PDF and scanned images to XML format. Ref: https://developer.pdf.co/api/pdf-to-xml.md |
| pdf_to_htmlB | Convert PDF and scanned images to HTML format. Ref: https://developer.pdf.co/api/pdf-to-html.md |
| pdf_to_imageB | Convert PDF and scanned images to various image formats (JPG, PNG, WebP, TIFF). Ref: |
| document_to_pdfC | Convert various document types (DOC, DOCX, RTF, TXT, XLS, XLSX, CSV, HTML, JPG, PNG, TIFF, WEBP) into PDF. Ref: https://developer.pdf.co/api/pdf-from-document/doc.md |
| csv_to_pdfC | Convert CSV or spreadsheet files (XLS, XLSX) to PDF. Ref: https://developer.pdf.co/api/pdf-from-document/csv.md |
| image_to_pdfC | Convert various image formats (JPG, PNG, TIFF) to PDF. Ref: https://developer.pdf.co/api/pdf-from-image.md |
| webpage_to_pdfA | Convert external webpage URL to PDF. Ref: https://developer.pdf.co/api/pdf-from-url.md The header and footer parameters can contain valid HTML markup with the following classes used to inject printing values into them:
|
| html_to_pdfB | Convert HTML to PDF. Ref: https://developer.pdf.co/api/pdf-from-html/convert.md The header and footer parameters can contain valid HTML markup with the following classes used to inject printing values into them:
|
| email_to_pdfB | Convert email to PDF. Ref: https://developer.pdf.co/api/pdf-from-email.md |
| excel_to_csvA | Convert Excel(XLS, XLSX) to CSV. Retiring on January 5, 2027: the underlying PDF.co API endpoint is being discontinued. The tool keeps working until that date and will be removed afterwards. Ref: https://developer.pdf.co/api/convert-from-excel/csv.md |
| excel_to_jsonA | Convert Excel(XLS, XLSX) to JSON. Retiring on January 5, 2027: the underlying PDF.co API endpoint is being discontinued. The tool keeps working until that date and will be removed afterwards. Ref: https://developer.pdf.co/api/convert-from-excel/json.md |
| excel_to_htmlB | Convert Excel(XLS, XLSX) to HTML. Retiring on January 5, 2027: the underlying PDF.co API endpoint is being discontinued. The tool keeps working until that date and will be removed afterwards. Ref: https://developer.pdf.co/api/convert-from-excel/html.md |
| excel_to_txtA | Convert Excel(XLS, XLSX) to TXT. Retiring on January 5, 2027: the underlying PDF.co API endpoint is being discontinued. The tool keeps working until that date and will be removed afterwards. Ref: https://developer.pdf.co/api/convert-from-excel/text.md |
| excel_to_xmlA | Convert Excel(XLS, XLSX) to XML. Retiring on January 5, 2027: the underlying PDF.co API endpoint is being discontinued. The tool keeps working until that date and will be removed afterwards. Ref: https://developer.pdf.co/api/convert-from-excel/xml.md |
| excel_to_pdfC | Convert Excel(XLS, XLSX) to PDF. Ref: https://developer.pdf.co/api/convert-from-excel/pdf.md |
| pdf_to_pdfaA | Convert a PDF to PDF/A-3b and validate the result with veraPDF.
The job always runs in the background: this returns a job ID, and the result comes from 'wait_job_completion'.
A result that is not compliant still finishes as success, so check |
| pdf_to_e_invoiceA | Create a Factur-X or ZUGFeRD e-invoice by embedding invoice XML into a PDF, converting it to PDF/A-3 and validating it with veraPDF and Mustang.
The job always runs in the background: this returns a job ID, and the result comes from 'wait_job_completion'.
An e-invoice that fails validation ends as a failed job and the charge is refunded; |
| markdown_to_pdfA | Convert Markdown into a PDF (Letter portrait, fixed stylesheet) with tables, code blocks, footnotes, images and CJK text.
The job always runs in the background: this returns a job ID, and the result comes from 'wait_job_completion'.
A successful result can carry |
| get_job_checkB | Check the status and results of a job Status can be:
|
| wait_job_completionC | Wait for a job to complete |
| upload_fileC | Upload a file to the PDF.co API |
| pdf_mergeB | Merge PDF from two or more PDF, DOC, XLS, images, even ZIP with documents and images into a new PDF. Ref: https://developer.pdf.co/api/merge/various-files.md |
| pdf_splitB | Split a PDF into multiple PDF files using page indexes or page ranges. Ref: https://developer.pdf.co/api/pdf-split/by-pages.md |
| read_pdf_forms_infoC | Extracts information about fillable PDF fields from an input PDF file. Ref: https://developer.pdf.co/api/forms/info-reader.md |
| fill_formsA | Fill existing form fields in a PDF document. Example fields format: [ { "fieldName": "field_name_from_form_info", "pages": "1", "text": "Value to fill" } ] Use 'read_pdf_forms_info' first to get the fieldName values of the form. |
| create_fillable_formsB | Create new fillable form elements in a PDF document. Example annotations format: [ { "text": "prefilled text", "x": 10, "y": 30, "size": 12, "pages": "0-", "type": "TextField", "id": "textfield1" }, { "x": 100, "y": 150, "size": 12, "pages": "0-", "type": "Checkbox", "id": "checkbox1" } ] |
| find_textB | Find text in PDF and get coordinates. Supports regular expressions. Ref: https://developer.pdf.co/api/pdf-find/basic.md |
| find_tableB | Find tables in PDF and get their coordinates. Ref: https://developer.pdf.co/api/pdf-find/table.md |
| pdf_make_searchableA | Convert scanned PDF documents or image files into a text-searchable PDF. Runs OCR and adds an invisible text layer that can be used for text search. Ref: https://developer.pdf.co/api/pdf-change-text-searchable/searchable.md |
| pdf_make_unsearchableB | Make existing PDF document non-searchable by removing the text layer from it. Ref: https://developer.pdf.co/api/pdf-change-text-searchable/unsearchable.md |
| pdf_add_passwordC | Add password protection to a PDF file. Ref: https://developer.pdf.co/api/pdf-password/add.md |
| pdf_remove_passwordB | Remove password protection from a PDF file. Ref: https://developer.pdf.co/api/pdf-password/remove.md |
| pdf_info_readerB | Get detailed information about a PDF document - number of pages, metadata, security, form fields, and more. Ref: https://developer.pdf.co/api/pdf-info-reader.md |
| ai_invoice_parserC | AI Invoice Parser: Extracts data from invoices using AI. Ref: https://developer.pdf.co/api/ai-invoice-parser.md |
| extract_attachmentsC | Extracts attachments from a source PDF file. Ref: https://developer.pdf.co/api/pdf-extract-attachments.md |
| pdf_add_annotations_images_fieldsA | Add text, images, forms, other PDFs, fill forms, links to external sites and external PDF files. You can update or modify PDF and scanned PDF files. This tool supports three main ways to add content:
Example annotations: [{"text": "Sample Text - Click here to test link", "x": 250, "y": 240, "size": 24, "pages": "0-", "color": "CCBBAA", "link": "https://pdf.co/", "fontName": "Comic Sans MS", "fontItalic": true, "fontBold": true, "fontStrikeout": false, "fontUnderline": true}] Example images: [{"url": "https://pdfco-test-files.s3.us-west-2.amazonaws.com/pdf-edit/logo.png", "x": 270, "y": 150, "width": 159, "height": 43, "pages": "0"}] Example fields: [{"fieldName": "topmostSubform[0].Page1[0].YourSocial_ReadOrderControl[0].f1_05[0]", "pages": "1", "text": "Joan B.", "fontName": "Arial", "size": 6, "fontBold": true, "fontItalic": true, "fontStrikeout": true, "fontUnderline": true}] |
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 41 tools
Most source→target conversion tools are self-explanatory, but there is real overlap: `document_to_pdf` claims to handle CSV, images and HTML that also have dedicated `csv_to_pdf`, `image_to_pdf` and `html_to_pdf` tools, and `pdf_add_annotations_images_fields`, `fill_forms` and `create_fillable_forms` all write into PDFs in similar ways. `pdf_to_xls` vs `pdf_to_xlsx` and the five retiring `excel_to_*` tools add further selection ambiguity.
The dominant convention is a clear snake_case `source_to_target` pattern (pdf_to_text, html_to_pdf, image_to_pdf), which is highly predictable. A handful of outliers break it — `ai_invoice_parser`, `get_job_check`, `pdf_info_reader`, `extract_attachments`, `find_text`, and the verbose `pdf_add_annotations_images_fields` — but the overall scheme remains readable.
41 tools is well past the heavy threshold, and the surface is inflated by one-tool-per-format-pair expansion (pdf_to_xls, pdf_to_xlsx, pdf_to_csv, pdf_to_xml, pdf_to_html…) plus five `excel_to_*` tools already marked as retiring. A format/parameter-driven converter or fewer consolidated tools would cover the same ground with far less selection burden.
Coverage of the core domain is strong: ingestion (upload, HTML, URL, markdown, email, documents), extraction (text, JSON, CSV, XML, tables, text search), page operations (merge, split), forms, annotations, OCR and password management. Gaps exist for page-level editing (delete/rotate/extract pages), compression, watermarking and redaction, which agents will hit in moderate workflows.