API & MCP

Everything a person can do on PDF & documents, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

  • GET https://documents.usefulweb.site/api/v1/tools – catalog
  • GET https://documents.usefulweb.site/api/v1/tools/{id} – inputs, output schema, examples
  • POST https://documents.usefulweb.site/api/v1/tools/{id}/calculate – run a tool
  • GET https://documents.usefulweb.site/api/v1/workflows · POST https://documents.usefulweb.site/api/v1/workflows/{id}/run
  • OpenAPI 3.1: /openapi.json · /openapi.yaml
  • Errors: application/problem+json; 422 includes per-field errors.

Tools on PDF & documents

  • Office to PDF Converter – Convert Word, Excel, PowerPoint, OpenDocument, RTF and CSV files to PDF with LibreOffice. office_to_pdf_converter
  • PDF ↔ Image Converter – Turn PDF pages into PNG or JPG images, or combine images into a PDF without quality loss. pdf_image_converter
  • PDF Compressor – Make PDFs smaller with Ghostscript presets or custom image DPI and JPEG quality, with previews. pdf_compressor
  • PDF Form & Signature Studio – List and fill PDF form fields, and place a visible signature image or typed name on a page. pdf_form_signature_studio
  • PDF Merge, Split & Reorder – Merge PDFs, split by page count or ranges, and reorder, remove, rotate or duplicate pages. pdf_merge_split_reorder
  • Searchable PDF OCR – Make scanned PDFs searchable and copyable with OCRmyPDF and Tesseract, optionally as PDF/A. searchable_pdf_ocr
  • Secure PDF Redactor – Black out names, numbers or areas in a PDF for real: the text is removed, not just covered. secure_pdf_redactor

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

  • Streamable HTTP endpoint: https://documents.usefulweb.site/mcp – protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake).
  • Tools: office_to_pdf_converter, pdf_image_converter, pdf_compressor, pdf_form_signature_studio, pdf_merge_split_reorder, searchable_pdf_ocr, secure_pdf_redactor
  • Local stdio connector: node src/mcp-stdio.ts
{
  "mcpServers": {
    "usefulweb": { "type": "http", "url": "https://documents.usefulweb.site/mcp" }
  }
}