How to Merge PDFs by Asking Claude
Merging PDFs is the classic in-between task: too small to justify writing a script, too annoying to do in a desktop tool, and just sensitive enough that you don't want to upload client reports to a random "free PDF merger" site.
If you already work with Claude, there's a better way: connect it to Apdf over MCP once, and merging becomes a sentence. You describe the result; the agent picks the tool and does the work.
Connect Claude to Apdf
The MCP server lives at a single OAuth-signed endpoint — no API keys, no token files:
https://apdf.io/mcp/main
In Claude Desktop add it under Settings → Connectors → custom connector, paste the URL, and sign in when the OAuth window opens. In Claude Code it's a one-liner:
claude mcp add --transport http apdf https://apdf.io/mcp/main
The same endpoint works in ChatGPT, Cursor, Gemini — anything that speaks MCP.
Ask for the merge
Point Claude at your files (any publicly reachable URLs — object storage, your server, Apdf documents) and describe the result:
https://storage.example.com/report-april.pdf
https://storage.example.com/report-may.pdf
https://storage.example.com/report-june.pdf
Behind the scenes, Claude calls the merge-pdf-files
tool and gets this back:
{
"file": "https://apdf-files.s3.eu-central-1.amazonaws.com/2ec63b146a61be4bb06ff.pdf",
"expiration": "2026-07-23T08:10:04.637363Z",
"pages": 3,
"size": 72209
}
Get precise: page ranges per file
The tool takes an ordered list of files, each with an optional page range — which means your instructions can be surgical and stay in plain English:
{
"file": "https://apdf-files.s3.eu-central-1.amazonaws.com/74e1cc946a61be6bc4907.pdf",
"expiration": "2026-07-23T08:10:36.600193Z",
"pages": 2,
"size": 49475
}
For big batches the tool also runs asynchronously — the agent gets a job id
back and can poll check-job-status, or hand you the
result via a webhook. You just keep talking.
Where to go from here
Merging is one of the tools on the belt — the same connection carries every PDF operation.
Related tutorials
Combine Monthly Reports into Quarterly Summaries with Go
Automate report compilation by merging multiple PDF files into quarterly or annual summaries using Go. Learn how to create cover pages, skip existing covers, and build professional combined reports automatically.
How to Merge Multiple PDF Reports into a Single File (Node.js & PHP)
This tutorial explains how to combine multiple PDF files into a single document using the Apdf Merge API with Node.js or PHP. By sending file URLs to the API, developers can avoid server memory issues and easily handle advanced tasks, such as excluding cover pages by specifying page ranges.
How to Convert Word and PowerPoint Files to PDF by Asking Claude
Paste the links, get PDFs back. Connect Claude to Apdf over MCP and convert decks and documents conversationally — then let the agent store the PDF as a tracked document and mint a personal link for the client.
Your code made the PDF.
Then it went dark.
Opened, read, signed or ignored — you never see any of it. Send the PDFs you generate as personal links, and every open, page read, comment and signature comes back to your software as a webhook. Need it signed? Same link. Same account, same API key, one more call.
API · Webhook · MCP