🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@dicepdf/mcp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dicepdf/mcp

Local-first PDF tools for AI agents (Model Context Protocol). Merge, split, extract, redact metadata — the agent works on files that never leave the machine.

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
14
-48.15%
Maintainers
1
Weekly downloads
 
Created
Source

@dicepdf/mcp

Local-first PDF tools for AI agents — a Model Context Protocol server powered by @dicepdf/core.

One promise: the agent works on files that never leave the machine. Unlike cloud PDF APIs, DicePDF processes everything in-process on the user's own disk — no uploads, no third-party servers, no egress.

Why

PDF wrangling (extract text, merge, split, redact metadata) is one of the most common things an agent needs to do. Every other option uploads the user's private documents to a remote API. This one doesn't.

Install into Claude Desktop / Cursor / Cline

Add to your MCP config (e.g. claude_desktop_config.json):

{
  "mcpServers": {
    "dicepdf": {
      "command": "npx",
      "args": ["-y", "@dicepdf/mcp"]
    }
  }
}

Then ask your agent things like "extract the text from ~/Downloads/report.pdf" or "merge every PDF in ~/invoices into one file."

Tools

ToolDoes
pdf_extract_textExtract text as plain text / Markdown / JSON
pdf_mergeMerge PDFs in order
pdf_splitSplit by ranges / pages / every page
pdf_rotateRotate pages 90/180/270°
pdf_delete_pagesRemove pages
pdf_compressStructural compression (aggressive rasterizes scans)
pdf_strip_metadataRemove Title/Author/Producer/XMP/ID
pdf_watermarkStamp a text watermark
pdf_add_page_numbersAdd page numbers
pdf_to_imageRender pages to PNG/JPEG files
pdf_metadataPage count / form / signature inspection

Every tool takes local file paths and writes outputs back to disk.

License

MIT

Keywords

pdf

FAQs

Package last updated on 28 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts