PDF MCP server
LiveRead, merge, split, rotate and fill PDFs from your assistant.
Credential-free PDF tools running in ToolCargo's own functions with free open-source libraries. Supply file bytes as base64; receive text, metadata or a new PDF as base64. No provider account or paid PDF API.
PDF is a hosted MCP server with 10 tools. The Claude Code command is on this page. Steps for Cursor and ChatGPT, and which clients we have tested, are in the client guides.
Connect / 10 tools
Server URL
https://toolcargo.com/mcp/pdfClaude Code
claude mcp add --transport http --scope user toolcargo-pdf https://toolcargo.com/mcp/pdf \
--header "Authorization: Bearer YOUR_API_KEY"Create a key in your dashboard. Other clients: setup guides.
What it helps you do
- Extract text and inspect pages/form fields
- Merge, split and rotate documents
- Turn images, text, HTML or Markdown into PDFs
- Fill standard AcroForms
Built for: People assembling reports, extracting document text and filling standard forms.
Example requests
Assemble a report
“Merge these two base64 PDFs with ToolCargo PDF, then inspect the result's page count.”
A new PDF in input order and a page-count check; the original files remain unchanged.
Tools
| Tool | What it does | Access |
|---|---|---|
pdf_infoPDF page count, metadata and form fields | Inspect a base64 PDF: page count, page sizes/rotations, selected metadata and up to 100 AcroForm field names/types/options. No authenticity or signature assessment. | Read-only |
pdf_extract_textExtract PDF text | Read embedded text from selected one-based pages (default first 10, maximum 20), capped at 50,000 characters. No OCR; layout and reading order may differ. | Read-only |
pdf_mergeMerge PDFs | Combine 2 to 10 base64 PDFs in input order. Returns base64 PDF bytes. Maximum 100 combined pages and 2 MiB input/output. Document-level forms, signatures and outlines are not preserved. | Read-only |
pdf_extract_pagesSplit or extract PDF pages | Create one PDF from selected unique one-based page numbers, in the supplied order. Call separately for each split. Source remains unchanged; document-level forms and signatures are not preserved. | Read-only |
pdf_rotateRotate PDF pages | Create a copy rotated by 90, 180 or 270 degrees clockwise, on selected pages or all pages. Existing rotation is retained and incremented. Can invalidate signatures. | Read-only |
pdf_images_to_pdfImages to PDF | Create an A4 PDF from 1 to 20 PNG/JPEG base64 images, one fitted image per page. At most 4096 pixels per side, 4 million pixels per image, 8 million combined and 2 MiB combined input/output. | Read-only |
pdf_text_to_pdfText to PDF | Create an A4 PDF from up to 50,000 characters of plain Latin WinAnsi text. Lines wrap automatically. No HTML/CSS or Markdown rendering; unsupported scripts return an error. | Read-only |
pdf_html_to_pdfHTML to PDF | Create an A4 PDF from up to 50,000 characters of HTML using semantic Latin WinAnsi layout: headings, paragraphs, emphasis, lists, code and table rows as text. No CSS, scripts, external assets or browser layout. Images become omission labels and links become text. | Read-only |
pdf_markdown_to_pdfMarkdown to PDF | Create an A4 PDF from up to 50,000 characters of Markdown using the same bounded semantic layout. Headings, emphasis, lists, code and tables as row text; images omitted, no external requests. Latin WinAnsi only. | Read-only |
pdf_fill_formFill PDF form fields | Create a copy with explicit standard AcroForm text, checkbox and choice values. Inspect names/options with pdf_info. Interactive by default; flatten only when requested. No XFA or signature fields. | Read-only |
Requirements
- • A ToolCargo account with Site Audit activated (free) and a PDF-scoped key or OAuth.
- • An assistant/client able to send base64 file bytes and save returned base64. ToolCargo cannot read local file paths.
Limitations
- • 2 MiB combined binary input and output, at most 100 pages; processing stops after 15 seconds.
- • No OCR, password-protected PDFs, XFA, signatures or table extraction. HTML/Markdown use semantic layout, not browser CSS/JavaScript rendering.
- • Text creation and form appearances use a Latin WinAnsi font; unsupported scripts return an error.
- • PDFs are processed in memory without a connector file store. Your assistant and MCP client may retain submitted files and results.
- • Static PNG/JPEG only: at most 4 million pixels each, 8 million combined. Animated PNGs and compressed PNG metadata are rejected.
- • Highly compressed or complex files may exceed decoder limits even below the upload limit.
- • Not a sanitizer: edited files may retain active content, and edits can invalidate signatures.
Supported clients
“Tested” means we connected that client to this endpoint and ran a tool call ourselves. Recorded client-specific tests currently cover Site Audit. Other connectors use the documented setup until tested in that client.
| Claude Code | API key header | Documented, not yet tested | This endpoint has not yet been tested in this client. See the setup guide. |
| Claude (claude.ai) | OAuth sign-in | Documented, not yet tested | This endpoint has not yet been tested in this client. See the setup guide. |
| Cursor | API key header | Documented, not yet tested | This endpoint has not yet been tested in this client. See the setup guide. |
| VS Code (Copilot agent mode) | API key header | Documented, not yet tested | This endpoint has not yet been tested in this client. See the setup guide. |
| ChatGPT (developer mode) | OAuth sign-in | Documented, not yet tested | This endpoint has not yet been tested in this client. See the setup guide. |
| MCP Inspector | API key header | Documented, not yet tested | This endpoint has not yet been tested in this client. See the setup guide. |
More in Documents & PDF
- GitHub LiveRead repositories, issues and pull requests your GitHub token can access.
- Google Sheets LiveRead spreadsheets your Google account can open, by URL, read-only.
- Notion LiveSearch and read pages in a Notion workspace you already use.
- Shopify LiveRead-only orders and products from a Shopify store you already run.
Pricing
Included with the shared Site Audit plan. Each successful operation uses one plan call; no separate provider fee.
Free
$0Try hosted tools with a shared monthly allowance.
50 shared calls/month
Pro
$12/moProposed larger shared allowance; see checkout status on the pricing page.
2,000 shared calls/month
Proposed test price. See the pricing page for checkout status.