mcpField
P
Papyrio PDF Tools

Papyrio PDF Tools

Local
papyrio.netProductivity1Updated 1w ago

About Papyrio PDF Tools

Papyrio PDF Tools is an MCP server for assistants that need to process local PDF and office files. It provides tools for conversion, merging, splitting, compression, text extraction, and OCR, while sending files to the Papyrio API for processing.

Key features

  1. 01Compress, merge, and split PDFs
  2. 02Run OCR on scanned PDFs
  3. 03Extract text and convert PDFs to Word or JPG
  4. 04Convert office files, images, and webpages to PDF
  5. 05Protect PDFs or remove known passwords
  6. 06Read and write files using local paths

Use cases

  1. 01OCR scanned invoices and combine them into one PDF
  2. 02Convert a PDF into an editable Word document
  3. 03Compress or password-protect local PDF files

MCP support

The MCP server exposes PDF and document-processing tools to MCP clients. Tools use absolute local file paths and send files to the Papyrio API for processing.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"atabekdemurtaza-papyrio": {
"command": "npx",
"args": [
"-y",
"papyrio-mcp"
],
"env": {
"PAPYRIO_API_KEY": "<PAPYRIO_API_KEY>"
}
}
}
}
Run commandnpx -y papyrio-mcp
Environment variables to set
PAPYRIO_API_KEYSecretRapidAPI subscription key. Without one the server runs on the free guest tier, which allows three operations a day per IP address.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmpapyrio-mcp0.1.4

Tools

12

Saved tool list · updated 1w ago

ParameterTypeRequiredDescription
filestringYesAbsolute path to the PDF to compress.
levelenumNoCompression strength. low keeps images at 300 DPI, medium at 150, high at 72.low | medium | high
output_pathstringNoAbsolute path to write the result to. Defaults to the input file with a "-papyrio.pdf" suffix.

Details

From the project README

papyrio-mcp

npm Listed on mcpservers.org Glama score

An MCP server for the Papyrio PDF API. Setup for Claude, Cursor and VS Code: papyrio.net/mcp. It lets an assistant compress, merge, OCR and convert PDFs on your own machine, reading and writing local files, so multi-step work does not mean uploading and downloading between every step.

OCR every scan in ~/invoices, merge them into one PDF, compress it under 5 MB

is four tool calls the assistant makes by itself.

Install

Claude Desktop, one click

Download papyrio-mcp.mcpb and double-click it. Claude Desktop opens an install screen; leave the API key empty for the free guest tier or paste a RapidAPI key (see below). You can change it later under Settings, Extensions.

By hand, or any other client

Add this to your Claude Desktop config:

macOS ~/Library/Application Support/Claude/claude_desktop_config.json Windows %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "papyrio": {
      "command": "npx",
      "args": ["-y", "papyrio-mcp"]
    }
  }
}

Restart Claude Desktop. The tools appear under the connector icon.

API key

The server works without one, metered as ordinary free web traffic: three operations a day per IP address. Enough to see whether it is useful.

For real use, subscribe on RapidAPI and pass the key:

{
  "mcpServers": {
    "papyrio": {
      "command": "npx",
      "args": ["-y", "papyrio-mcp"],
      "env": { "PAPYRIO_API_KEY": "your-rapidapi-key" }
    }
  }
}

The free RapidAPI tier is 50 requests a month and needs no card.

Tools

ToolDoesWrites
compress_pdfShrinks a PDF, 30–80% on image-heavy files.pdf
merge_pdfsJoins 2–10 PDFs in order.pdf
split_pdfSeparates every page into its own file.zip
extract_pdf_textReturns the text layer as UTF-8.txt
pdf_to_wordRebuilds the document as an editable .docx.docx
pdf_to_jpgRenders every page as a JPG.zip
ocr_pdfAdds a searchable text layer to a scan; lang picks English, Russian, Spanish, Italian, Uzbek or Kazakh.pdf
office_to_pdfWord, PowerPoint or Excel to PDF.pdf
image_to_pdfWraps a JPG, PNG or WebP in a PDF page.pdf
webpage_to_pdfRenders a public URL in a headless browser.pdf
protect_pdfEncrypts with AES-256.pdf
unlock_pdfRemoves a password you already know.pdf

Every tool takes absolute paths. output_path is optional and defaults to the input name with a -papyrio suffix — except webpage_to_pdf, which has no input file to derive a name from and so requires it.

Adding a tool

Add an entry to src/tools.ts. The MCP tool, its input schema and the HTTP call are all generated from it.

Testing

npm run build
PAPYRIO_API_KEY=your-key node smoke.mjs

Drives all twelve tools over the real MCP protocol against the live API and checks the returned file's magic bytes, so a JSON error body named .pdf fails rather than passes. Without a key it runs on the guest tier, where three operations a day means most cases will hit rate_limit_exceeded.

Develop

npm install
npm run build

Point your config at the local build while working on it:

{
  "mcpServers": {
    "papyrio": {
      "command": "node",
      "args": ["/absolute/path/to/mcp/dist/index.js"]
    }
  }
}

Privacy: files are sent to the Papyrio API, processed in memory, and discarded when the response is sent. Nothing is stored.

Licence

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.