PrivaTools
Stateless privacy-first PDF, image, document, and media processing tools via PrivaTools API.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"privatools": {
"command": "npx",
"args": [
"@privatools/mcp"
]
}
}
}Runnable packages
0.1.0stdioRemote endpoints
https://api.privatools.me/mcpstreamable-httpWhat it can do
Tool inventory
Tools (6)
🟢privatools_list_tools(query, category, mode, limit, offset)
Returns PrivaTools file processing operations filtered by optional keyword, category, or execution mode (sync or async), including slugs, aliases, summaries, response media types, and async support flags.
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Optional keyword search across operation slugs, aliases, summaries, and categories (e.g. 'compress', 'merge', 'ocr', 'watermark')."
},
"category": {
"type": "string",
"description": "Optional case-insensitive category filter (e.g. 'PDF processing', 'Image', 'Audio and video', 'Accessibility')."
},
"mode": {
"type": "string",
"enum": [
"all",
"sync",
"async"
],
"default": "all",
"description": "Execution mode filter: 'all' (default), 'sync', or 'async'."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 250,
"default": 50,
"description": "Maximum number of operations to return (1-250, default 50)."
},
"offset": {
"type": "integer",
"minimum": 0,
"maximum": 10000,
"default": 0,
"description": "Pagination offset (default 0)."
}
},
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"source": {
"type": "string"
},
"total": {
"type": "integer"
},
"returned": {
"type": "integer"
},
"offset": {
"type": "integer"
},
"limit": {
"type": "integer"
},
"categories": {
"type": "array",
"items": {
"type": "string"
}
},
"async_available": {
"type": "boolean"
},
"operations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"operation": {
"type": "string"
},
"method": {
"type": "string"
},
"path": {
"type": "string"
},
"category": {
"type": "string"
},
"summary": {
"type": "string"
},
"tool_aliases": {
"type": "array",
"items": {
"type": "string"
}
},
"response_media": {
"type": "array",
"items": {
"type": "string"
}
},
"async_supported": {
"type": "boolean"
}
}
}
}
},
"required": [
"ok",
"source",
"total",
"returned",
"offset",
"limit",
"categories",
"async_available",
"operations"
]
}🟢privatools_describe_tool(operation)
Returns the HTTP method, upload fields, form and query parameters, constraints, cost, async support, input limits, and response media types for a PrivaTools operation slug or alias.
Input Schema
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"description": "Operation slug, path, or alias (e.g. 'compress', 'compress-pdf', 'merge', 'pdf-to-text', 'accessibility-check')."
}
},
"required": [
"operation"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"source": {
"type": "string"
},
"operation": {
"type": "string"
},
"id": {
"type": "string"
},
"method": {
"type": "string"
},
"path": {
"type": "string"
},
"category": {
"type": "string"
},
"summary": {
"type": "string"
},
"description": {
"type": "string"
},
"tool_aliases": {
"type": "array",
"items": {
"type": "string"
}
},
"upload_fields": {
"type": "array",
"items": {
"type": "object"
}
},
"form_fields": {
"type": "array",
"items": {
"type": "object"
}
},
"parameters": {
"type": "array",
"items": {
"type": "object"
}
},
"response_media": {
"type": "array",
"items": {
"type": "string"
}
},
"constraints": {
"type": "array",
"items": {
"type": "string"
}
},
"retry_safe": {
"type": "boolean"
},
"input_limits": {
"type": "object",
"properties": {
"max_base64_bytes": {
"type": "integer"
},
"max_url_bytes": {
"type": "integer"
},
"max_output_bytes": {
"type": "integer"
},
"download_ttl_seconds": {
"type": "integer"
}
}
}
},
"required": [
"ok",
"source",
"operation",
"method",
"path",
"category",
"summary",
"upload_fields",
"form_fields",
"response_media"
]
}🟡privatools_run_tool(operation, file_url, file_urls, file_base64, filename, ...)
Runs a synchronous PrivaTools operation (PDF, image, office, audio/video, QR, OCR, accessibility, and related file tools). Accepts file inputs via public https:// URLs (up to 500 MiB, matching MAX_UPLOAD_MB; up to 2 concurrent fetches per IP, 30s idle timeout, 180s total deadline) or inline base64 (up to 25 MiB decoded JSON-RPC payload cap). JSON-returning operations return data inline; binary outputs (up to 500 MiB) return a short-lived download URL (15-minute TTL) and a resource_link block. Works anonymously without an account; an optional X-API-Key header applies /api/v1 quota. Parameter details for each operation are available from privatools_describe_tool.
Input Schema
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"description": "Operation slug, path, or alias (e.g. 'compress', 'merge', 'rotate', 'pdf-to-text', 'accessibility-check')."
},
"file_url": {
"type": "string",
"description": "Single input file as a public https:// URL (SSRF-protected; up to 500 MiB, matching the website upload cap)."
},
"file_urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "Multiple input files as public https:// URLs, in order (up to 500 MiB each)."
},
"file_base64": {
"type": "string",
"description": "Single input file encoded as inline base64 (max 25 MiB decoded JSON-RPC cap; larger files up to 500 MiB are accepted via file_url)."
},
"filename": {
"type": "string",
"description": "Optional filename with extension for file_base64 or file_url (e.g. 'report.pdf')."
},
"files": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"description": "Public https:// URL to fetch this input file from (SSRF-protected)."
},
"base64": {
"type": "string",
"description": "Base64-encoded file bytes (25 MiB decoded total cap across all base64 inputs)."
},
"filename": {
"type": "string",
"description": "Optional filename with extension (e.g. 'document.pdf', 'photo.png')."
},
"field": {
"type": "string",
"description": "Optional multipart upload field name (e.g. 'file1', 'file2') for tools with distinct named file inputs."
}
}
},
"description": "Multiple input files (url or base64) with optional per-file filename and multipart field name."
},
"file_field": {
"type": "string",
"description": "Optional multipart upload field name override (auto-detected from schema when omitted)."
},
"params": {
"type": "object",
"additionalProperties": true,
"description": "Optional operation parameters (form fields, JSON body fields, or query params)."
}
},
"required": [
"operation"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"operation": {
"type": "string"
},
"media_type": {
"type": "string"
},
"filename": {
"type": "string"
},
"bytes": {
"type": "integer"
},
"download_url": {
"type": "string"
},
"expires_at": {
"type": "string"
},
"expires_in_seconds": {
"type": "integer"
},
"data": {
"type": "object",
"additionalProperties": true,
"description": "Inline JSON response object for JSON-returning operations."
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"ok",
"operation",
"media_type",
"headers"
]
}🔴privatools_submit_job(operation, file_url, file_urls, file_base64, filename, ...)
Submits an asynchronous background job for supported heavy operations ('merge', 'compress', 'grayscale', 'pdf-to-text'). Works anonymously out of the box (returning an unguessable capability job_id, subject to per-IP concurrency limits and 1-hour artifact retention) or with an optional X-API-Key / Authorization: Bearer header for key-scoped /api/v1 quotas. Accepts public https:// URLs or base64 PDF inputs. Job progress and results are exposed by privatools_job_status, and early removal or cancellation is handled by privatools_delete_job.
Input Schema
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"description": "Async operation slug (e.g. 'merge', 'compress', 'grayscale', 'pdf-to-text')."
},
"file_url": {
"type": "string",
"description": "Single PDF input file as a public https:// URL."
},
"file_urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "Multiple PDF input files as public https:// URLs, in order."
},
"file_base64": {
"type": "string",
"description": "Single PDF input file encoded as base64 (max 25 MiB decoded)."
},
"filename": {
"type": "string",
"description": "Optional PDF filename (e.g. 'input.pdf')."
},
"files": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"description": "Public https:// URL to fetch this input file from (SSRF-protected)."
},
"base64": {
"type": "string",
"description": "Base64-encoded file bytes (25 MiB decoded total cap across all base64 inputs)."
},
"filename": {
"type": "string",
"description": "Optional filename with extension (e.g. 'document.pdf', 'photo.png')."
},
"field": {
"type": "string",
"description": "Optional multipart upload field name (e.g. 'file1', 'file2') for tools with distinct named file inputs."
}
}
},
"description": "Multiple PDF input files (url or base64) in order."
},
"options": {
"type": "object",
"additionalProperties": true,
"description": "Optional operation-specific options object (e.g. {'level': 'recommended'} for compress)."
},
"idempotency_key": {
"type": "string",
"description": "Optional Idempotency-Key (1-128 visible ASCII chars) for safe retries. Auto-generated when omitted."
}
},
"required": [
"operation"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"job": {
"type": "object"
},
"idempotency_key": {
"type": "string"
},
"idempotency_replayed": {
"type": "boolean"
},
"location": {
"type": "string"
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"ok",
"job",
"idempotency_key",
"idempotency_replayed",
"location",
"headers"
]
}🟢privatools_job_status(job_id, include_result)
Read-only status check for an asynchronous job that optionally returns a short-lived download link or inline JSON result once succeeded (when include_result is true). Works anonymously with the capability job_id for anonymous jobs, or with the submitting X-API-Key for key-owned jobs under strict owner isolation. Does not delete or cancel jobs; job deletion and cancellation are separate operations provided by privatools_delete_job.
Input Schema
{
"type": "object",
"properties": {
"job_id": {
"type": "string",
"description": "Job ID returned by privatools_submit_job."
},
"include_result": {
"type": "boolean",
"default": false,
"description": "When true and the job has succeeded, also includes a short-lived download_url and resource_link (or inline JSON for pdf-to-text)."
}
},
"required": [
"job_id"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"job": {
"type": "object"
},
"operation": {
"type": "string"
},
"media_type": {
"type": "string"
},
"filename": {
"type": "string"
},
"bytes": {
"type": "integer"
},
"download_url": {
"type": "string"
},
"expires_at": {
"type": "string"
},
"expires_in_seconds": {
"type": "integer"
},
"result_data": {
"type": "object",
"additionalProperties": true,
"description": "Inline JSON job output object when include_result is true for JSON jobs."
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"ok",
"job",
"headers"
]
}🔴privatools_delete_job(job_id)
Permanently deletes a completed async job's server-side artifacts or cancels a queued or running job. Works anonymously with the capability job_id for anonymous jobs, or with the submitting X-API-Key for key-owned jobs. Repeated deletion is idempotent.
Input Schema
{
"type": "object",
"properties": {
"job_id": {
"type": "string",
"description": "Job ID returned by privatools_submit_job."
}
},
"required": [
"job_id"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"deletion": {
"type": "object"
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"ok",
"deletion",
"headers"
]
}Community
Evidence