pdf-mcp CLAUDE.md

pdf-mcp CLAUDE.md is an instructions file for coding agents from sandraschi/pdf-mcp. It costs 148 tokens per session, scanned A, original, MIT.

A set of instructions for pdf-mcp, a tool for working with PDF documents. It covers extracting and changing PDF content, interactive workbench tasks, and question answering over a collection of PDFs.

In plain words
What is it for?
Use it when developing or operating the PDF tool, especially for document extraction, manipulation, interactive workflows, and collection-based questions.
Why use it?
It tells a coding agent which workflows and tools to prefer and warns it not to index private documents or assume unavailable features.

Instructions file

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.

agentmods
npx agentmods add instructions/sandraschi/pdf-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/sandraschi/pdf-mcp

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-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sandraschi/pdf-mcp/claude-md.svg)](https://agentmods.dev/instructions/sandraschi/pdf-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/sandraschi/pdf-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/sandraschi/pdf-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 148 This file is loaded in full into every session.
When invoked 148 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.00148 $0.00148
Opus 5 $0.00074 $0.00074
Sonnet 5 $0.00030 $0.00030
Haiku 4.5 $0.00015 $0.00015

Measured 5d ago against content hash 14f2d1658a64, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

pdf-mcp CLAUDE.md 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 5d 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.

CLAUDE.md · 26 lines

What it actually says

pdf-mcp — Claude / agent context

PDF intelligence MCP. Ports 11130 (frontend) / 11131 (backend).

Do

  • Prefer portmanteau tools (pdf_extract, pdf_manipulate, …)
  • Use workbench/pipeline for interactive jobs; RAG for corpus Q&A
  • Follow docs/ONBOARDING.md / SPEC.md

Don't

  • Index confidential PDFs without Sandra's intent
  • Assume cloud OCR is wired
  • Commit data/ uploads or LanceDB indexes

Commands

.\start.ps1
just test
just lint

See AGENTS.md, SPEC.md, llms-full.txt.

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. 5d ago First seen · 26 lines · 148 tokens per session scan A 14f2d1658a64

Subscribe to this mod's changes

pdf-mcp CLAUDE.md is an instructions file published in the GitHub repository sandraschi/pdf-mcp (1 stars, last pushed 5d ago), licensed MIT. It adds 148 tokens to every session, about $0.0007 per session on Opus 5. 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.

Related

Other instructions, from other repositories

book-to-skill CLAUDE.md

Claude Code instructions for virgiliojr94/book-to-skill, a project described as: Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work.

virgiliojr94/book-to-skill · 30 tokens

document-SKILLs AGENTS.md

AGENTS.md instructions for appautomaton/document-SKILLs, covering document skills, python, python packages, node.js and system tools (brew or apt-get).

appautomaton/document-SKILLs · 991 tokens

ocr-mcp copilot-instructions.md

Copilot instructions for sandraschi/ocr-mcp: You have access to a FastMCP 3.4+ OCR server with 14 backends for document text extraction.

sandraschi/ocr-mcp · 86 tokens

AI_Agent_MCP_Tool_for_Multi_Docu_PDF_PNG_QR_File_Conversion_Processing_Capability AGENTS.md

AGENTS.md instructions for lovecatisgood-sudo/AI_Agent_MCP_Tool_for_Multi_Docu_PDF_PNG_QR_File_Conversion_Processing_Capability, covering agent guidance, scope, required checks, tool changes and fixtures.

lovecatisgood-sudo/AI_Agent_MCP_Tool_for_Multi_Docu_PDF_PNG_QR_File_Conversion_Processing_Capability · 173 tokens

md-anything copilot-instructions.md

Instructions for ojspace/md-anything, covering copilot instructions for md-anything, build, test, and lint commands, full suite, contributor-safe required subset and regenerate generated pdf/epub fixtures when needed.

ojspace/md-anything · 903 tokens

asset-aware-mcp copilot-instructions.md

Copilot instructions for u9401066/asset-aware-mcp, covering copilot 自定義指令, 專案概述, 核心功能, llm 後端 and pdf → 資產引擎選擇 🚦.

u9401066/asset-aware-mcp · 4,327 tokens