Integration

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.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Stirling PDF.Built from the 101 Stirling PDF tools below, on the connection you add once.

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.

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 pdfPOSTConvert CBR comic book archive to PDF.
  • convert_cbz_to_pdfConvert cbz to pdfPOSTConvert CBZ comic book archive to PDF.
  • convert_ebook_to_pdfConvert ebook to pdfPOSTConvert an eBook file to PDF.
  • convert_eml_to_pdfConvert eml to pdfPOSTConvert EML to PDF.
  • convert_html_to_pdfConvert html to pdfPOSTConvert an HTML or ZIP (containing HTML and CSS) to PDF.
  • convert_images_to_pdfConvert images to pdfPOSTConvert images to a PDF file.
  • convert_markdown_to_pdfConvert markdown to pdfPOSTConvert a Markdown file to PDF.
  • convert_office_file_to_pdfConvert office file to pdfPOSTConvert a file to a PDF using LibreOffice.
  • convert_postscript_to_pdfConvert postscript to pdfPOSTConvert PostScript formats to PDF.
  • convert_url_to_pdfConvert url to pdfPOSTConvert a URL to a PDF.

Unique, 4 operations

  • get_unique_page_load_countGet unique page load countGETUnique users count for GET requests.
  • get_unique_page_load_counts_for_all_endpointsGet unique page load counts for all endpointsGETUnique users count for GET requests for all endpoints.
  • get_unique_post_request_countGet unique post request countGETUnique users count for POST requests.
  • get_unique_post_request_counts_for_all_endpointsGet unique post request counts for all endpointsGETUnique users count for POST requests for all endpoints.

All, 2 operations

  • get_page_load_counts_for_all_endpointsGet page load counts for all endpointsGETGET requests count for all endpoints.
  • get_post_request_counts_for_all_endpointsGet post request counts for all endpointsGETPOST requests count for all endpoints.

File, 2 operations

  • download_job_fileDownload job fileGETDownload a file.
  • list_job_result_filesList job result filesGETGet job result files.

Job, 2 operations

  • cancel_jobCancel jobDELETECancel a job.
  • get_job_statusGet job statusGETGet job status.

Add attachment, 1 operation

  • add_pdf_attachmentsAdd pdf attachmentsPOSTAdd attachments to PDF.

Add image, 1 operation

  • add_image_to_pdfAdd image to pdfPOSTOverlay image onto a PDF file.

Add page number, 1 operation

  • add_pdf_page_numbersAdd pdf page numbersPOSTAdd page numbers to a PDF document.

Add password, 1 operation

  • add_pdf_passwordAdd pdf passwordPOSTAdd password to a PDF file.

Add stamp, 1 operation

  • add_pdf_stampAdd pdf stampPOSTAdd stamp to a PDF file.

Add watermark, 1 operation

  • add_pdf_watermarkAdd pdf watermarkPOSTAdd watermark to a PDF file.

Annotation info, 1 operation

  • get_pdf_annotation_infoGet pdf annotation infoPOSTGet annotation information.

Auto redact, 1 operation

  • auto_redact_pdfAuto redact pdfPOSTRedact PDF automatically.

Auto rename, 1 operation

  • auto_rename_pdf_from_headerAuto rename pdf from headerPOSTExtract header from PDF file.

Auto split pdf, 1 operation

  • auto_split_pdf_on_divider_pagesAuto split pdf on divider pagesPOSTAuto split PDF pages into separate documents.

Basic info, 1 operation

  • get_pdf_basic_infoGet pdf basic infoPOSTGet basic PDF information.

Bookmark, 1 operation

  • extract_pdf_bookmarksExtract pdf bookmarksPOSTExtracts 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 cbrPOSTConvert PDF to CBR comic book archive.

Cbz, 1 operation

  • convert_pdf_to_cbzConvert pdf to cbzPOSTConvert PDF to CBZ comic book archive.

Cert sign, 1 operation

  • sign_pdf_with_certificateSign pdf with certificatePOSTSign PDF with a Digital Certificate.

Compress pdf, 1 operation

  • compress_pdfCompress pdfPOSTOptimize PDF file.

