Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/vlln/pdffigures-mcp-servernpx agentmods add skills/vlln/pdffigures-mcp-server/pdffigures2Wrote 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.
[](https://agentmods.dev/skills/vlln/pdffigures-mcp-server/pdffigures2)<a href="https://agentmods.dev/skills/vlln/pdffigures-mcp-server/pdffigures2"><img src="https://agentmods.dev/badge/skills/vlln/pdffigures-mcp-server/pdffigures2.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00065 | $0.01120 |
| Opus 5 | $0.00032 | $0.00560 |
| Sonnet 5 | $0.00013 | $0.00224 |
| Haiku 4.5 | $0.00006 | $0.00112 |
Grade A, and why
pdffigures2 scanned grade A with 1 finding 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 8d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- curl How it starts
The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
pdffigures2
Installation
Install the skill into your agent that supports Agent Skills with skit:
skit install github:vlln/pdffigures-mcp-server/skills/pdffigures2
Or manually copy the skills/pdffigures2 directory into your agent's skills directory, then configure:
cp .env.example .env
# edit PDFFIGURES2_API_URL if the server is remote
When To Use
Use this skill when the user asks to:
- Extract figures, charts, illustrations, or tables from a PDF
- "Get the figures out of this paper"
- "What tables are in this PDF?" or "Extract all charts from this document"
- Understand a PDF's visual content beyond just its text
The skill calls a pdffigures2 extraction server via HTTP. It identifies figure and table regions, extracts captions, runs OCR on table text, and renders each element as a PNG.
Do not use this skill for: extracting only the text layer (use pdf2text), extracting embedded image assets without caption matching (use pymupdf), or processing non-scholarly PDFs like brochures (results may be poor).
Workflow
1. Ensure the server is running
This skill is an API client — it requires a pdffigures2 server.
Point to an existing remote server by setting PDFFIGURES2_API_URL in .env (copy from .env.example).
2. Run extraction
skills/pdffigures2/scripts/pdffigures2 <pdf_path> -o <output_dir>
Options:
-o, --output-dir DIR— Where to download figures (default:./pdffigures2_output)--quiet— Suppress progress messages
Example:
skills/pdffigures2/scripts/pdffigures2 paper.pdf -o ./extracted/
3. Interpret the output
The script prints a JSON summary to stdout containing:
{
"total": 5,
"figures": [
{
"figType": "Figure",
"name": "3",
"page": 4,
"caption": "Fig. 3. Overview of the proposed architecture.",
"captionBoundary": { "x1": 100, "y1": 200, "x2": 400, "y2": 215 },
"regionBoundary": { "x1": 60, "y1": 80, "x2": 440, "y2": 350 },
"renderDpi": 300,
"imageText": [],
"filePath": "/absolute/path/to/extracted/paper-Figure3-1.png"
},
{
"figType": "Table",
"name": "I",
"page": 2,
"caption": "TABLE I Dataset statistics.",
"imageText": ["Column A", "Column B", "value 1", "value 2"],
"filePath": "/absolute/path/to/extracted/paper-TableI-1.png"
}
],
"figuresDir": "/absolute/path/to/extracted/",
"elapsedSeconds": 3
}
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 8d ago First seen · 124 lines · 65 tokens per session scan A c3fde9e8c4e4
pdffigures2 is a skill published in the GitHub repository vlln/pdffigures-mcp-server (8 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 65 tokens to every session and 1,120 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
pydicom
Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.
pptx-posters
Create and audit editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets. Use when the requested deliverable is a PowerPoint research/conference poster and exact physical, printer, accessibility, provenance, and package-security checks are required.
extracting-lab-tables
Detects and extracts tabular laboratory panels from PDFs, scans, and images into structured rows ready for OpenMed and FHIR. Use when the user has a CBC, CMP, lipid panel, or other lab report as a scanned image / PDF / spreadsheet and needs the test name, value, unit, reference range, and abnormal flag as clean rows.…
paper-spine
Build, rewrite, audit, submit, revise, or transfer scholarly papers end to end, producing verified LaTeX/PDF/Word and target-specific publication packages.
paper-compile
A build workflow that turns LaTeX source files into a PDF and checks whether the paper compiles correctly. LaTeX is a text-based system commonly used for academic papers.
nsfc-budget
A tool that creates an editable LaTeX budget justification and renders it as a PDF for an NSFC research-funding application. NSFC is China’s National Natural Science Foundation, and a budget justification explains why proposed costs are needed.