ExactPDF
v0.2.20ExactPDF local stdio MCP client: hosted API PDF merge, split, compress, Markdown source packs.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
exactpdf_first_run_checklist
Return the safest first-run sequence for ExactPDF MCP clients, including API key setup, free probe tools, credit rules, output directory behavior, and docs links. Free; no API key required.
exactpdf_account
Check whether the ExactPDF API key works and return credit balance/key metadata. Free; does not consume credits. Use this before any paid tool.
exactpdf_merge_and_compress_pdfs
Portal-ready workflow: merge 2-20 local PDFs in order, then best-effort repack/compress the final PDF for an upload limit. Costs 1 launch credit on success. Returns measured output size and whether target_bytes was reached; exact target compression for image-heavy PDFs may require Max/browser workflows.
| Parameter | Type | Description |
|---|---|---|
paths * | array | Absolute paths to PDF files on this machine, in merge order. |
target_bytes | integer | Optional upload limit, e.g. 1048576 for 1MB or 2097152 for 2MB. |
exactpdf_merge_pdfs
Merge 2-20 local PDF files into one PDF in the exact order provided. Costs 1 credit only on successful output. Saves the merged PDF locally and returns its path.
| Parameter | Type | Description |
|---|---|---|
paths * | array | Absolute paths to PDF files on this machine |
exactpdf_split_pdf
Split one local PDF into a ZIP of PDFs. Costs 1 credit on success. Default is one PDF per page; use at_pages for split points or ranges_json for explicit inclusive ranges.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a PDF file |
at_pages | string | Comma-separated split points after 1-based page numbers, e.g. "3,7" |
ranges_json | string | JSON array of inclusive [start,end] page ranges, e.g. "[[1,3],[4,7]]" |
exactpdf_rotate_pdf
Rotate every page of a local PDF by 90/180/270 degrees. Costs 1 credit on success. Saves the rotated PDF locally and returns its path.
| Parameter | Type | Description |
|---|---|---|
angle * | Clockwise rotation in degrees | |
path * | string | Absolute path to a PDF file |
exactpdf_compress_pdf
Compress/repack a local PDF for smaller delivery. Costs 1 credit on success. Optional target_bytes returns measured target headers. Best-effort, not guaranteed exact-size compression.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a PDF file |
target_bytes | integer | Optional upload limit such as 102400 for 100KB, 204800 for 200KB, 512000 for 500KB, or 1048576 for 1MB. |
exactpdf_compress_pdf_to_target
Best-effort compress/repack a local PDF toward a target size such as 100KB, 200KB, 500KB, or 1MB. Costs 1 credit on success and reports whether target_bytes was reached.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a PDF file |
target_bytes * | integer | Upload limit in bytes, e.g. 102400 for 100KB or 1048576 for 1MB. |
exactpdf_compress_pdf_to_100kb
Best-effort compress/repack a local PDF toward 100KB. Costs 1 credit on success and reports whether the target was reached.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a PDF file |
exactpdf_compress_pdf_to_200kb
Best-effort compress/repack a local PDF toward 200KB. Costs 1 credit on success and reports whether the target was reached.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a PDF file |
exactpdf_compress_pdf_to_500kb
Best-effort compress/repack a local PDF toward 500KB. Costs 1 credit on success and reports whether the target was reached.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a PDF file |
exactpdf_compress_pdf_to_1mb
Best-effort compress/repack a local PDF toward 1MB. Costs 1 credit on success and reports whether the target was reached.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a PDF file |
exactpdf_pdf_to_images
Backend-required placeholder for PDF-to-images API/MCP. Use the live browser tool at https://exactpdf.com/tools/pdf-to-images until the server renderer endpoint ships.
| Parameter | Type | Description |
|---|---|---|
dpi | integer | Planned render DPI. |
output_format | string | Planned output format. |
page_range | string | Planned page range, e.g. "1-3". |
path | string | Absolute path to a PDF file. Not processed yet because the API endpoint is not live. |
exactpdf_ocr_pdf
Backend-required placeholder for OCR API/MCP. Use the live browser OCR page at https://exactpdf.com/tools/ocr-pdf until the server OCR worker endpoint ships.
| Parameter | Type | Description |
|---|---|---|
language | string | Planned OCR language hint such as eng, hin, spa. |
path | string | Absolute path to a PDF file. Not processed yet because the API endpoint is not live. |
exactpdf_images_to_pdf_and_compress
Portal-ready workflow: convert local PNG/JPEG images into one ordered PDF, then best-effort repack/compress for an upload limit. Costs 1 launch credit on success. Returns measured output size and whether target_bytes was reached.
| Parameter | Type | Description |
|---|---|---|
paths * | array | Absolute paths to PNG or JPEG files, in PDF order. |
target_bytes | integer | Optional upload limit, e.g. 524288 for 500KB or 1048576 for 1MB. |
exactpdf_images_to_pdf
Convert local PNG/JPEG images into one ordered PDF. Costs 1 credit on success. Saves the resulting PDF locally and returns its path.
| Parameter | Type | Description |
|---|---|---|
paths * | array | Absolute paths to PNG or JPEG files |
exactpdf_pdf_info
Read PDF page count and metadata before deciding what to do next. Free; does not consume credits. Good first step before merge/split/speech jobs.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a PDF file |
exactpdf_extract_text
Extract plain text from a local PDF. Costs 1 credit on success. Returns JSON with text and page_count for summarizers, search, and downstream agents.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a PDF file |
exactpdf_pdf_structured_markdown
Convert a local text-layer PDF into auditable Markdown, JSON with page/chunk provenance, deterministic RAG JSONL, or a ZIP source pack. Source packs save locally and return only artifact metadata; OCR is not run and tables remain reading-order text.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a PDF file |
mode | string | Structured export profile — academic keeps page separators, rag joins short lines. |
output_format | string | json includes page/chunk provenance; markdown, jsonl, and source-pack are saved to the output folder. source-pack is a ZIP with Markdown, JSONL, and a checksum manifest. |
exactpdf_pdf_to_json
Extract text-layer PDF structure as JSON: metadata, per-page text, full text, page count, and extraction notes. Costs 1 credit on success. Scanned PDFs need OCR first.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a PDF file |
exactpdf_pdf_to_audiobook
Queue an English PDF audiobook as MP3, M4B, or MP4. English-only launch: PDF files up to 10 MiB, selected narration up to 20 pages, 18,000 characters, or 20 generated minutes, and one active audio job per account. MP3/M4B cost 15 credits per generated minute; MP4 costs 20 credits per generated minute. Poll exactpdf_job_status for completion. Returned server execution IDs are not HTTP retry idempotency keys.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a PDF file |
language | string | English language hint such as en, en-US, or en-GB. Other languages are rejected at launch. |
normalize_pauses | boolean | Normalize pauses between extracted sections. |
output_format | string | Export format. Default: mp3. |
page_range | string | Optional page range, e.g. "1-10" or "2,4-7". |
preserve_chapters | boolean | Keep detected headings as audiobook chapters. |
pronunciation_fixes | string | JSON object of pronunciation replacements. |
speed | number | Speech speed multiplier, 0.5-2.0. |
voice_id | string | Optional provider voice id, if your account supports it. |
voice_style | string | Narration style. Default: audiobook. |
exactpdf_job_status
Poll a general ExactPDF async job and optionally save the result when succeeded. Free. Prefer exactpdf_get_speech_job for speech/audiobook jobs.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | ExactPDF async job id returned by exactpdf_pdf_to_audiobook. |
download | boolean | When true, save result_url to EXACTPDF_API_OUTPUT_DIR. |
exactpdf_workflow_submit
Submit one large local workflow through ExactPDF direct GCS upload: compress (PDF ≤1 GiB), folder_batch (ZIP ≤256 MiB, max_credits 1–100), source_pack (text-layer PDF ≤256 MiB), or smart_redact (PDF ≤256 MiB/100 pages). Requires an explicit idempotency_key. Smart Redact inspect returns only a source SHA-256 and coordinate regions; apply requires reviewed:true, that exact SHA, and explicit reviewed regions. Inspect and apply are separate hosted jobs; each API/MCP job costs one credit only after its output is verified. It does not promise PII detection or auto-apply redactions.
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | Stable client-generated key for this exact intent. Never reuse it with changed file size/options. |
max_credits * | integer | Explicit maximum credits: exactly 1 except folder_batch, which permits 1–100. |
options * | object | compress/folder: targetId or customTargetBytes; source_pack: mode; smart_redact: inspect or reviewed apply options. |
path * | string | Absolute local PDF or ZIP path. It is read in bounded 8 MiB chunks, never loaded whole. |
workflow * | string |
exactpdf_workflow_finalize
Recover one already-uploaded workflow after exactpdf_workflow_submit reports finalization_pending. It authenticates POST /api/v1/workflow-jobs/:upload_id and never creates an intent, re-uploads bytes, or exposes a GCS session URL. Call workflow status first; use this once only while the upload remains uploading. A queued/already-queued/in-progress result belongs to the original job and may consume that job’s normal budget only after verified output. Stop on rejected or expired uploads; do not submit a replacement without explicit approval.
| Parameter | Type | Description |
|---|---|---|
upload_id * | string | UUID returned as upload_id by workflow_finalize_recoverable. |
exactpdf_workflow_status
Read a workflow job you own. Set max_polls (1–30) to wait locally for a terminal state; cancelling the MCP call only stops local polling and does not cancel the remote job. Signed result URLs are never displayed. Smart Redact inspect exposes only source SHA-256 and reviewed coordinate regions, never detected plaintext.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Workflow job UUID returned by exactpdf_workflow_submit. |
max_polls | integer | Bounded one-second polling attempts; default 1. |
exactpdf_workflow_download
Download the verified result of a succeeded workflow job to EXACTPDF_API_OUTPUT_DIR (or the OS temp directory). The package accepts only ExactPDF GCS signed URLs, sends no API key to storage, and uses exclusive local file creation. It cannot download failed, cancelled, or still-running jobs.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Succeeded workflow job UUID. |
exactpdf_translate_and_speak
Planning-only placeholder while translate-and-speak workers are hardened. Do not use for paid workloads; use estimates for planning only.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a PDF file |
target_language * | string | Target language code, e.g. hi, es, fr, mr, de, ja, ar. |
output_format | string | Audio export format. Default: mp3. |
page_range | string | Optional page range, e.g. "1-10" or "2,4-7". |
segmentation_mode | string | Use pages for slide/page narration. |
source_language | string | Source language code. Default: auto. |
speed | number | Speech speed multiplier, 0.5-2.0. |
translation_glossary | string | JSON array like [{"source":"ExactPDF","target":"ExactPDF"}]. |
voice_style | string | Narration style. Default: audiobook. |
exactpdf_presentation_narration
Queue English presentation narration as a page-timed MP4, M4B, or MP3. English-only launch: PDF files up to 10 MiB, selected narration up to 20 pages, 18,000 characters, or 20 generated minutes, and one active audio job per account. MP3/M4B cost 15 credits per generated minute; MP4 costs 20 credits per generated minute. Poll the returned server execution ID; it is not an HTTP retry idempotency key.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a PDF presentation file |
output_format | string | Default: mp4 page-timed presentation. |
page_range | string | Optional slide/page range, e.g. "1-10" or "2,4-7". |
speed | number | Speech speed multiplier, 0.5-2.0. |
voice_style | string | Narration style. Default: presenter. |
exactpdf_estimate_speech_cost
Estimate generated minutes and launch credits before submitting PDF narration. English-only launch: PDF files up to 10 MiB, selected narration up to 20 pages, 18,000 characters, or 20 generated minutes, and one active audio job per account. MP3/M4B cost 15 credits per generated minute; MP4 costs 20 credits per generated minute. Free and local-only.
| Parameter | Type | Description |
|---|---|---|
characters | integer | Known narration character count, if already extracted. |
minutes | number | Known generated minutes, if already estimated. |
mode | string | Default: audiobook. |
path | string | Absolute path to a PDF file. Used for a rough size-based duration estimate. |
target_language | string | Only set when mode is translate. Leave empty for English speech/audiobook/presentation estimates. |
exactpdf_voice_preview
Generate a short MP3/WAV voice sample before spending credits on a full PDF speech job. Free. Saves audio locally so users can judge quality first.
| Parameter | Type | Description |
|---|---|---|
language | string | Language hint such as en, hi, es, fr. Default: en. |
output_format | string | Audio preview format. Default: mp3. |
speed | number | Speech speed multiplier, 0.5-2.0. |
text | string | Preview text, capped server-side at 600 characters. |
voice_id | string | Optional Google Cloud voice name, e.g. en-US-Standard-H. |
voice_style | string | Narration style. Default: professional. |
exactpdf_pdf_to_speech
Queue English PDF narration as MP3, M4B, or MP4. English-only launch: PDF files up to 10 MiB, selected narration up to 20 pages, 18,000 characters, or 20 generated minutes, and one active audio job per account. MP3/M4B cost 15 credits per generated minute; MP4 costs 20 credits per generated minute.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a PDF file |
language | string | English language hint such as en, en-US, or en-GB. Other languages are rejected at launch. |
normalize_pauses | boolean | Normalize pauses between extracted sections. |
output_format | string | Export format. Default: mp3. |
page_range | string | Optional page range, e.g. "1-10" or "2,4-7". |
preserve_chapters | boolean | Keep detected headings as audiobook chapters. |
pronunciation_fixes | string | JSON array of pronunciation replacements. |
speed | number | Speech speed multiplier, 0.5-2.0. |
voice_id | string | Optional provider voice id, if your account supports it. |
voice_style | string | Narration style. |
exactpdf_generate_audiobook
Queue an English PDF audiobook as MP3, M4B, or MP4. English-only launch: PDF files up to 10 MiB, selected narration up to 20 pages, 18,000 characters, or 20 generated minutes, and one active audio job per account. MP3/M4B cost 15 credits per generated minute; MP4 costs 20 credits per generated minute.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a PDF file |
language | string | English language hint such as en, en-US, or en-GB. Other languages are rejected at launch. |
normalize_pauses | boolean | Normalize pauses between extracted sections. |
output_format | string | Export format. Default: mp3. |
page_range | string | Optional page range, e.g. "1-10" or "2,4-7". |
preserve_chapters | boolean | Keep detected headings as audiobook chapters. |
pronunciation_fixes | string | JSON array of pronunciation replacements. |
speed | number | Speech speed multiplier, 0.5-2.0. |
voice_id | string | Optional provider voice id, if your account supports it. |
voice_style | string | Narration style. |
exactpdf_get_speech_job
Poll an ExactPDF speech, audiobook, or presentation job and optionally save a succeeded result.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | ExactPDF speech job id. |
download | boolean | When true, save result_url to EXACTPDF_API_OUTPUT_DIR if job succeeded. |
exactpdf_download_audio
Download a succeeded speech, audiobook, or presentation job and save the MP3, M4B, or MP4 locally.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | ExactPDF speech job id. |