Crop, 1 operation

  • crop_pdfCrop pdfPOSTCrops a PDF document.

Csv, 1 operation

  • convert_pdf_to_csvConvert pdf to csvPOSTExtracts a CSV document from a PDF.

Decompress pdf, 1 operation

  • decompress_pdfDecompress pdfPOSTDecompress PDF streams.

Document propertie, 1 operation

  • get_pdf_document_propertiesGet pdf document propertiesPOSTGet PDF document properties.

Edit table of content, 1 operation

  • edit_pdf_table_of_contentsEdit pdf table of contentsPOSTEdit Table of Contents.

Epub, 1 operation

  • convert_pdf_to_epubConvert pdf to epubPOSTConvert PDF to EPUB/AZW3.

Extract attachment, 1 operation

  • extract_pdf_attachmentsExtract pdf attachmentsPOSTExtract attachments from PDF.

Extract image, 1 operation

  • extract_pdf_imagesExtract pdf imagesPOSTExtract images from a PDF file.

Extract image scan, 1 operation

  • extract_pdf_image_scansExtract pdf image scansPOSTExtract image scans from an input file.

Filter contains image, 1 operation

  • filter_pdf_contains_imageFilter pdf contains imagePOSTChecks if a PDF contains an image.

Filter contains text, 1 operation

  • filter_pdf_contains_textFilter pdf contains textPOSTChecks if a PDF contains set text, returns true if does.

Filter file size, 1 operation

  • filter_pdf_by_file_sizeFilter pdf by file sizePOSTChecks if a PDF is a set file size.

Filter page count, 1 operation

  • filter_pdf_by_page_countFilter pdf by page countPOSTChecks if a PDF is greater, less or equal to a setPageCount.

Filter page rotation, 1 operation

  • filter_pdf_by_page_rotationFilter pdf by page rotationPOSTChecks if a PDF is of a certain rotation.

Filter page size, 1 operation

  • filter_pdf_by_page_sizeFilter pdf by page sizePOSTChecks if a PDF is of a certain size.

Flatten, 1 operation

  • flatten_pdfFlatten pdfPOSTFlatten PDF form fields or full page.

Font info, 1 operation

  • get_pdf_font_infoGet pdf font infoPOSTGet font information.

Form field, 1 operation

  • get_pdf_form_fieldsGet pdf form fieldsPOSTGet form field information.

Html, 1 operation

  • convert_pdf_to_htmlConvert pdf to htmlPOSTConvert PDF to HTML.

Img, 1 operation

  • convert_pdf_to_imageConvert pdf to imagePOSTConvert PDF to image(s).

Load, 1 operation

  • get_page_load_countGet page load countGETGET request count.

Markdown, 1 operation

  • convert_pdf_to_markdownConvert pdf to markdownPOSTConvert PDF to Markdown.

Merge pdf, 1 operation

  • merge_pdfsMerge pdfsPOSTMerge multiple PDF files into one.

Metadata, 1 operation

  • get_job_file_metadataGet job file metadataGETGet file metadata.

Multi page layout, 1 operation

  • merge_pdf_pages_onto_one_sheetMerge pdf pages onto one sheetPOSTMerge multiple pages of a PDF document into a single page.

Ocr pdf, 1 operation

  • ocr_pdfOcr pdfPOSTProcess a PDF file with OCR.

Overlay pdf, 1 operation

  • overlay_pdfsOverlay pdfsPOSTOverlay PDF files in various modes.

Page count, 1 operation

  • get_pdf_page_countGet pdf page countPOSTGet PDF page count.

Page dimension, 1 operation

  • get_pdf_page_dimensionsGet pdf page dimensionsPOSTReturns 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 infoPOSTReturns 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 pagePOSTConvert a multi-page PDF into a single long page PDF.

Pdfa, 1 operation

  • convert_pdf_to_pdfaConvert pdf to pdfaPOSTConvert a PDF to a PDF/A or PDF/X.

Pipeline, 1 operation

  • run_pipelineRun pipelinePOSTRuns a saved Stirling pipeline over the uploaded files and answers with the archive it produced.

