@awryhant/pdfmath

Level CLocal

PDF arithmetic from the command line and as an MCP server: merge, cut, slice (Python-style), rotate and compress PDFs, with a Python-like scripting language (.pm). Fully offline.

⭐ 0Office & ProductivityJavaScriptRepo ↗Updated 2026-10-22

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "npm-awryhant-pdfmath": {
      "command": "npx",
      "args": [
        "@awryhant/pdfmath"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://www.npmjs.com/package/@awryhant/pdfmath

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "npm-awryhant-pdfmath": {
      "command": "npx",
      "args": [
        "@awryhant/pdfmath"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers