Tutorials
Practical, real-world guides for developers — essential workflows broken down into clear steps, with ready-to-use code you can drop into your project.
Search a PDF From Your Editor
The integration spec is a PDF and your questions arrive mid-function. With the editor connected over MCP, 'what's the retry policy?' comes back with the exact line and page — and a regex search turns 'list every error code' into one call with three cited matches.
3 min read
Watermark Draft PDFs via Claude Before Sharing
The draft that leaks is the one you didn't stamp. Conversationally it's one message: the agent designs the translucent DRAFT — CONFIDENTIAL stamp itself with the PDF generator, overlays it across every page, renders a page to prove it looks right — and mints one named copy per reviewer.
3 min read
Password-Protect PDFs in an Agent Workflow
Encryption as a step the agent runs, not a desktop-tool detour: lock a client statement with owner and user passwords, have the agent probe the result to prove the lock held (encrypted: true, everything else hidden), and unlock the archive copy in the same conversation.
4 min read
Extract PDF Content into Markdown Notes with an Agent
Stop pasting PDFs into chat windows: the agent pulls clean, page-numbered text over MCP and writes the vault-ready note itself — front matter, the headline stat with its page citation, and a section map. Weeks later, search-pdf-content retrieves the exact quote without re-reading anything.
4 min read
Split Bulk PDF Statements by Asking Claude
The accounting export is one PDF with every client's statement stacked inside. Describe the structure — 'three pages per client' — and the agent translates it into a page-range expression, splits the batch into per-client files, and reads them back to verify nothing leaked between clients.
4 min read
Compress a Folder of PDFs with Claude Code
Batch compression without the batch script: hand Claude Code a folder of hosted PDFs and the agent loops the compress tool over every file, polls the jobs, and reports honestly — a 74 MB board pack collapses 94%, a lean text file shaves 4%, and an optimized scan keeps its original.
3 min read
OCR Scanned PDFs by Asking Claude
That folder of scans — old leases, signed contracts, photographed paperwork — becomes searchable conversationally: Claude checks the text layer, runs the OCR job through the Apdf MCP tools, and answers questions from the recovered text with page-level receipts.
4 min read
How to Generate PDFs from Claude
Describe the document, get the PDF: Claude drafts the HTML layout and renders it through the Apdf MCP tools — invoices, reports and one-pagers straight from the conversation, with page format, margins and headers steered in plain English. Revisions are just more chat.
3 min read
How to Merge PDFs by Asking Claude
Connect Claude to the Apdf MCP server once, and merging PDFs becomes a sentence: describe the result, the agent calls the merge tool, and the combined file comes back seconds later — including per-file page ranges and async jobs for big batches. No upload sites, no scripts.
3 min read
Extract Invoice Pages from Bank Statements with PHP
Split combined PDF documents and extract specific page ranges using PHP and the Apdf Split API. Perfect for separating invoices from bank statements, extracting sections from vendor documents, or isolating specific pages.
6 min read
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.
7 min read