# @exactpdf/mcp

MCP server for ExactPDF — target-size compression, structured Markdown/RAG source packs, PDF JSON, bounded PDF audio jobs, and API credits.

- **Type:** MCP server
- **Trust:** 60/100 (B), scored on the package rubric
- **Verification:** community-indexed — nobody has claimed this listing
- **Version:** 0.2.19
- **Author:** ExactPDF
- **License:** MIT
- **npm:** @exactpdf/mcp
- **Source:** https://github.com/smmallya/ExactPDF
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

60/100 (B), scored on the package rubric
- Publisher verified: no
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 0 days

## Security scan

- **Status:** clean
- **Scanned:** 2026-10-08T00:10:14.077Z
- **Version scanned:** 0.2.19
- **CVEs:** none found by OSV at scan time

## Tools

30 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `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 link
- `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. Ret
- `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
- `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 inclus
- `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.
- `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 
- `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
- `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
- `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.
- `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 succes
- `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.
- `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.
- `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.
- `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 locall
- `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
- `exactpdf_pdf_to_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.
- `exactpdf_workflow_submit`
- `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 ne
- `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
- `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 URL
- `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.
- `exactpdf_presentation_narration`
- `exactpdf_estimate_speech_cost`
- `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.
- `exactpdf_pdf_to_speech`
- `exactpdf_generate_audiobook`
- `exactpdf_get_speech_job` — Poll an ExactPDF speech, audiobook, or presentation job and optionally save a succeeded result.
- `exactpdf_download_audio` — Download a succeeded speech, audiobook, or presentation job and save the MP3, M4B, or MP4 locally.

## Install

**Verdict: review** — Installable, but 1 thing to check first: No publisher has proved control of this listing; it is indexed, not vouched for.
**Cautions** (coverage gaps and advisories — never blocking)
- No publisher has proved control of this listing; it is indexed, not vouched for.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@exactpdf/mcp\"\n      ],\n      \"env\": {\n        \"EXACTPDF_API_KEY\": \"<YOUR_EXACTPDF_API_KEY>\"\n      }\n    }\n  }\n}"
```
**Credentials it will ask for** (names only — Forge never holds a value):
- `EXACTPDF_API_KEY` — Exactpdf API Key (optional)
Placeholders only. Forge never holds, brokers, or transmits a credential value — replace each <YOUR_NAME> in your own config file. Do not send a value back to Forge; no Forge endpoint accepts one.
- This entry needs 1 credential (0 required). The generated config carries placeholders, so it will fail in the editor rather than at runtime if they are left unset.

## Blast radius

Moderate blast radius — holds an api key; runs on your machine.
- Floor 23, ceiling 23 (tier: moderate)
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/%40exactpdf%2Fmcp
- Install plan: https://forgeregistry.com/api/v1/packages/%40exactpdf%2Fmcp/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/%40exactpdf%2Fmcp
- HTML page: https://forgeregistry.com/registry/%40exactpdf%2Fmcp
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
