pdf-expert

pdf-expert is a skill for Claude Code from sandraschi/pdf-mcp. It costs 0 tokens per session (1,380 once invoked), scanned A, original, MIT.

A set of tools for extracting information from PDF files, changing their structure, adding annotations, converting them, checking them, and searching them for relevant content.

In plain words
What is it for?
Use it to extract text, images, tables, links, fonts, metadata, and outlines; merge, split, rotate, reorder, delete, compress, encrypt, or decrypt pages; and add annotations or search PDF content.
Why use it?
It gathers common PDF tasks in one place instead of requiring separate tools for reading text, handling pages, inspecting metadata, or marking up documents.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pdf-mcp plugin — 2 skills, 1 MCP server shipped together

Good fit Use it to extract text, images, tables, links, fonts, metadata, and outlines; merge, split, rotate, reorder, delete, compress, encrypt, or decrypt pages; and add annotations or search PDF content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sandraschi/pdf-mcp/pdf-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sandraschi/pdf-mcp --skill pdf-expert
Clone the repo
git clone --depth 1 https://github.com/sandraschi/pdf-mcp

Made for: Claude Code.

Or install pdf-mcp, the plugin that ships this one along with the rest of its 2 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pdf-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/sandraschi/pdf-mcp/pdf-expert/github.svg)](https://agentmods.dev/skills/sandraschi/pdf-mcp/pdf-expert)
Your own site
<a href="https://agentmods.dev/skills/sandraschi/pdf-mcp/pdf-expert"><img src="https://agentmods.dev/badge/skills/sandraschi/pdf-mcp/pdf-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pdf-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/sandraschi/pdf-mcp/pdf-expert"><img src="https://agentmods.dev/badge/skills/sandraschi/pdf-mcp/pdf-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,380 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01380
Opus 5.5 $0.00000 $0.00552
Sonnet 5.5 $0.00000 $0.00276
Haiku 4.5 $0.00000 $0.00138

Measured 20d ago against content hash fe66ecaf8aca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pdf-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pdf_mcp/skills/pdf-expert/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

pdf-mcp — Skill

Overview

pdf-mcp is a full-stack, local-first PDF intelligence MCP server. It exposes 16 portmanteau tools (operation-selected) covering extraction, manipulation, annotation, forms, conversion, validation, redaction, classification, deduplication, RAG, briefs, and an agentic chaining tool. The only optional dependency is a local LLM (Ollama / LM Studio) for chat, pdf_do, auto-fill, and summaries. Everything else works offline.

Audience routing

  • Agent, exploratory task ("what's in this PDF?", "find the clause") → start read-only: pdf_analyze → pdf_extract(metadata|outline|text) → pdf_rag(search).
  • Agent, chained multi-step task → pdf_do(task=..., path=...) (needs a local LLM).
  • Agent, structured pipeline → drive the operations explicitly and inspect each success before continuing.
  • Human at the webapp → Workbench (view/compare/one-off tools), Pipeline (batch + recipes), Chat (asks), Settings (LLM setup), Inbox (watch folder), Logs.
  • Human scripting → the REST surface (/api/jobs, /api/rag/search, /api/health).

Tool catalogue (all 16)

Read-only inspection:

  • pdf_analyze — scanned vs digital, per-page layout stats. Always run before extraction on an unknown file.
  • pdf_extract — ops: text, images, tables, metadata, fonts, links, outline. Optional 1-indexed pages range.
  • pdf_validate — ops: pdfa, structure, accessibility, integrity, compare.
  • pdf_classify — document type (invoice, receipt, report, contract, form, resume, letter, …). refine=true uses the LLM.
  • pdf_dedupe — exact + near duplicates over paths, threshold (default 0.85).
  • pdf_rag — ops: chunk, index, search, similar, synthesize, list_documents, delete_index. Hits carry source_file + page_num.

Write (returns a new path; original untouched):

  • pdf_manipulate — ops: merge, split, rotate, reorder, delete_pages, compress, encrypt, decrypt, optimize.
  • pdf_annotate — ops: watermark, stamp, highlight, underline, header_footer, page_numbers, summary_box (LLM).
  • pdf_convert — ops: to_markdown, to_images, to_html, from_html, from_markdown, from_images.
  • pdf_forms — ops: list_fields, fill, flatten, export_data, auto_fill (LLM).
  • pdf_redact — blacken terms and/or pii=true (email, phone, IBAN, card, SSN, IP).
  • pdf_export — document brief as markdown/json, optional LLM summary.

Read the full file on GitHub · 111 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 20d ago Changed · +29 lines fe66ecaf8aca
  2. 1mo ago First seen · 82 lines · 0 tokens per session scan A a874e7dca660

Subscribe to this mod's changes

pdf-expert is a skill published in the GitHub repository sandraschi/pdf-mcp (1 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,380 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.