Stirling PDF integration
Stirling PDF is a self-hosted PDF toolbox that processes documents entirely on the operator's own server. Through this API an agent can merge, split by pages, chapters, sections, size or blank-page detection, crop, rotate, scale, rearrange and remove pages, lay several pages out on one sheet, overlay one PDF on another and flatten forms, convert to and from PDF for images, Word, presentations, HTML, Markdown, plain text, XML, CSV, EPUB, vector formats, comic-book archives, e-books, EML messages, a URL or a video slideshow, produce PDF/A, run OCR, compress or decompress, repair, sanitise and remove embedded JavaScript, add or remove a password, watermark, stamp, page numbers, image or attachment, sign with a certificate and validate or remove an existing signature, redact manually or automatically, edit the table of contents and extract bookmarks, images, image scans or attachments, read basic information, page count, page dimensions, fonts, form fields, annotations, metadata and security settings, filter a document on whether it contains given text or an image or matches a page count, rotation, size or file size, run a saved pipeline, and follow an asynchronous job to its result. Every processing route takes the document as an uploaded file and answers with the produced file, which the workflow receives as a file reference. The host is part of the credential because every install is its own deployment. Authentication is an API key from the account settings page, sent in the X-API-KEY header.
Say what should happen.
The workflow builds itself.
What you can do with Stirling PDF
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Pdf, 10 operations
convert_cbr_to_pdfConvert cbr to pdfPOSTAgents: ask firstConvert CBR comic book archive to PDF.convert_cbz_to_pdfConvert cbz to pdfPOSTAgents: ask firstConvert CBZ comic book archive to PDF.convert_ebook_to_pdfConvert ebook to pdfPOSTAgents: ask firstConvert an eBook file to PDF.convert_eml_to_pdfConvert eml to pdfPOSTAgents: ask firstConvert EML to PDF.convert_html_to_pdfConvert html to pdfPOSTAgents: ask firstConvert an HTML or ZIP (containing HTML and CSS) to PDF.convert_images_to_pdfConvert images to pdfPOSTAgents: ask firstConvert images to a PDF file.convert_markdown_to_pdfConvert markdown to pdfPOSTAgents: ask firstConvert a Markdown file to PDF.convert_office_file_to_pdfConvert office file to pdfPOSTAgents: ask firstConvert a file to a PDF using LibreOffice.convert_postscript_to_pdfConvert postscript to pdfPOSTAgents: ask firstConvert PostScript formats to PDF.convert_url_to_pdfConvert url to pdfPOSTAgents: ask firstConvert a URL to a PDF.
Unique, 4 operations
get_unique_page_load_countGet unique page load countGETAgents: ask firstUnique users count for GET requests.get_unique_page_load_counts_for_all_endpointsGet unique page load counts for all endpointsGETAgents: ask firstUnique users count for GET requests for all endpoints.get_unique_post_request_countGet unique post request countGETAgents: ask firstUnique users count for POST requests.get_unique_post_request_counts_for_all_endpointsGet unique post request counts for all endpointsGETAgents: ask firstUnique users count for POST requests for all endpoints.
All, 2 operations
get_page_load_counts_for_all_endpointsGet page load counts for all endpointsGETAgents: ask firstGET requests count for all endpoints.get_post_request_counts_for_all_endpointsGet post request counts for all endpointsGETAgents: ask firstPOST requests count for all endpoints.
File, 2 operations
download_job_fileDownload job fileGETAgents: ask firstDownload a file.list_job_result_filesList job result filesGETAgents: ask firstGet job result files.
Job, 2 operations
cancel_jobCancel jobDELETEAgents: ask firstCancel a job.get_job_statusGet job statusGETAgents: ask firstGet job status.
Add attachment, 1 operation
add_pdf_attachmentsAdd pdf attachmentsPOSTAgents: ask firstAdd attachments to PDF.
Add image, 1 operation
add_image_to_pdfAdd image to pdfPOSTAgents: ask firstOverlay image onto a PDF file.
Add page number, 1 operation
add_pdf_page_numbersAdd pdf page numbersPOSTAgents: ask firstAdd page numbers to a PDF document.
Add password, 1 operation
add_pdf_passwordAdd pdf passwordPOSTAgents: ask firstAdd password to a PDF file.
Add stamp, 1 operation
add_pdf_stampAdd pdf stampPOSTAgents: ask firstAdd stamp to a PDF file.
Add watermark, 1 operation
add_pdf_watermarkAdd pdf watermarkPOSTAgents: ask firstAdd watermark to a PDF file.
Annotation info, 1 operation
get_pdf_annotation_infoGet pdf annotation infoPOSTAgents: ask firstGet annotation information.
Auto redact, 1 operation
auto_redact_pdfAuto redact pdfPOSTAgents: ask firstRedact PDF automatically.
Auto rename, 1 operation
auto_rename_pdf_from_headerAuto rename pdf from headerPOSTAgents: ask firstExtract header from PDF file.
Auto split pdf, 1 operation
auto_split_pdf_on_divider_pagesAuto split pdf on divider pagesPOSTAgents: ask firstAuto split PDF pages into separate documents.
Basic info, 1 operation
get_pdf_basic_infoGet pdf basic infoPOSTAgents: ask firstGet basic PDF information.
Bookmark, 1 operation
extract_pdf_bookmarksExtract pdf bookmarksPOSTAgents: ask firstExtracts the bookmark outline of a PDF. The body is a JSON array of top-level bookmarks, so the fields declared here describe a single bookmark.
Cbr, 1 operation
convert_pdf_to_cbrConvert pdf to cbrPOSTAgents: ask firstConvert PDF to CBR comic book archive.
Cbz, 1 operation
convert_pdf_to_cbzConvert pdf to cbzPOSTAgents: ask firstConvert PDF to CBZ comic book archive.
Cert sign, 1 operation
sign_pdf_with_certificateSign pdf with certificatePOSTAgents: ask firstSign PDF with a Digital Certificate.
Compress pdf, 1 operation
compress_pdfCompress pdfPOSTAgents: ask firstOptimize PDF file.
Crop, 1 operation
crop_pdfCrop pdfPOSTAgents: ask firstCrops a PDF document.
Csv, 1 operation
convert_pdf_to_csvConvert pdf to csvPOSTAgents: ask firstExtracts a CSV document from a PDF.
Decompress pdf, 1 operation
decompress_pdfDecompress pdfPOSTAgents: ask firstDecompress PDF streams.
Document propertie, 1 operation
get_pdf_document_propertiesGet pdf document propertiesPOSTAgents: ask firstGet PDF document properties.
Edit table of content, 1 operation
edit_pdf_table_of_contentsEdit pdf table of contentsPOSTAgents: ask firstEdit Table of Contents.
Epub, 1 operation
convert_pdf_to_epubConvert pdf to epubPOSTAgents: ask firstConvert PDF to EPUB/AZW3.
Extract attachment, 1 operation
extract_pdf_attachmentsExtract pdf attachmentsPOSTAgents: ask firstExtract attachments from PDF.
Extract image, 1 operation
extract_pdf_imagesExtract pdf imagesPOSTAgents: ask firstExtract images from a PDF file.
Extract image scan, 1 operation
extract_pdf_image_scansExtract pdf image scansPOSTAgents: ask firstExtract image scans from an input file.
Filter contains image, 1 operation
filter_pdf_contains_imageFilter pdf contains imagePOSTAgents: ask firstChecks if a PDF contains an image.
Filter contains text, 1 operation
filter_pdf_contains_textFilter pdf contains textPOSTAgents: ask firstChecks if a PDF contains set text, returns true if does.
Filter file size, 1 operation
filter_pdf_by_file_sizeFilter pdf by file sizePOSTAgents: ask firstChecks if a PDF is a set file size.
Filter page count, 1 operation
filter_pdf_by_page_countFilter pdf by page countPOSTAgents: ask firstChecks if a PDF is greater, less or equal to a setPageCount.
Filter page rotation, 1 operation
filter_pdf_by_page_rotationFilter pdf by page rotationPOSTAgents: ask firstChecks if a PDF is of a certain rotation.
Filter page size, 1 operation
filter_pdf_by_page_sizeFilter pdf by page sizePOSTAgents: ask firstChecks if a PDF is of a certain size.
Flatten, 1 operation
flatten_pdfFlatten pdfPOSTAgents: ask firstFlatten PDF form fields or full page.
Font info, 1 operation
get_pdf_font_infoGet pdf font infoPOSTAgents: ask firstGet font information.
Form field, 1 operation
get_pdf_form_fieldsGet pdf form fieldsPOSTAgents: ask firstGet form field information.
Html, 1 operation
convert_pdf_to_htmlConvert pdf to htmlPOSTAgents: ask firstConvert PDF to HTML.
Img, 1 operation
convert_pdf_to_imageConvert pdf to imagePOSTAgents: ask firstConvert PDF to image(s).
Load, 1 operation
get_page_load_countGet page load countGETAgents: ask firstGET request count.
Markdown, 1 operation
convert_pdf_to_markdownConvert pdf to markdownPOSTAgents: ask firstConvert PDF to Markdown.
Merge pdf, 1 operation
merge_pdfsMerge pdfsPOSTAgents: ask firstMerge multiple PDF files into one.
Metadata, 1 operation
get_job_file_metadataGet job file metadataGETAgents: ask firstGet file metadata.
Multi page layout, 1 operation
merge_pdf_pages_onto_one_sheetMerge pdf pages onto one sheetPOSTAgents: ask firstMerge multiple pages of a PDF document into a single page.
Ocr pdf, 1 operation
ocr_pdfOcr pdfPOSTAgents: ask firstProcess a PDF file with OCR.
Overlay pdf, 1 operation
overlay_pdfsOverlay pdfsPOSTAgents: ask firstOverlay PDF files in various modes.
Page count, 1 operation
get_pdf_page_countGet pdf page countPOSTAgents: ask firstGet PDF page count.
Page dimension, 1 operation
get_pdf_page_dimensionsGet pdf page dimensionsPOSTAgents: ask firstReturns the width and height of every page. The body is a JSON array with one entry per page, so the fields declared here describe a single page.
Pdf info, 1 operation
get_pdf_infoGet pdf infoPOSTAgents: ask firstReturns a comprehensive report on a PDF covering metadata, pages, forms, attachments and permissions.
Pdf to single page, 1 operation
convert_pdf_to_single_long_pageConvert pdf to single long pagePOSTAgents: ask firstConvert a multi-page PDF into a single long page PDF.
Pdfa, 1 operation
convert_pdf_to_pdfaConvert pdf to pdfaPOSTAgents: ask firstConvert a PDF to a PDF/A or PDF/X.
Pipeline, 1 operation
run_pipelineRun pipelinePOSTAgents: ask firstRuns a saved Stirling pipeline over the uploaded files and answers with the archive it produced.
Presentation, 1 operation
convert_pdf_to_presentationConvert pdf to presentationPOSTAgents: ask firstConvert PDF to Presentation format.
Rearrange page, 1 operation
rearrange_pdf_pagesRearrange pdf pagesPOSTAgents: ask firstRearrange pages in a PDF file.
Redact, 1 operation
redact_pdfRedact pdfPOSTAgents: ask firstRedact PDF manually.
Remove blank, 1 operation
remove_blank_pdf_pagesRemove blank pdf pagesPOSTAgents: ask firstRemove blank pages from a PDF file.
Remove cert sign, 1 operation
remove_pdf_certificate_signatureRemove pdf certificate signaturePOSTAgents: ask firstRemove digital signature from PDF.
Remove image pdf, 1 operation
remove_pdf_imagesRemove pdf imagesPOSTAgents: ask firstRemove images from file to reduce the file size.
Remove page, 1 operation
remove_pdf_pagesRemove pdf pagesPOSTAgents: ask firstRemove pages from a PDF file.
Remove password, 1 operation
remove_pdf_passwordRemove pdf passwordPOSTAgents: ask firstRemove password from a PDF file.
Repair, 1 operation
repair_pdfRepair pdfPOSTAgents: ask firstRepair a PDF file.
Replace invert pdf, 1 operation
replace_or_invert_pdf_colorsReplace or invert pdf colorsPOSTAgents: ask firstReplace-Invert Color PDF.
Request, 1 operation
get_post_request_countGet post request countGETAgents: ask firstPOST request count.
Result, 1 operation
get_job_resultGet job resultGETAgents: ask firstGet job result.
Rotate pdf, 1 operation
rotate_pdfRotate pdfPOSTAgents: ask firstRotate a PDF file.
Sanitize pdf, 1 operation
sanitize_pdfSanitize pdfPOSTAgents: ask firstSanitize a PDF file.
Scale page, 1 operation
scale_pdf_pagesScale pdf pagesPOSTAgents: ask firstChange the size of a PDF page/document.
Scanner effect, 1 operation
apply_scanner_effect_to_pdfApply scanner effect to pdfPOSTAgents: ask firstApply scanner effect to PDF.
Security info, 1 operation
get_pdf_security_infoGet pdf security infoPOSTAgents: ask firstGet security information.
Show javascript, 1 operation
extract_pdf_javascriptExtract pdf javascriptPOSTAgents: ask firstGrabs all JS from a PDF and returns a single JS file with all code.
Split by size or count, 1 operation
split_pdf_by_size_or_countSplit pdf by size or countPOSTAgents: ask firstAuto split PDF pages into separate documents based on size or count.
Split page, 1 operation
split_pdf_by_pagesSplit pdf by pagesPOSTAgents: ask firstSplit a PDF file into separate documents.
Split pdf by chapter, 1 operation
split_pdf_by_chaptersSplit pdf by chaptersPOSTAgents: ask firstSplit PDFs by Chapters.
Split pdf by section, 1 operation
split_pdf_by_sectionsSplit pdf by sectionsPOSTAgents: ask firstSplit PDF pages into smaller sections.
Statu, 1 operation
get_application_statusGet application statusGETAgents: ask firstApplication status and version.
Text, 1 operation
convert_pdf_to_text_or_rtfConvert pdf to text or rtfPOSTAgents: ask firstConvert PDF to Text or RTF format.
Unlock pdf form, 1 operation
unlock_pdf_formsUnlock pdf formsPOSTAgents: ask firstRemove read-only property from form fields.
Update metadata, 1 operation
update_pdf_metadataUpdate pdf metadataPOSTAgents: ask firstUpdate metadata of a PDF file.
Uptime, 1 operation
get_application_uptimeGet application uptimeGETAgents: ask firstReturns how long this Stirling PDF instance has been running.
Validate signature, 1 operation
validate_pdf_signatureValidate pdf signaturePOSTAgents: ask firstValidate PDF Digital Signature.
Vector, 1 operation
convert_pdf_to_vectorConvert pdf to vectorPOSTAgents: ask firstConvert PDF to vector format.
Word, 1 operation
convert_pdf_to_wordConvert pdf to wordPOSTAgents: ask firstConvert PDF to Word document.
Xml, 1 operation
convert_pdf_to_xmlConvert pdf to xmlPOSTAgents: ask firstConvert PDF to XML.
Use Stirling PDF from Claude Code, Cursor or Codex
Connect Stirling PDF in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Stirling PDF operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Stirling PDF
- Create your workspace
Sign up free. Nothing to install.
- Connect Stirling PDF once
Add your Stirling PDF connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Stirling PDF integration FAQ
What can you do with the Stirling PDF integration?
LiveContext exposes 100 operations on Stirling PDF, covering pdf, unique, all and file.
