# TruePath PDF (npm · @truepathpdf/mcp-server)

Local-only PDF tools for AI — extract text, search, split/merge, render pages. Files never leave.

- Trust score: 69/100 (medium)
- Change this week: +24
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@truepathpdf/mcp-server`: 69/100 (this document), [markdown](https://verifymcp.io/servers/joytruepath-truepath-pdf-mcp/truepathpdf-mcp-server.md), [page](https://verifymcp.io/servers/joytruepath-truepath-pdf-mcp/truepathpdf-mcp-server)

## Channel facts

- Registry: `npm`
- Package: `@truepathpdf/mcp-server`
- Version: `0.3.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (112 of 116), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (112 of 116), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 28 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 75/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 1218 tokens (~135/item across 9 items; 9 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add joytruepath-truepath-pdf-mcp -- npx -y @truepathpdf/mcp-server
```

### Codex

```bash
codex mcp add joytruepath-truepath-pdf-mcp -- npx -y @truepathpdf/mcp-server
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "joytruepath-truepath-pdf-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@truepathpdf/mcp-server"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add joytruepath-truepath-pdf-mcp --command npx --arg -y --arg @truepathpdf/mcp-server
```

### Hermes

```yaml
mcp_servers:
  joytruepath-truepath-pdf-mcp:
    command: "npx"
    args: ["-y", "@truepathpdf/mcp-server"]
```

### Other

```json
{
  "mcpServers": {
    "joytruepath-truepath-pdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@truepathpdf/mcp-server"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 69, +49)

- [security regression] Provenance: unverified → fail
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [functional improvement] Schema quality: unverified → excellent
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Stability: unverified → 0.27
- [functional improvement] MCP protocol: unverified → pass
- [functional] Licence: MIT

### 2026-08-02 (score 20, 0)

- [security improvement] Malware scan: unverified → pass
- [functional regression] Tool coverage: 100 → unverified

### 2026-07-31 (score 20, −7)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 27, +1)

- [security regression] Malware scan: pass → unverified
- [functional regression] Dependency health: partial → unverified
- [functional improvement] Tool coverage: unverified → 100

### 2026-07-28 (score 26, −19)

- [functional regression] Tool coverage: 100 → unverified
- [functional improvement] Dependency health: unverified → partial
- [functional] First check of Schema quality: unverified

### 2026-07-27 (score 45)

First indexed and scored.

## MCP tools (9)

### `get_info` (~54 tokens)

Get PDF info

Return page count, first-page size, encryption status, and embedded metadata (title, author, dates, producer, etc.) for a local PDF.

Input parameters:

- `path` (string, required): Absolute path to a PDF on the local filesystem.

### `extract_text` (~104 tokens)

Extract text

Extract plain text from a local PDF. Optionally restrict to a page range like "1-5" or "1,3,5-7". Output is split by page with === Page N === markers.

Input parameters:

- `pages` (string): Page range (1-based). Examples: "3", "1-5", "1,3,5-7". Omit for all pages.
- `path` (string, required): Absolute path to a PDF on the local filesystem.

### `search` (~124 tokens)

Search PDF

Find a substring across the whole PDF. Returns each hit's page, offset within the page, and a snippet of surrounding text. Use for grep-style discovery before extracting full text.

Input parameters:

- `caseSensitive` (boolean): Case-sensitive match. Default false.
- `contextChars` (integer): How many characters of surrounding text to include per hit (default 60).
- `maxHits` (integer): Cap the number of hits returned (default 200).
- `path` (string, required): Absolute path to a PDF on the local filesystem.
- `query` (string, required): Text to search for.

### `split` (~138 tokens)

Split PDF

Split a PDF into multiple PDFs by page ranges. Each range becomes one output file written into outputDir.

Input parameters:

- `basename` (string): Stem for output filenames. Default = source filename without .pdf. Final names look like '<basename>-1-3.pdf'.
- `outputDir` (string): Directory to write outputs into. Defaults to the source PDF's directory.
- `path` (string, required): Absolute path to the source PDF.
- `ranges` (array, required): Page ranges to split into separate output PDFs, 1-based. Examples: ["1-3", "4-7", "8"] produces three files. Each range becomes one output PDF.

### `merge` (~78 tokens)

Merge PDFs

Combine two or more PDFs into one, preserving page order. Outputs to a caller-specified path.

Input parameters:

- `outputPath` (string, required): Absolute path for the combined output PDF. Its parent directory will be created if missing.
- `paths` (array, required): Two or more absolute PDF paths to combine, in order. The result preserves pages in the order given.

### `pages` (~207 tokens)

Edit pages (rotate / delete / reorder)

One-pass page editor. Delete pages, rotate specific pages by 90°/180°/270°, and reorder the result — in any combination. Page numbers in `rotate` refer to the SOURCE PDF; `reorder` refers to post-delete positions.

Input parameters:

- `delete` (string): Pages to delete, 1-based, comma/range form. Example: "1,3,5-7". Applied BEFORE rotate and reorder.
- `outputPath` (string, required): Absolute path to write the result to.
- `path` (string, required): Absolute path to the source PDF.
- `reorder` (array): New page order, expressed as 1-based positions in the post-delete output. Example: [3,1,2] puts page 3 first. Must be a permutation of all surviving pages.
- `rotate` (array): Per-page absolute rotations applied to pages that survive the delete step. Page numbers refer to the SOURCE PDF, not the post-delete one — easier to reason about.

### `to_images` (~220 tokens)

Render pages to images

Rasterize PDF pages as PNG or JPG at a chosen DPI. Useful for previews, OCR pipelines, or feeding pages back to a vision model.

Input parameters:

- `basename` (string): Stem for output filenames. Default = source filename without .pdf. Final names: '<basename>-001.png' (page number padded to 3 digits).
- `dpi` (integer): Render resolution. Default 150. PDF native is 72; common values: 96 screen, 150 print preview, 300 print.
- `format` (string): Output format. Default "png". "jpg" is smaller but lossy.
- `jpgQuality` (integer): JPEG quality 40-100. Default 85. Ignored for PNG.
- `outputDir` (string, required): Directory to write the rendered images into.
- `pages` (string): 1-based page range, e.g. "3", "1-5", "1,3,5-7". Omit for all pages.
- `path` (string, required): Absolute path to the source PDF.

### `extract_images` (~131 tokens)

Extract embedded images

Pull embedded images out of a PDF and write each as a PNG. Unsupported pixel layouts (e.g. CMYK, palettized) are skipped and reported.

Input parameters:

- `basename` (string): Stem for output filenames. Default = source name. Final form: '<stem>-p001-img01.png'.
- `outputDir` (string, required): Directory to write extracted images into.
- `pages` (string): 1-based page range. Omit for all pages. Format: "1-5" or "1,3,5-7".
- `path` (string, required): Absolute path to the source PDF.

### `open_in_truepath` (~162 tokens)

Open in TruePath PDF (Mac app)

Hand a local PDF to the TruePath PDF Mac app via its truepath:// URL scheme so the user can finish work in a GUI (annotate, sign, fill forms, redact). The bridge is fire-and-forget — the app handles opening from there. Requires the app installed (https://joytruepath.com/truepath-pdf).

Input parameters:

- `path` (string, required): Absolute path to the PDF to open in the TruePath PDF Mac app.
- `scheme` (string): URL scheme of the receiving app. Default "truepath". Set this if you're handing off to a re-branded build of the engine — e.g. "yochenpdf" for the Yochen core build, or whatever urlScheme the destina…

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/joytruepath-truepath-pdf-mcp/truepathpdf-mcp-server#diagnostics

## Score history

- 2026-08-03: 69
- 2026-08-02: 20
- 2026-08-01: 20
- 2026-07-31: 20
- 2026-07-30: 27
- 2026-07-28: 26
- 2026-07-27: 45

## Links

- npm package: https://www.npmjs.com/package/@truepathpdf/mcp-server
- Socket report: https://socket.dev/npm/package/@truepathpdf/mcp-server
- Repository: https://github.com/JoyTruepath/truepath-pdf-mcp
- Website: https://joytruepath.com/truepath-pdf
- Changelog RSS feed: https://verifymcp.io/servers/joytruepath-truepath-pdf-mcp/truepathpdf-mcp-server/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/joytruepath-truepath-pdf-mcp/truepathpdf-mcp-server/changelog.json
- HTML version of this page: https://verifymcp.io/servers/joytruepath-truepath-pdf-mcp/truepathpdf-mcp-server
