LaserPDF
LaserPDF’s local MCP server lets AI assistants inspect, edit, and convert PDFs on your PC without uploading files.
Read PDF metadata and page info, including encryption status and pages lacking text.
Extract text and search for words/phrases, with optional case matching.
Run offline OCR (English/Turkish) to make scanned PDFs searchable.
Permanently redact visible text and remove hidden metadata/photo location data.
Merge PDFs/images, extract/reorder pages, split documents, and rotate pages.
Add page numbers/headers/footers and watermarks.
Export tables to Excel workbooks.
Compress image-heavy PDFs and convert pages to PNG/JPEG images.
Write outputs only to specified paths, with overwrite protection by default.
LaserPDF
English · Türkçe
A lightweight, fast PDF viewer and editor for Windows. It edits the text that is already in a PDF, signs, redacts, recognizes scanned pages and organizes pages, and everything runs on your PC: no account, no uploads, no tracking.

Small: built with Tauri, so it uses the web engine that ships with Windows (WebView2) instead of bundling a browser like Electron apps do. The Store package is about 38 MB, most of it fonts for Chinese, Japanese and Korean and the text recognition models.
Rendering: pdf.js (Firefox's PDF engine). Editing and saving: pdf-lib.
13 languages: English, Turkish, German, Spanish, French, Italian, Polish, Portuguese (Brazil), Russian, Indonesian, Japanese, Korean and Chinese (Simplified). The system language is picked on first start. Light and dark themes.
Works with AI assistants: a built-in MCP server lets Claude Desktop and other MCP clients work with your PDFs on your PC.
Edit existing text | Sign and annotate |
|
|
Text recognition (OCR) | Organize pages (dark theme) |
|
|
Features
Viewing
Fast on-demand rendering: documents with hundreds of pages open instantly
Zoom (Ctrl + wheel, automatic, fit width or page), page navigation, thumbnails and bookmarks panel
One page, two pages side by side, or two pages with the cover alone
Back and forward (Alt+← / Alt+→ or the mouse side buttons) after following a link, a bookmark or a page number
Files reopen at the page and zoom where you left them
Search (Turkish İ/ı aware), select and copy text
Links (internal links jump to the page, external links open in the browser)
Tabs for several documents, recent files, presentation mode (F5)
Reading mode (Ctrl+H): only the pages and a small bar, a comfortable page width, normal, sepia or night page tone, full screen
Opening another PDF while LaserPDF is running opens it in a new tab
Tools grouped in tabs (Home, Comment, Edit, Pages, Tools, View), command search (Ctrl+K) to find any action by name, and a Settings window (default zoom and page layout, language, theme, default PDF app)
Editing
Edit existing text: click a line and type. The old text is removed from the page and the new text is written in its place without damaging colored or patterned backgrounds. Size, color and bold/italic are kept; the font is replaced with the closest match (letter widths are identical for Arial/Helvetica, Times, Courier and Calibri).
Add text with font, size, bold/italic, alignment, color, background and border
Images: PNG, JPG, WebP, GIF, BMP, or paste from the clipboard (Ctrl+V)
Signatures: draw, type your name or use an image; signatures are saved for next time
Stamps: APPROVED, DRAFT, CONFIDENTIAL, date or date and time, your own text, or a stamp with your name and the date and time
Markup: highlight, underline and strike out text; pen and highlighter
Shapes: rectangle, ellipse, line, arrow (color, fill, width, opacity)
Redact: draw a black or white box; the text and links under it are deleted from the file when you save. Find and redact covers every result of a search at once. If something under it cannot be removed (an image, a scanned page, a form field), LaserPDF offers to turn that page into an image
Links: draw an area that opens a web address or goes to a page of the document
Sticky notes saved as real PDF note annotations
Form filling: text fields, checkboxes and drop-down lists
Every object can be moved, resized, rotated, duplicated, copied and pasted
Annotations panel listing every comment page by page
Undo / redo (150 steps); undoing every change leaves nothing to save
Recovery: unsaved work is kept every 30 seconds and offered back if LaserPDF closes unexpectedly
Pages
Reorder pages by drag and drop, in the sidebar or the full-screen Organize pages view
Rotate, delete, duplicate, insert blank pages
Insert pages from other PDFs or images; drop files onto the sidebar
Extract selected pages to a new PDF, split a document into files of N pages
Crop pages to a selected area (this page, all pages or the selected ones); the content outside is hidden, not deleted
Bookmarks: add, rename, reorder, nest and delete
Flatten a page (turn it into an image for permanent redaction)
Tools
Merge PDFs, create a PDF from images, new blank document
Page numbers, header/footer (e.g.
CONFIDENTIAL · Page {n} / {total}) and watermarksBooklet: two pages per sheet side in folding order, for double-sided printing (undo brings the pages back)
Document properties (title, author, subject, keywords)
Remove hidden information on save: creator program, dates, XMP data, comment authors and the location/camera data of photos. Location data of inserted photos is always removed
Text recognition (OCR): recognizes scanned pages and adds an invisible text layer, so the text can be searched, selected and copied. English and Turkish, fully offline (Tesseract). Suggested when a scanned document is opened; scans below 150 dpi get an explanation instead of a long, failing run
Table to Excel: draw a box around a table and save it as .xlsx. Ruled tables use the lines on the page, other tables the position of the text; amounts become numbers, codes and dates stay text. Scanned tables can be exported after text recognition
Export a page as PNG/JPEG, copy an area of a page to the clipboard as an image, reduce file size (by rasterizing scanned documents), print
Open password-protected PDFs
Related MCP server: MCP_Documents
Install
Microsoft Store (recommended): LaserPDF. Updates are automatic.
Installer:
LaserPDF_<version>_x64-setup.exeor.msion the Releases page. Release builds also include macOS (.dmg, unsigned: right-click → Open the first time) and Linux (.deb,.AppImage) packages, which get less testing than the Windows version.
Build from source
Requirements: Node.js 20+, Rust and the Tauri prerequisites.
npm install
npm run tauri dev # desktop app in development mode
npm run tauri build # installers in src-tauri/target/release/bundleTests (run the app in Chromium and check the saved PDFs):
npm testBrowser-only development server:
npm run dev # http://localhost:1420Every push to main builds the Windows installers and the Store package (Actions → Build desktop apps → Artifacts); changes to documentation only (*.md, docs/) are not built. Pushing a v* tag, or running the workflow with a version, builds all platforms and publishes a release. Update the version first in package.json, package-lock.json, src-tauri/tauri.conf.json, src-tauri/Cargo.toml, src-tauri/Cargo.lock, src/app.ts and the Dockerfile.
Use with AI assistants (MCP)
Started with --mcp, LaserPDF runs as a Model Context Protocol server without opening a window. AI assistants that support MCP, such as Claude Desktop, can then work with PDFs on your PC. LaserPDF does the processing locally; nothing else (Node.js, Python) needs to be installed.
Tool | What it does |
| Page count, size, title, author and other properties |
| Text of all or selected pages |
| Find words or phrases, with page numbers |
| Recognize scanned pages (English and Turkish) and save a searchable PDF |
| Black out or white out words and remove them from the file |
| Remove author, programs, dates, XMP and photo location data |
| Join PDFs and images into one PDF |
| Save selected pages as a new PDF |
| Split a PDF into files of N pages |
| Rotate all or selected pages |
| Page numbers or a header/footer such as |
| A large, semi-transparent text such as CONFIDENTIAL across the pages |
| Make scans and image-heavy PDFs smaller (pages become images) |
| Save pages as PNG or JPEG images |
| Save a table from a page as .xlsx |
Tools that write files only write to the output path they are given and never overwrite an existing file unless overwrite: true is set.
An idle server costs almost nothing: the PDF engine (a hidden window) starts with the first tool call and closes again after 5 minutes without one, so an assistant that starts LaserPDF for every conversation does not keep it running.
claude_desktop_config.json:
{
"mcpServers": {
"laserpdf": {
"command": "laserpdf",
"args": ["--mcp"]
}
}
}"command": "laserpdf" works with the Microsoft Store version. If you used the installer, give the full path instead, e.g. "C:\\Users\\<you>\\AppData\\Local\\LaserPDF\\laserpdf.exe" (backslashes are doubled in JSON).
The Dockerfile runs the Linux build as an MCP server in a container (with a virtual display), for MCP directories and clients that start servers that way.
Privacy
LaserPDF works offline. It has no account, no ads, no analytics and makes no network requests; your files stay on your PC. When you connect it to an AI assistant over MCP, the assistant receives the results of the tools it calls, and what it does with them is governed by that assistant's own privacy terms.
Keyboard shortcuts
Shortcut | Action |
Ctrl+O / Ctrl+S / Ctrl+Shift+S | Open / Save / Save as |
Ctrl+P | |
Ctrl+F | Search |
Ctrl+K | Command search |
Alt+← / Alt+→ | Back / Forward |
Ctrl+Z / Ctrl+Y | Undo / Redo |
Ctrl + / Ctrl − / Ctrl+0 | Zoom in / Zoom out / 100% |
Ctrl+Tab, Ctrl+W | Switch tabs, close tab |
Ctrl+H / Esc | Start / leave reading mode |
F5 / Esc | Start / leave presentation mode |
Space (hold) | Temporary hand tool |
V H E T | Select, Hand, Edit text, Add text |
M U K | Highlight, Underline, Strike out |
P I | Pen, Highlighter |
R O L A | Rectangle, Ellipse, Line, Arrow |
W N | Redact, Note |
Delete, Ctrl+D, Ctrl+C / Ctrl+V | Delete, duplicate, copy/paste the object |
Arrow keys (×10 with Shift) | Nudge the selected object |
Project structure
src/
app.ts UI: toolbar, tabs, menus, shortcuts
viewer.ts Page layout, on-demand rendering, zoom, form and link layers
interact.ts Selecting, moving, resizing and rotating objects; drawing tools
objects.ts On-screen rendering of annotation objects
export.ts Saving with pdf-lib (writes objects into the PDF content)
erase.ts Removes edited and redacted text from page content streams
meta.ts Hidden information removal, JPEG metadata stripping
stream-iterator.ts Stream iteration for WebKit webviews (Linux, macOS)
ocr.ts Text recognition (Tesseract) and the invisible text layer
table.ts Table detection and .xlsx writing
mcp.ts MCP tools (runs in a hidden window in --mcp mode)
doc.ts Document model, undo / redo history
sidebar.ts Thumbnails, page organizer, bookmarks
search.ts Search
dialogs.ts Signature, page numbers, watermark, properties and other dialogs
platform.ts Desktop (Tauri) and browser file access
recovery.ts Autosave of unsaved work and recovery after a crash
src-tauri/ Rust side: window, file access, file associations, MCP stdio bridgeNotes and limitations
"Edit text" removes the old text from the page. Where it cannot (for example text inside a form XObject), the old text is covered and stays in the file. Redaction always deletes the text under it; images cannot be cut, so pages with an image under a redaction box are offered to be flattened when saving. You can also right-click any page and choose Flatten (secure redaction).
Encrypted PDFs can be opened; their pages are saved as images.
Edited right-to-left text (Arabic, Hebrew) is not shaped yet.
Added text uses the embedded Arimo, Tinos, Cousine, Carlito and Caladea fonts (same letter widths as Arial, Times New Roman, Courier New and Calibri; Caladea is close to Cambria). DejaVu covers other characters and Noto Sans covers Chinese, Japanese and Korean, so text looks right in every PDF reader.
Support
If LaserPDF saves you some time, you can buy me a coffee ☕. Bug reports and pull requests help just as much.
License
LaserPDF is licensed under the GNU GPL v3.0 or (at your option) any later version.
Open source components: pdf.js (Apache-2.0), pdf-lib and @pdf-lib/fontkit (MIT), Tauri (MIT/Apache-2.0), Lucide icons (ISC), Arimo, Tinos and Cousine fonts (SIL Open Font License 1.1, public/fonts/LICENSE-Arimo-Tinos-Cousine.txt), Carlito and Caladea fonts (SIL Open Font License 1.1, public/fonts/LICENSE-Carlito-Caladea.txt), DejaVu fonts (Bitstream Vera license, public/fonts/LICENSE-DejaVu.txt), Noto Sans JP/SC/KR fonts (SIL Open Font License 1.1, public/fonts/LICENSE-Noto.txt), HarfBuzz (MIT), fflate (MIT), Tesseract, tesseract.js and the Tesseract language models (Apache-2.0, public/tesseract/LICENSE-Tesseract.txt).
Available Tools
15 toolsadd_page_numbersAdd page numbersAIdempotent
Writes page numbers, or a header/footer such as "Confidential - Page {n} of {total}", onto every page or the chosen pages of a PDF and saves the result as a new PDF. The text is placed at the chosen corner or edge, and stays real, searchable text. For a large diagonal stamp across the page, use add_watermark. The original is not changed, and an existing output file is only replaced with overwrite: true. Encrypted PDFs cannot be saved.
Inputs: path (required), output (required), color, pages, +7 more.
add_watermarkAdd a watermarkAIdempotent
Writes a large, semi-transparent, rotated text (e.g. CONFIDENTIAL, DRAFT) across the middle of every page or the chosen pages of a PDF and saves the result as a new PDF; the page content stays readable underneath. For small text in a corner or a footer, use add_page_numbers. The original is not changed, and an existing output file is only replaced with overwrite: true. Encrypted PDFs cannot be saved.
Inputs: path (required), text (required), output (required), angle, +6 more.
compress_pdfCompress a PDFAIdempotent
Makes a PDF smaller by redrawing every page as a JPEG image at the chosen quality, and returns the size before and after. Best for scans and photo-heavy files; for documents that are mostly text it usually makes the file larger, which the result then says. The text is no longer selectable afterwards: run recognize_text on the result to make it searchable again. To get separate image files instead, use pdf_to_images. The original is not changed, and an existing output file is only replaced with overwrite: true. Encrypted PDFs cannot be compressed.
Inputs: path (required), output (required), quality, password, +1 more.
export_tableExport a table to ExcelAIdempotent
Reads the table on one page of a PDF and writes it as an .xlsx workbook, and returns the rows found as a preview. Without an area, a table drawn with lines is found by itself; otherwise the whole page is read. Rows and columns follow the table's lines when it has them; amounts (1.234,56 or 1,234.56) become numbers, codes and dates stay text. Use it for tables you want to calculate with; for plain text use extract_text. Scanned pages need recognize_text first; a page without text is an error. The original is not changed, and an existing output file is only replaced with overwrite: true.
Inputs: page (required), path (required), output (required), area, +2 more.
extract_pagesExtract pagesAIdempotent
Writes the chosen pages of a PDF to a new PDF, in the order given ("3,1" puts page 3 first). Use it to pull out or reorder pages; to cut a whole document into equal parts, use split_pdf. The original is not changed, and an existing output file is only replaced with overwrite: true. Fails with a message for an invalid or out-of-range page and for encrypted PDFs.
Inputs: path (required), pages (required), output (required), password, +1 more.
extract_textExtract textARead-only
Extracts the text layer of a PDF and returns it as plain text, one "--- Page N ---" section per page, in reading order. Use it to read, summarize or quote a document; to find where a word occurs, search_pdf is faster, and for tables export_table keeps rows and columns. Scanned pages have no text layer and come back marked as empty: run recognize_text on the file first, then extract from its output. Encrypted PDFs need their password. Very long documents stop after about 400,000 characters with a note; ask for fewer pages. Read-only; the file is not changed.
Inputs: path (required), pages, password.
get_pdf_infoPDF informationARead-only
Reads a PDF's overview and returns it as text: page count, page sizes in mm, title, author, subject, keywords, creating program, dates, whether it is encrypted, and which pages have no text layer (scans that need recognize_text). Call it first on an unknown file to decide what to do next; for the text itself use extract_text, to find a word use search_pdf. Read-only. An encrypted PDF needs its password; a missing or damaged file is reported as an error.
Inputs: path (required), password.
merge_pdfsMerge PDFsAIdempotent
Joins several PDFs and images (JPEG, PNG, WebP, GIF, BMP, AVIF) into one new PDF, in the order given: all pages of each PDF, and each image centred on an A4 page of its own. Use it to combine documents or turn photos and scans into a PDF; to take pages out, use extract_pages or split_pdf, and to turn pages into images, use pdf_to_images. The inputs are not changed, and an existing output file is only replaced with overwrite: true. Fails with a message when a path cannot be read, when no file is a PDF or image, and for encrypted PDFs; other files in the list are skipped.
Inputs: paths (required), output (required), overwrite.
pdf_to_imagesSave pages as imagesAIdempotent
Saves every page, or the chosen pages, of a PDF as PNG or JPEG images named -01.png, -02.png, ... (by page number) in an existing folder, and lists the files with their pixel sizes. Use it to share a page as a picture, insert it into a slide or chat, or look at a page's layout; to read the text, use extract_text, and to make a smaller PDF, use compress_pdf. The PDF is not changed; existing images are only replaced with overwrite: true. Encrypted PDFs cannot be converted.
Inputs: path (required), output_dir (required), dpi, pages, +4 more.
recognize_textRecognize text (OCR)AIdempotent
Recognizes the text of scanned pages or images (Turkish and English, offline, no upload) and writes a copy of the PDF with an invisible text layer, so the text can be searched, selected and copied. Use it when get_pdf_info lists pages without text or extract_text returns them empty; then run extract_text, search_pdf or export_table on the output. Pages that already have text are left as they are. Scans below 150 dpi are skipped unless force is true, as their text is mostly misread. Takes a few seconds per page. The original is not changed, and an existing output file is only replaced with overwrite: true.
Inputs: path (required), output (required), force, pages, +2 more.
redact_pdfRedact textAIdempotent
Permanently blacks out (or whites out) every occurrence of the given words or phrases in a new copy of a PDF: each is covered with a box and the text underneath is removed from the file, so it cannot be selected, searched or copied. Use it for names, numbers or other content visible on the pages; for hidden information such as the author, use remove_metadata (often both before sharing), and use search_pdf first to check what will be hit. Something under a box that cannot be cut (an image or scan) is converted to an image when flatten_unsafe is true, otherwise left hidden and reported. Returns the number of occurrences redacted; nothing is written when none is found. The original is not changed, and an existing output file is only replaced with overwrite: true. Encrypted PDFs cannot be saved.
Inputs: path (required), terms (required), output (required), color, +4 more.
remove_metadataRemove hidden informationAIdempotent
Writes a copy of a PDF with its hidden information removed: author, title, subject, keywords, creating program, dates, XMP metadata, comment authors, leftovers of earlier edits and photo location/camera data. Use it before sharing a file; the visible pages stay exactly the same. To remove visible text, use redact_pdf; to only read the information, use get_pdf_info. The original is never changed, and an existing output file is only replaced with overwrite: true. Encrypted PDFs cannot be saved this way.
Inputs: path (required), output (required), password, overwrite.
rotate_pagesRotate pagesAIdempotent
Rotates every page, or the chosen pages, clockwise by 90, 180 or 270 degrees and writes the whole document to a new PDF. Use it for sideways or upside-down scans; page content is not altered, only its display rotation, which is added to any rotation the page already has. The original is not changed, and an existing output file is only replaced with overwrite: true. Fails with a message for an invalid page range and for encrypted PDFs.
Inputs: path (required), output (required), degrees (required), pages, +2 more.
search_pdfSearch textARead-only
Finds every occurrence of a word or phrase in a PDF and returns the count and, for each match, the page number and the line it is on (up to 500). Matching is literal text (no wildcards or regular expressions), case-insensitive by default and Turkish İ/ı aware; a phrase is found within one line of text. Use it to locate something without reading the whole document; to read pages use extract_text, and to black out what was found use redact_pdf with the same words. Scanned pages have no text and give no matches until recognize_text is run. Read-only.
Inputs: path (required), query (required), password, match_case.
split_pdfSplit a PDFAIdempotent
Splits a PDF into new files of a given number of pages each (the last may be shorter), named -01.pdf, -02.pdf, ... in an existing folder, and lists them. Use it to cut a long document into equal parts; for chosen pages or a different order, use extract_pages. The original is not changed; if any of the files exists, nothing is written unless overwrite is true. Encrypted PDFs cannot be split.
Inputs: path (required), output_dir (required), pages_per_file (required), password, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Each tool targets a distinct action on a PDF (read, search, redact, convert, merge, split, annotate), and descriptions explicitly disambiguate near-neighbors like extract_pages vs split_pdf and add_page_numbers vs add_watermark. Cross-references ('for X use Y') make the boundaries clear, so an agent can reliably select the right tool.
Every tool follows a consistent snake_case verb_noun pattern (redact_pdf, extract_text, merge_pdfs, rotate_pages, add_watermark, compress_pdf). Deviations like pdf_to_images or get_pdf_info are minor and still fit the same predictable convention.
15 tools is well-scoped for a full PDF toolkit, with each tool earning its place across read, edit, annotate, and convert operations. Nothing feels redundant or padded.
Coverage is broad: metadata, text extraction/OCR, search, redaction, page ops, annotations, compression, and image conversion. Minor gaps remain (no password/encryption protection, form filling, or cropping), but core workflows are fully supported.
Maintenance
Related MCP Connectors
Merge, split, extract, rotate, reorder and stamp PDF pages from your AI chat, all offline.
Merge, split, extract, rotate, reorder and stamp PDF pages from your AI chat, all offline.
Convert PDFs/images to Word, Excel, and Markdown. Split, merge, and watermark PDF files.
Split, merge and compress PDF files locally - private by design, no uploads.
Related MCP Servers
- AlicenseAqualityBmaintenanceA local-first PDF tool for merging, splitting, rotating, watermarking, Bates-numbering, cleaning metadata, and counting pages — all operations happen on your machine with no network transmission.1513 npm1MIT
- FlicenseBqualityBmaintenanceEnables local, offline document extraction and manipulation—PDF first but also HTML, DOCX, XLSX, PPTX, EML, EPUB, Markdown, and plain text—through tools for probing, locating, extracting, converting, assembling, OCR, protecting, and redacting documents, with nothing leaving the machine.7-
- AlicenseAqualityBmaintenanceLocal MCP server for PDFs: read PDFs into Markdown with tables, charts and OCR, export to Word, PowerPoint, EPUB and Excel, and merge, split, fill, compare and edit PDFs. Works only inside the folders you allow; nothing is uploaded.3089 npmApache 2.0
- AlicenseBqualityBmaintenanceLets AI assistants read, search, edit, annotate, sign, redact and OCR PDF files entirely on the local machine, with no uploads and non-destructive writes to new files. It also merges, splits and reorganises pages, fills forms, compares versions to detect tampering, and converts documents between PDF, Word, Excel, images and text, including turning bank statements into spreadsheet rows.22AGPL 3.0



