
pdf-viewer
Interactive PDF viewer that annotates, fills, and signs documents, then exports the marked-up copy.
- GitHub stars
- 36.5K
What it does
- Adds 4 commands (
/open,/annotate,/fill-form,/sign) and aview-pdfskill for visual PDF review - Covers highlights, notes, stamps (APPROVED, DRAFT, CONFIDENTIAL, or custom), form fields, and signature images
- Lets Claude propose markup section by section, with you reviewing each batch in the viewer before download
- Places visual signatures only, not certified digital signatures; use a dedicated signing service for legal e-signatures
View, annotate, and sign PDFs in a live interactive viewer. Mark up contracts, fill forms with visual feedback, stamp approvals, and place signatures — then download the annotated copy.
Add marketplace
/plugin marketplace add anthropics/knowledge-work-pluginsRun it inside Claude Code once, then install the plugin below.
Install
/plugin install pdf-viewer@knowledge-work-pluginsRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourcePDF Viewer — Interactive Document Workflows
You have access to a local PDF server that renders documents in a live viewer and lets you annotate, fill forms, and place signatures with real-time visual feedback.
When to use this skill
Use the PDF viewer when the user wants interactivity:
- "Show me this contract" / "Open this paper"
- "Highlight the key terms and let me review"
- "Help me fill out this form"
- "Sign this on page 3" / "Add my initials to each page"
- "Stamp this CONFIDENTIAL" / "Mark this as approved"
- "Walk me through this document and annotate the important parts"
Do NOT use the viewer for pure ingestion:
- "Summarize this PDF" → use the native Read tool directly
- "What does page 5 say?" → use Read
- "Extract the table from section 3" → use Read
The viewer's value is showing the user the document and collaborating on markup — not streaming text back to you.
Tools
list_pdfs
List available local PDFs and allowed local directories. No arguments.
display_pdf
Open a PDF in the interactive viewer. Call once per document.
url— local file path or HTTPS URLpage— initial page (optional, default 1)elicit_form_inputs— iftrue, prompts the user to fill form fields before displaying (use for interactive form-filling)
Returns a viewUUID — pass this to every interact call. Calling
display_pdf again creates a separate viewer; interact calls with
the new UUID won't reach the one the user is looking at.
Also returns formFields (name, type, page, bounding box) if the PDF
has fillable fields — use these coordinates for signature placement.
interact
All follow-up actions after display_pdf. Pass viewUUID plus one or
more commands. Batch multiple commands in one call via the
commands array — they run sequentially. End batches with
get_screenshot to verify changes visually.
Annotation actions:
add_annotations— add markup (see types below)update_annotations— modify existing (id + type required)remove_annotations— delete by id arrayhighlight_text— auto-find text by query and highlight it (preferred over manual rects for text markup)
Navigation actions:
navigate(page),search(query),find(query, silent),search_navigate(matchIndex),zoom(scale 0.5–3.0)
Extraction actions:
get_text— extract text from page ranges (max 20 pages). Use for reading content to decide what to annotate, NOT for summarization.get_screenshot— capture a page as an image (verify your annotations)
Form action:
fill_form— fill named fields:fields: [{name, value}, ...]
Annotation Types
All annotations need id (unique string), type, page (1-indexed).
Coordinates are PDF points (1/72 inch), origin top-left, Y increases
downward. US Letter is 612×792pt.
| Type | Key properties | Use for |
|---|---|---|
highlight | rects, color?, content? | Mark important text |
underline | rects, color? | Emphasize terms |
strikethrough | rects, color? | Mark deletions |
note | x, y, content, color? | Sticky-note comments |
freetext | x, y, content, fontSize? | Visible text on page |
rectangle | x, y, width, height, color?, fillColor? | Box regions |
circle | x, y, width, height, color?, fillColor? | Circle regions |
line | x1, y1, x2, y2, color? | Draw lines/arrows |
stamp | x, y, label, color?, rotation? | APPROVED, DRAFT, CONFIDENTIAL, etc. |
image | imageUrl, x?, y?, width?, height? | Signatures, initials, logos |
Image annotations accept a local file path or HTTPS URL (no data: URIs). Dimensions auto-detected if omitted. Users can also drag & drop images directly onto the viewer.
Interactive Workflows
Collaborative annotation (AI-driven)
display_pdfto open the documentinteract→get_texton relevant page range to understand content- Propose a batch of annotations to the user (describe what you'll mark)
- On approval,
interact→add_annotations+get_screenshot - Show the user, ask for edits, iterate
- When done, remind them they can download the annotated PDF from the viewer toolbar
Form filling (visual, not programmatic)
Unlike headless form tools, this gives the user live visual feedback and handles forms with cryptic/unnamed fields where the label is printed on the page rather than in field metadata.
display_pdf— inspect returnedformFields(name, type, page, bounding box)- If field names are cryptic (
Text1,Field_7),get_screenshotthe pages and match bounding boxes to visual labels - Ask the user for values using the visual labels, or infer from context
interact→fill_form, thenget_screenshotto show the result- User confirms or edits directly in the viewer
For simple well-labeled forms, display_pdf with
elicit_form_inputs: true prompts the user upfront instead.
Signing (visual, not certified)
- Ask for the signature/initials image path
display_pdf, checkformFieldsfor signature-type fields or ask which page/positioninteract→add_annotationswithtype: "image"at the target coordinatesget_screenshotto confirm placement
Disclaimer: This places a visual signature image. It is not a certified or cryptographic digital signature.
Supported Sources
- Local files (paths under client MCP roots)
- arXiv (
/abs/URLs auto-convert to PDF) - Any direct HTTPS PDF URL (bioRxiv, Zenodo, OSF, etc. — use the direct PDF link, not the landing page)
Out of Scope
- Summarization / text extraction — use native Read instead
- Certified digital signatures — image stamping only
- PDF creation — this works on existing PDFs only
Readme
PDF Viewer Plugin
View, annotate, and sign PDFs in a live interactive viewer. Mark up contracts, fill forms with visual feedback, stamp approvals, and place signatures — then download the annotated copy.
What It Does
- Open PDFs from local files or academic sources (arXiv, bioRxiv, etc.)
- Annotate collaboratively — Claude proposes highlights, notes, and stamps section by section; you review each batch in the viewer
- Fill forms — guided field-by-field completion with live preview
- Sign documents — place signature/initials images on the page
- Stamp approvals — APPROVED, DRAFT, CONFIDENTIAL, or any custom label
- Download — export the annotated PDF from the viewer toolbar
Commands
| Command | What it does |
|---|---|
/pdf-viewer:open | Open a PDF in the interactive viewer |
/pdf-viewer:annotate | Walk through the document, propose + apply markup, review together |
/pdf-viewer:fill-form | Fill PDF form fields interactively |
/pdf-viewer:sign | Place a signature or initials image on the page |
When to use this vs. just reading a PDF
This plugin is for interactive, visual workflows — when you want to see the document, mark it up, and download an annotated copy.
If you just want Claude to summarize or extract text from a PDF, don't use this plugin. Claude can read PDF files natively and that's faster for pure ingestion.
How It Works
This plugin uses a local MCP server (@modelcontextprotocol/server-pdf)
that runs on your machine via npx. No API keys or remote services —
the PDF server starts automatically when the plugin loads.
Requirements
- Node.js >= 18
- Internet for remote PDFs (arXiv, etc.)
Supported PDF Sources
- Local files (file paths in your working directory)
- arXiv —
/abs/URLs auto-convert to PDF - Any direct HTTPS PDF URL (bioRxiv, Zenodo, OSF, etc. — use the PDF link, not the landing page)
Signature Disclaimer
/pdf-viewer:sign places a visual signature image on the page. It is not
a certified or cryptographic digital signature. For legally binding
e-signatures, use a dedicated signing service.
Details
- Marketplace
- anthropics/knowledge-work-plugins
- Source
- pdf-viewer
- Category
- Community
- Listed since
- Apr 7, 2026
More from anthropics/knowledge-work-plugins
All 123Similar to pdf-viewer
More Office Files & Slides
view-pdfSkillanthropics/knowledge-work-plugins6.4K installsInteractive PDF viewer that opens documents for visual annotation, form filling, and signature placement with live feedback.
document-skillsPluginanthropics/skills196.9K starsCollection of document processing suite including Excel, Word, PowerPoint, and PDF capabilities
interactive-reviewPluginteam-attention/plugins-for-claude-natives831 starsInteractive markdown review with web UI for visual plan/document approval
pdfPluginComposioHQ/awesome-claude-skills51.5K starsComprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to
pdf-playgroundPluginjamditis/claude-skills-journalism456 starsInteractive playground for creating and testing PDF reports and proposals
Agent-Native FormsMCP serverbuilderio7.7K starsAgent-Native form builder - create, edit, and manage forms