pdf-viewer — Claude Code plugin: annotating and signing PDF documents
Plugin for Claude Code opens an interactive PDF viewer for markup and signatures. Runs when reviewing contracts and filling form fields with visual preview.
Apache-2.0 ★ 36,654 updated 2026-10-24
/plugin marketplace add anthropics/knowledge-work-plugins
/plugin install pdf-viewer@knowledge-work-pluginsWhat pdf-viewer does
The tool provides an interactive viewer to inspect PDF files, review collaborative annotations, fill form inputs, and stamp approval labels such as APPROVED or CONFIDENTIAL. The marked-up copy exports directly from the viewer toolbar. It is built for visual workflows; plain text extraction and summaries run faster through native Claude document ingestion.
It operates via a local MCP server named @modelcontextprotocol/server-pdf executed through npx. Remote API tokens are not needed because the server initializes on demand. Supported inputs include local project files and direct HTTPS links from services like arXiv, bioRxiv, Zenodo, or OSF.
System requirements include Node.js 18 or higher, plus internet access for remote URLs. The /pdf-viewer:sign command places only an image representation of a signature, which does not constitute a certified cryptographic e-signature.
What it helps with
- Open and mark up local PDF contracts with notes and stamps
- Fill PDF form inputs step by step with live preview
- Add approval stamps or visual signature images to document pages
- Export the annotated PDF file after collaborative review
Example prompts for the agent
- /pdf-viewer:open contract.pdf
- /pdf-viewer:annotate draft-agreement.pdf
- /pdf-viewer:fill-form application.pdf
How to install pdf-viewer
Plugin marketplace
/plugin marketplace add anthropics/knowledge-work-plugins/plugin install pdf-viewer@knowledge-work-pluginsStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about pdf-viewer
How to install pdf-viewer in Claude Code?
Register the catalog using /plugin marketplace add anthropics/knowledge-work-plugins, then install the plugin with /plugin install pdf-viewer@knowledge-work-plugins.
When should pdf-viewer be used instead of native reading?
Use this plugin when visual inspection, markup review, form filling, or annotated export is required. Pure text reading and summarization are handled faster by native Claude ingestion.
What is required to run pdf-viewer?
It requires Node.js 18 or above and an active network connection if loading documents from remote HTTPS sources. No external API keys are needed.
Source text
pdf-viewer · Apache-2.0
# 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](https://arxiv.org) — `/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.
© Anthropic · Apache-2.0 · anthropics/knowledge-work-plugins