Skip to content
ToolCargo

PDF MCP server

Live

Read, 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

streamable http
https://toolcargo.com/mcp/pdf

Claude Code

terminal
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.

Explore useful agent workflows ↗

Tools

ToolWhat it doesAccess
pdf_info
PDF 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_text
Extract 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_merge
Merge 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_pages
Split 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_rotate
Rotate 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_pdf
Images 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_pdf
Text 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_pdf
HTML 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_pdf
Markdown 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_form
Fill 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 CodeAPI key headerDocumented, not yet testedThis endpoint has not yet been tested in this client. See the setup guide.
Claude (claude.ai)OAuth sign-inDocumented, not yet testedThis endpoint has not yet been tested in this client. See the setup guide.
CursorAPI key headerDocumented, not yet testedThis endpoint has not yet been tested in this client. See the setup guide.
VS Code (Copilot agent mode)API key headerDocumented, not yet testedThis endpoint has not yet been tested in this client. See the setup guide.
ChatGPT (developer mode)OAuth sign-inDocumented, not yet testedThis endpoint has not yet been tested in this client. See the setup guide.
MCP InspectorAPI key headerDocumented, not yet testedThis endpoint has not yet been tested in this client. See the setup guide.

Pricing

Included with the shared Site Audit plan. Each successful operation uses one plan call; no separate provider fee.

Free

$0

Try hosted tools with a shared monthly allowance.

50 shared calls/month

Pro

$12/mo

Proposed 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.

Full pricing and billing details