New: Markdown to PDF built for AI agents, PDF to E-Invoice for Factur-X/ZUGFeRD, and PDF to PDF/A for archive-ready PDF/A-3b.

The PDF.co MCP server connects any MCP-compatible agent straight to PDF.co, so Claude, Codex, Cursor, and more can convert, extract, merge, fill, and secure PDFs through 40 tools, using the API key you already have.

1

Get your API key

Grab your key from the PDF.co dashboard. The MCP server uses the same key as the REST API, so there is nothing new to sign up for.

2

Add the server

Install uv, then point your agent at the server: the command uvx, the argument pdfco-mcp, and your key in the X_API_KEY environment variable. One line in a CLI, or a short block in a config file.

3

Prompt your agent

Ask in plain language, like convert this PDF to text or fill this form. The agent picks the right tool, calls PDF.co, and hands back the result.

Pick your client and copy the setup. Every one of them needs the same three values, so anything that can launch a local MCP server works the same way.

1

Get your API key

Grab your key from the PDF.co dashboard.

Get Started Free
2

Paste into your agent

Copy the setup prompt into Claude Code.

3

Verify & start

Run /mcp or claude mcp list.

The server is MIT licensed and developed in the open.

Built on your API key

The MCP server wraps the same PDF.co API your apps already use. No new accounts, no separate billing, and usage draws from the same credits.

Stable function schemas

All 40 tools ship a clear JSON schema, so agents across Claude, OpenAI, and any function-calling framework know exactly how to call them.

Async by default

Long documents run as background jobs. Your agent calls get_job_check or wait_job_completion and keeps working, so a slow parse never blocks the conversation.

One server exposes the PDF.co toolkit as 40 named tools, from parsing and conversion to editing, forms, and security. Click any tool below to copy a prompt that puts it to work.

Extract and parse

Pull text, tables, and structured data out of PDFs and scanned images, with the original layout preserved.

Convert out of PDF

Turn a PDF into CSV, Excel, XML, HTML, or images, with columns, rows, and tables intact.

Build PDFs

Make a PDF from Word, Excel, CSV, images, raw HTML, a live URL, or an email message.

Edit and merge

Combine PDFs, Office files, images, and ZIP archives into one, split by page or range, and add text, images, links, and shapes.

Fill forms

Read the fillable fields in a form, fill them in, or add new form elements to a PDF that has none.

Find and analyze

Locate text or tables and get their coordinates, regular expressions included, read invoice data with AI, and lift out attachments.

Secure and OCR

Add or remove password protection, and run OCR to give a scan a searchable text layer or strip one out.

Archive and e-invoice

Convert to PDF/A for long-term archiving, or embed invoice XML to produce a Factur-X or ZUGFeRD e-invoice, each with a validation report.

How the MCP server works, what it needs, and how it fits your tools.

Give your AI document tools.

Create an account, get an API key and connect the PDF.co MCP server.

Get Started Free

© Copyright 2016-2026 Artifex Software, Inc d/b/a PDF.co — All Rights Reserved