PDF Reader — Highlights, Formula Crop Q&A & Live Typora Sync MCP Server
Local pdf.js reader & MCP server: 4-color highlights, formula crop Q&A, and live Typora sync.
PDF Reader — Highlights, Formula Crop Q&A & Live Typora Sync scores 67 (Good), licensed MIT and written in JavaScript. It installs as a local process. It declares 12 tools. Filed under Knowledge. GitHub shows 1 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
67 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
77/100 for listing completeness. Lost points: 11 of 12 tools barely described, short summary.
How quality is graded
Where the 67 comes from
22 + 20 + 1 + 10 + 4 + 10 = 67. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "aludel-antigravity-pdf-reader": { "command": "npx", "args": [ "-y", "https://github.com/Aludel/antigravity-pdf-reader/releases/download/v1.1.1/pdf-reader-v1.1.1.mcpb" ], "env": { "PDF_READER_NOTES_DIR": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
PDF_READER_NOTES_DIR | Optional | Optional directory for synced Markdown reading notes (defaults to ~/Documents/PDF Notes). |
Tools12Tool docs quality grade F
All capabilitiespdf_add_notetoolWrite (Append)
pdf_currenttoolRead-Only
pdf_edit_notetoolDestructive
pdf_export_notestoolDestructive (Overwrite)
pdf_notestoolRead-Only
pdf_opentoolWrite (Non-destructive)
pdf_outlinetoolRead-Only
pdf_page_imagetoolRead-Only
pdf_readtoolRead-Only
pdf_reader_mcptool🛠️ MCP Tools ( )
pdf_save_answertoolDestructive (Overwrite)
pdf_searchtoolRead-Only
About
🌐 Works Natively Across Three Agent Ecosystems
| Host | Visual Reader Experience | MCP & Skill Integration | One-Step Install |
|---|---|---|---|
| Google Antigravity | Docked right-hand sidecar pane (sidecar://pdf-reader/reader/) | plugin.json + mcp_config.json + SKILL.md + AGENTS.md | agy plugin install ... or unzip pdf-reader-v1.1.1.zip |
| Claude Desktop (+ Claude Code) | Local standalone pdf.js web reader (http://127.0.0.1:18765, auto-launched on pdf_open) | One-click .mcpb bundle (manifest.json) + claude_desktop_config.json + ~/.claude/skills | Double-click pdf-reader-v1.1.1.mcpb or bash bin/install.sh --target claude-desktop |
DeepSeek Harness (dsh) | Local standalone pdf.js web reader (http://127.0.0.1:18765, auto-launched on pdf_open) | Cordis plugin (package.json) + @deepseek-ai/dsh-mcp-client (cordis.patch.yml) + .agents/skills | bash bin/install.sh --target deepseek-harness |
✨ Key Features
- Immersive
pdf.js5.4 Reader + Night Mode (Dark Pages): Smooth continuous reading with an auto-hiding frosted top bar, byte-range streaming for multi-hundred-MB textbooks, one-click Dark Pages (Night Mode) (🌙), per-book zoom memory, and automatic resume at your last-read page. - 4-Color Semantic Highlighter & Page Notes: Mark passages as 🟨 Key Point, 🟥 Hard, 🟩 Concept, or 🟦 Question, attach inline comments, or press
Hfor Highlighter Pen Mode (drag-select to highlight immediately, with full⌘Z/⌘⇧Zundo & redo). - One-Click Ask, Explain, Translate & Formula Crop:
- Select text or drag a Crop box around dense equations, figures, or tables.
- In Antigravity: Sends directly into the active chat pane and auto-syncs the agent's reply from the session transcript.
- In Claude Desktop & DeepSeek Harness: Queues the question + cropped PNG in
pdf_current().pending_qaand copies the structured prompt to your clipboard (⌘V) — when the agent callspdf_save_answer, its reply appears live in the Reader's Q&A tab and Markdown notes!
- Live Markdown & Typora Sync: Every highlight, comment, page note, and Q&A pair syncs atomically into
~/Documents/PDF Notes/<Title>.md, grouped by page while preserving your own handwritten summary block (<!-- My Notes:start ... -->). Click Open in Typora (☰or⋯) anytime. - 11-Tool MCP Server (
pdf_reader_mcp): Gives any MCP-capable agent live awareness of your open PDF, current page, active text selection, high-DPI page renders (pdf_page_image), full-text search, and direct PDF highlighting.
🚀 Installation
Prerequisites (All Hosts)
- Node.js >= 18 (zero
npm installneeded — uses built-in Node APIs only) - Python 3 with
mcpandpymupdf(oruvinstalled — the launcher auto-detects conda, Homebrew, system Python, oruv run):pip install -r requirements.txt
Quick Install (Any or All Hosts)
Clone the repository anywhere and run the unified installer (automatically backs up existing configs before merging):
git clone https://github.com/Aludel/antigravity-pdf-reader
cd antigravity-pdf-reader
pip install -r requirements.txt
# Install for all three hosts at once:
bash bin/install.sh --target all
# Or target a single host:
bash bin/install.sh --target antigravity
bash bin/install.sh --target claude-desktop
bash bin/install.sh --target deepseek-harness
Host-Specific Setup Details
1. Claude Desktop (One-Click .mcpb Extension)
- Download
pdf-reader-v1.1.1.mcpbfrom Releases. - Double-click
pdf-reader-v1.1.1.mcpb— or open Claude Desktop → Settings → Extensions → Advanced settings → Install Extension… and select the.mcpbfile. - Ask Claude: "Open
~/Downloads/paper.pdfon page 4 with PDF Reader" — your browser opens the interactive reader side-by-side with Claude Desktop!
(Manual claude_desktop_config.json template is also provided in integrations/claude-desktop/claude_desktop_config.example.json.)
2. DeepSeek Harness (dsh)
bash bin/install.sh --target deepseek-harness sets up everything automatically:
- Copies
SKILL.mdinto~/.dsh/skills/pdf-reader/SKILL.mdand~/.agents/skills/pdf-reader/SKILL.md(and.agents/skills/pdf-reader/SKILL.mdis bundled in-repo for workspace auto-discovery). - Registers
pdf_reader_mcpvia@deepseek-ai/dsh-mcp-clientin~/.dsh/cordis.patch.yml( exposingmcp__pdf_reader_mcp__pdf_open,mcp__pdf_reader_mcp__pdf_current, etc.) and writes~/.dsh/mcp.json. - Also exports a native Cordis plugin entry (
integrations/deepseek-harness/index.mjsvia rootpackage.json). Seeintegrations/deepseek-harness/cordis.patch.ymlfor manual profile patching (~/.dsh/profiles/web/cordis.patch.yml).
3. Google Antigravity
# Option A: agy CLI
agy plugin install https://github.com/Aludel/antigravity-pdf-reader
# Option B: Release zip
mkdir -p ~/.gemini/config/plugins
unzip pdf-reader-v1.1.1.zip -d ~/.gemini/config/plugins/
⌨️ Controls & Shortcuts
| Action | Shortcut / Gesture |
|---|---|
| Previous / Next page, Jump to page | Scroll, ← / →, or type a page number in the top bar and press Enter |
| Zoom & Fit mode | ⌘+ / ⌘-, trackpad pinch, ⌘0 or click Width / Page (saved per document) |
Night Mode (Dark Pages) | Top-right ⋯ → Dark Pages |
| Highlight selected text | Select text → click 🟨 Key Point, 🟥 Hard, 🟩 Concept, or 🟦 Question |
| Highlighter Pen Mode | Click the pen icon or press H (drag-select highlights immediately; Esc or ⌘E exits) |
| Edit / Recolor / Delete / Follow up | Click any existing highlight on the page to open its popover |
| Add a page note | Press N, or click + Page Note inside the ☰ Notes drawer |
| Undo / Redo annotations | ⌘Z / ⌘⇧Z |
| Ask / Explain / Translate selection | Select text → Ask, Explain, or Translate |
| Crop equation / figure & ask | Press / (or click ?) → Capture → Crop → drag box → Enter |
| Open synced notes in Typora | ☰ drawer → Open Notes in Typora (or ⋯ → Open Notes in Typora) |
🛠️ MCP Tools (pdf_reader_mcp)
| Tool | Safety Hints (RO / Destructive) | Description |
|---|---|---|
pdf_current | Read-Only | Returns active PDF, current/visible pages, text selection, host_mode, and any queued pending_qa |
pdf_open | Write (Non-destructive) | Opens a local PDF in Antigravity's sidecar pane or launches the standalone pdf.js web reader |
pdf_read | Read-Only | Extracts text for a page spec ("3", "3-5", "1,4,7-9", "current", "all") without modifying files |
pdf_search | Read-Only | Pure read-only whitespace- and hyphen-tolerant full-text search with context snippets |
pdf_outline | Read-Only | Reads PDF metadata and built-in bookmark hierarchy without modifying files |
pdf_page_image | Read-Only | Renders any page in memory to PNG (returned as an MCP Image) for equations, figures, tables, or scans |
pdf_notes | Read-Only | Lists highlights, comments, page notes, and Q&A items |
pdf_add_note | Write (Append) | Appends a page note or draws a colored highlight on the PDF and syncs Markdown notes |
pdf_edit_note | Destructive | Updates a note's comment/color or permanently deletes it (removes empty synced Markdown) |
pdf_save_answer | Destructive (Overwrite) | Writes/overwrites the archived answer for a PDF Q&A item and syncs the Markdown file |
pdf_export_notes | Destructive (Overwrite) | Syncs/overwrites the Markdown note file (~/Documents/PDF Notes/<Title>.md) and opens Typora or Finder |
📂 Repository Layout
plugin.json Antigravity plugin manifest
manifest.json Claude Desktop .mcpb extension manifest
package.json DeepSeek Harness (dsh) / Cordis package manifest
.claude-plugin/plugin.json Claude Code plugin manifest
.agents/skills/pdf-reader/ DeepSeek Harness workspace auto-discovered skill
mcp_config.json Antigravity MCP server config
bin/mcp-launcher.mjs Cross-platform Python/uv auto-discovery stdio launcher
bin/run-mcp-server.sh POSIX shell launcher & CLI tool runner
bin/install.sh Safe multi-host installer (--target antigravity|claude-desktop|deepseek-harness|all)
server/mcp_server.py FastMCP server + standalone reader supervisor + Markdown store
sidecars/reader/ Dual-mode pdf.js reader (Antigravity sidecar + standalone HTTP server)
integrations/ Ready-to-use configs for Claude Desktop & DeepSeek Harness (cordis.patch.yml)
skills/pdf-reader/SKILL.md Cross-host agent skill instructions
rules/AGENTS.md Always-on rule for <PDF_READER_REQUEST> prompts
assets/ Logo (logo.svg, icon.png) & 5-act camera-tracked showcase (demo.svg)
🔒 Privacy & License
- 100% Local-First Privacy: All PDF parsing, page rendering, highlights, notes, and Q&A stay strictly on your local machine with zero telemetry and zero external network calls — see PRIVACY.md and SECURITY.md.
- License: Plugin source code is licensed under the MIT License. Vendored
pdf.js(5.4.624) remains under its original Apache-2.0 license — see THIRD_PARTY_NOTICES.md and CHANGELOG.md.
Frequently asked questions
What is PDF Reader — Highlights, Formula Crop Q&A & Live Typora Sync MCP Server?
Local pdf.js reader & MCP server: 4-color highlights, formula crop Q&A, and live Typora sync.
How do I install PDF Reader — Highlights, Formula Crop Q&A & Live Typora Sync MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. PDF Reader — Highlights, Formula Crop Q&A & Live Typora Sync MCP Server runs locally from the MCP bundle https://github.com/Aludel/antigravity-pdf-reader/releases/download/v1.1.1/pdf-reader-v1.1.1.mcpb with the command npx -y https://github.com/Aludel/antigravity-pdf-reader/releases/download/v1.1.1/pdf-reader-v1.1.1.mcpb.
Is PDF Reader — Highlights, Formula Crop Q&A & Live Typora Sync MCP Server free and open source?
Yes. PDF Reader — Highlights, Formula Crop Q&A & Live Typora Sync MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does PDF Reader — Highlights, Formula Crop Q&A & Live Typora Sync MCP Server support remote (HTTP) connections?
No remote endpoint is listed for PDF Reader — Highlights, Formula Crop Q&A & Live Typora Sync MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does PDF Reader — Highlights, Formula Crop Q&A & Live Typora Sync MCP Server provide?
PDF Reader — Highlights, Formula Crop Q&A & Live Typora Sync MCP Server provides 12 tools, including pdf_add_note, pdf_current, pdf_edit_note, and pdf_export_notes. See the full tool list for descriptions and parameters.
How is PDF Reader — Highlights, Formula Crop Q&A & Live Typora Sync MCP Server's trust score calculated?
PDF Reader — Highlights, Formula Crop Q&A & Live Typora Sync MCP Server scores 67 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.