Presentation, 1 operation

  • convert_pdf_to_presentationConvert pdf to presentationPOSTConvert PDF to Presentation format.

Rearrange page, 1 operation

  • rearrange_pdf_pagesRearrange pdf pagesPOSTRearrange pages in a PDF file.

Redact, 1 operation

  • redact_pdfRedact pdfPOSTRedact PDF manually.

Remove blank, 1 operation

  • remove_blank_pdf_pagesRemove blank pdf pagesPOSTRemove blank pages from a PDF file.

Remove cert sign, 1 operation

  • remove_pdf_certificate_signatureRemove pdf certificate signaturePOSTRemove digital signature from PDF.

Remove image pdf, 1 operation

  • remove_pdf_imagesRemove pdf imagesPOSTRemove images from file to reduce the file size.

Remove page, 1 operation

  • remove_pdf_pagesRemove pdf pagesPOSTRemove pages from a PDF file.

Remove password, 1 operation

  • remove_pdf_passwordRemove pdf passwordPOSTRemove password from a PDF file.

Repair, 1 operation

  • repair_pdfRepair pdfPOSTRepair a PDF file.

Replace invert pdf, 1 operation

  • replace_or_invert_pdf_colorsReplace or invert pdf colorsPOSTReplace-Invert Color PDF.

Request, 1 operation

  • get_post_request_countGet post request countGETPOST request count.

Result, 1 operation

  • get_job_resultGet job resultGETGet job result.

Rotate pdf, 1 operation

  • rotate_pdfRotate pdfPOSTRotate a PDF file.

Sanitize pdf, 1 operation

  • sanitize_pdfSanitize pdfPOSTSanitize a PDF file.

Scale page, 1 operation

  • scale_pdf_pagesScale pdf pagesPOSTChange the size of a PDF page/document.

Scanner effect, 1 operation

  • apply_scanner_effect_to_pdfApply scanner effect to pdfPOSTApply scanner effect to PDF.

Security info, 1 operation

  • get_pdf_security_infoGet pdf security infoPOSTGet security information.

Show javascript, 1 operation

  • extract_pdf_javascriptExtract pdf javascriptPOSTGrabs 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 countPOSTAuto split PDF pages into separate documents based on size or count.

Split page, 1 operation

  • split_pdf_by_pagesSplit pdf by pagesPOSTSplit a PDF file into separate documents.

Split pdf by chapter, 1 operation

  • split_pdf_by_chaptersSplit pdf by chaptersPOSTSplit PDFs by Chapters.

Split pdf by section, 1 operation

  • split_pdf_by_sectionsSplit pdf by sectionsPOSTSplit PDF pages into smaller sections.

Statu, 1 operation

  • get_application_statusGet application statusGETApplication status and version.

Text, 1 operation

  • convert_pdf_to_text_or_rtfConvert pdf to text or rtfPOSTConvert PDF to Text or RTF format.

Unlock pdf form, 1 operation

  • unlock_pdf_formsUnlock pdf formsPOSTRemove read-only property from form fields.

Update metadata, 1 operation

  • update_pdf_metadataUpdate pdf metadataPOSTUpdate metadata of a PDF file.

Uptime, 1 operation

  • get_application_uptimeGet application uptimeGETReturns how long this Stirling PDF instance has been running.

Validate signature, 1 operation

  • validate_pdf_signatureValidate pdf signaturePOSTValidate PDF Digital Signature.

Vector, 1 operation

  • convert_pdf_to_vectorConvert pdf to vectorPOSTConvert PDF to vector format.

Video, 1 operation

  • convert_pdf_to_videoConvert pdf to videoPOSTConvert PDF to Video Slideshow.

Word, 1 operation

  • convert_pdf_to_wordConvert pdf to wordPOSTConvert PDF to Word document.

Xml, 1 operation

  • convert_pdf_to_xmlConvert pdf to xmlPOSTConvert 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 Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Stirling PDF

  1. Create your workspace

    Sign up free. Nothing to install.

  2. 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.

  3. 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 101 operations on Stirling PDF, covering pdf, unique, all and file.

Popular integrations

Browse the whole catalog