LLazyconverter
Home/API for AI agents
All processing localBrowse tools
API for AI agents

A document API your agent can actually call.

Nine real document operations behind one HTTPS endpoint, plus an MCP server that drops straight into Claude, Cursor or any agent runtime. Keys, usage and a playground live on your free account. No card, no paid tier, no vendor agent to install.

Why agents need this

An agent cannot click a browser tool. It needs a URL, a key and a predictable response. This API is exactly that: JSON errors with codes, a ZIP or PDF back, and a rate limit it can read from a header instead of guessing.

Plain HTTPS

Multipart form data in, PDF or ZIP out. No SDK to pin, no client library to upgrade.

MCP tools

The same nine operations as Model Context Protocol tools, so an agent can discover and call them directly.

Honest limits

10 MB per file, 25 MB per request, 120 requests a minute. Free, and stated up front.

Quickstart

  1. Sign in with Google at account.lazyconverter.space.
  2. Create a key there. It is shown once and stored only as a hash.
  3. Send it as a bearer token with a multipart/form-data body.
curl -X POST https://api.lazyconverter.space/v1/pdf/merge \
  -H "Authorization: Bearer lc_live_…" \
  -F files=@chapter-1.pdf \
  -F files=@chapter-2.pdf \
  -o merged.pdf

Every request is processed inside the request itself and the file is not kept afterwards. The browser tools on this site behave the same way — except they never send the file at all.

What the hosted API actually does

Runs on the server

  • Merge PDFsPOST /v1/pdf/merge
  • Split PDFPOST /v1/pdf/split
  • Extract pagesPOST /v1/pdf/extract-pages
  • Rotate pagesPOST /v1/pdf/rotate
  • WatermarkPOST /v1/pdf/watermark
  • Page numbersPOST /v1/pdf/page-numbers
  • PDF metadataPOST /v1/pdf/metadata
  • Images to PDFPOST /v1/images/to-pdf
  • Inspect a PDFPOST /v1/documents/inspect

Stays in the browser

  • PDF to Word, Excel or PowerPointnot exposed
  • PDF to JPG/PNG and image to PDF rasterising beyond JPEG/PNGnot exposed
  • OCR (Tesseract)not exposed
  • Compression with qpdf/Ghostscriptnot exposed
  • Password removal and permissionsnot exposed
  • True redaction (content removal)not exposed
  • Office document editing and renderingnot exposed

Those need a full document engine a Worker cannot run. The API returns a documented 404 rather than a fake success — use the local tools for them.

MCP server for agents

Point any MCP client at /mcp and authenticate with an API key — no extra service to host. The server lists its tools, accepts JSON-RPC 2.0 calls and returns the file as base64 or a download link depending on the client.

{
  "mcpServers": {
    "lazyconverter": {
      "url": "https://api.lazyconverter.space/mcp",
      "headers": { "Authorization": "Bearer lc_live_…" }
    }
  }
}

Give this prompt to your agent

Paste it into Claude, Cursor, Codex or any agent that can edit files. It registers the MCP server and writes a skill file with the endpoints, limits and the operations that are deliberately not hosted — so the agent does not invent results.

Agent prompt · plain text
Add Lazyconverter's document API to this project.

STEP 1 — MCP server
Add this to my MCP client config:

{
  "mcpServers": {
    "lazyconverter": {
      "url": "https://api.lazyconverter.space/mcp",
      "headers": { "Authorization": "Bearer ${LAZYCONVERTER_API_KEY}" }
    }
  }
}

STEP 2 — Skill file
Save everything between the lines as .agent/skills/lazyconverter/SKILL.md

--- 8< ---
---
name: lazyconverter
description: Merge, split, extract, rotate, watermark, number and inspect PDFs, and build PDFs from images, through the Lazyconverter API.
---

# Lazyconverter document API

Use the lazyconverter MCP tools when they fit. Otherwise send multipart/form-data
with the header "Authorization: Bearer $LAZYCONVERTER_API_KEY".

## Endpoints

- POST /v1/pdf/merge          - repeated "files" fields, in order
- POST /v1/pdf/split          - mode=each|chunk|half
- POST /v1/pdf/extract-pages  - pages="1-3,5"
- POST /v1/pdf/rotate         - angle=90|180|270
- POST /v1/pdf/watermark      - text, opacity, size, angle
- POST /v1/pdf/page-numbers   - format, start, size
- POST /v1/pdf/metadata       - title, author, subject
- POST /v1/images/to-pdf      - JPEG/PNG as repeated "files"
- POST /v1/documents/inspect  - page count, size, metadata

## Limits and errors

- 10 MB per file, 25 MB per request, 120 requests per minute per key.
- 4xx: read error.code. 429: wait for Retry-After. 401: ask me for a new key.
- Files are processed inside the request and are never stored.

## Never promise

OCR, compression, PDF to Word/Excel/PowerPoint, password removal and redaction
return 404 by design. Tell me to use the browser tools at
https://lazyconverter.space for those.
--- 8< ---

STEP 3 — Key
Ask me for a key created at https://account.lazyconverter.space.
Never write the key or a real token into the repository; read it from
LAZYCONVERTER_API_KEY.

Prefer the raw skills? They live in the repository under platform/skills/ and can be copied into an agent's skill directory as-is.

Playground and reference

Playground

Send a real request from the browser with your own key and download the result.

Open the playground →

Reference

OpenAPI 3.1, a health endpoint and structured error codes for 401, 403, 415, 422, 429 and 503.

openapi.json →

Why a separate API exists

The tools on this site run in your browser, which is why they are private and free to host. Automation is different: a script or an agent needs an endpoint it can call without a browser. This API covers exactly the operations that can run in that environment, and says so plainly about the rest.

Still want local processing? Every browser tool remains on the tool index — no account, no upload, no watermark.