🤖 Built for AI agents
Free PDF API & MCP server
Give your agent PDF superpowers: merge, split, rotate, watermark, number, flatten, and edit metadata over a plain REST API or the Model Context Protocol. No API key, no signup.
- ✓ No auth or signup
- ✓ In-memory only — nothing stored
- ✓ 10 MB/file · ~30 ops per 10 min
MCP server
Streamable-HTTP endpoint at https://pdfia.com/mcp. Add it to Claude Code, Claude Desktop, Cursor, or any MCP client:
{
"mcpServers": {
"pdfia": {
"type": "http",
"url": "https://pdfia.com/mcp"
}
}
}Exposed tools: merge_pdfs, split_pdf, extract_pages,remove_pages, rotate_pdf, watermark_pdf,add_page_numbers, get_pdf_metadata, set_pdf_metadata,flatten_pdf. PDFs are passed and returned as base64 strings.
REST API
JSON in, JSON out; files travel as base64. The index at/api is machine-readable, so agents can discover every operation without this page.
# Merge two PDFs (files as base64)
curl -X POST https://pdfia.com/api/v1/merge \
-H "Content-Type: application/json" \
-d '{"files": ["<base64 of a.pdf>", "<base64 of b.pdf>"]}'
# → {"file": "<base64 of merged.pdf>"}
# Watermark every page
curl -X POST https://pdfia.com/api/v1/watermark \
-H "Content-Type: application/json" \
-d '{"file": "<base64>", "text": "CONFIDENTIAL", "opacity": 0.15}'
# Read metadata
curl -X POST https://pdfia.com/api/v1/metadata \
-H "Content-Type: application/json" \
-d '{"file": "<base64>"}'| POST /api/v1/… | Does |
|---|---|
| merge | Combine 2+ PDFs into one, in order |
| split | Split by comma-separated ranges (“1-3, 5”), or every page |
| extract | Pull selected pages into a new PDF |
| remove | Delete selected pages |
| rotate | Rotate all or selected pages by 90/180/270° |
| watermark | Diagonal text stamp with opacity, size, color |
| page-numbers | Stamp page numbers (position, start, format) |
| metadata | Read document properties, or rewrite/strip them |
| flatten | Bake form-field answers into page content |
Limits & privacy
- • Free, no key required. Fair-use limits: 10 MB per file, 20 files per request, roughly 30 operations per 10 minutes per IP (best-effort). Rate-limit state is in-memory, so treat the numbers as a courtesy ceiling, not a contract.
- • Nothing is stored. Files are decoded, processed in-memory at the edge, returned, and gone. No object storage, no logs of file contents.
- • Maximum privacy? Use the browser tools — those run 100% client-side and your file never leaves your machine at all.
- • An llms.txt summarizes everything on this page for machine readers.