pdfeverything
Enables AI agents to perform 13 PDF operations (merge, split, compress, watermark, encrypt, and more) on local files via MCP.
README
<h1 align="center"> <img src="resources/app_icon_readme.png" width="64" align="center" /> ย PDFeverything </h1>
<p align="center"> <b>๐ช The PDF Swiss Army Knife</b><br> <sub>Throw in PDFs, Word docs, PowerPoints, Excel sheets, images, text files โ<br>get one clean PDF out the other end. No fuss.</sub> </p>
<p align="center"> <a href="https://github.com/Lezheng2333/PDFeverything/releases"><img src="https://img.shields.io/badge/platform-macOS%20%7C%20Windows-blue?style=flat-square" /></a> <a href="https://github.com/Lezheng2333/PDFeverything/releases/latest"><img src="https://img.shields.io/badge/version-v1.3.9-007aff?style=flat-square" /></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green?style=flat-square" /></a> </p>
โจ Why PDFeverything?
You've been there: a Word report here, a PDF scan there, some photos of the whiteboard, an Excel chartโฆ and now someone wants "one combined PDF please, by 5pm". ๐ค
PDFeverything is built for exactly this moment.
Drag everything in โ any combination of PDFs, Word documents, PowerPoint decks, Excel spreadsheets, PNGs, JPEGs, text files โ and it merges them into one unified PDF, in the order you decide, with progress you can watch.
| Platform | Download |
|---|---|
| ๐ macOS (Apple Silicon) | PDFeverything_macOS.zip |
| ๐ช Windows 10/11 (64-bit) | PDFeverything.exe |
๐ Latest Release โ
๐ What's New in v1.3.9
- ๐ English UI โ toggle between Chinese and English in Settings > Language
- ๐ช Windows Office COM โ native Word/PPT/Excel conversion on Windows (no fallback renderer needed!)
- ๐ค AI Agent CLI mode โ
PDFeverything.exe merge -i a.pdf b.pdf -o out.pdffrom any terminal
๐ฏ The Killer Feature: Mixed-File Merge
๐ report.docx (2 pages)
๐ chart.xlsx (1 page)
๐ผ๏ธ photo.jpg (1 page)
๐ appendix.pdf (5 pages)
๐ช one click ๐ช
โ
โโโโโโโโโโโโโโโโโโโโโโโ
โ unified.pdf โ
โ 9 pages, in order โ
โโโโโโโโโโโโโโโโโโโโโโโ
Every file goes through its own converter (AppleScript โ Office on macOS, or pure-Python fallback), then everything gets stitched together. If one file fails, the rest still go through โ you get a summary of what worked and what didn't.
๐ง Everything It Can Do
| Operation | What it does |
|---|---|
| ๐ Mixed Merge | PDF + Word + PPT + Excel + images + text โ one PDF |
| ๐ PDF Merge | Combine multiple PDFs in any order |
| โ๏ธ PDF Split | Split by page, by chunks of N pages, or by custom ranges |
| ๐ผ๏ธ Images โ PDF | Turn a batch of images into a single PDF |
| ๐ Word โ PDF | Convert .docx / .doc files to PDF |
| ๐ PPT / Excel โ PDF | Convert .pptx and .xlsx files |
| ๐ PDF โ Word | Convert PDF to editable .docx |
| ๐ PDF โ PowerPoint | Convert PDF pages to .pptx slides |
| ๐ PDF โ Excel | Extract PDF tables to .xlsx |
| ๐ PDF โ Images | Export each PDF page as a PNG |
| ๐ค Extract Text | Pull out all text from a PDF |
| ๐ผ๏ธ Extract Images | Rip embedded images from a PDF |
| ๐๏ธ Compress | Shrink PDF file size (lossless / medium / aggressive) |
| ๐ง Watermark | Stamp a text or PDF overlay on every page |
| ๐ Encrypt | Set an open-password on a PDF |
| ๐ Decrypt | Remove password protection |
| ๐ Rotate | Rotate pages 90ยฐ / 180ยฐ / 270ยฐ |
| โน๏ธ Info | Inspect page count, metadata, encryption status |
๐ฅ Supported Inputs
| Category | Extensions |
|---|---|
| ๐ PDF | .pdf |
| ๐ผ๏ธ Images | .png .jpg .jpeg .gif .bmp .tiff .webp |
| ๐ Word | .docx .doc .rtf |
| ๐ PowerPoint | .pptx .ppt |
| ๐ Excel | .xlsx .xls .csv |
| ๐ Text & Code | .txt .md .json .xml .html .py .yml โฆ |
๐ฅ๏ธ The GUI
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ doc.pdf [๐ผ] [๐ฝ] [โ] โ
โ ๐ data.xlsx [๐ผ] [๐ฝ] [โ] โ
โ ๐ผ๏ธ photo.jpg [๐ผ] [๐ฝ] [โ] โ
โ ๐ report.docx [๐ผ] [๐ฝ] [โ] โ
โ โ
โ โโ drag & drop files here โโ โ
โ โ
โ [๐ Merge All โ] [โ๏ธ Split...] โ
โ [๐๏ธ Compress...] [๐ง Watermark...] โ
โ [๐ Encrypt...] [๐ Rotate...] โ
โ โ
โ โโโโโโโโโโโโโโโโโโ 78% โ
โ Converting: report.docx (3/5)... โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
- ๐ฑ๏ธ Drag & drop files from Finder / Explorer
- ๐ Reorder with arrow buttons or by dragging inside the list
- โก Multi-threaded โ never freezes, always shows progress
- ๐ง Smart buttons โ the UI adapts to what's in your file list
- ๐ Bilingual UI โ switch between Chinese and English (Settings > Language)
๐ค AI Agent Integration (MCP Server)
PDFeverything comes with a built-in Model Context Protocol (MCP) server. Any AI agent (Claude Desktop, Claude Code, Cursor, etc.) can discover all 16 PDF tools and call them directly โ no Python, no install, just the app file.
How it works
The same .exe / .app binary supports three modes:
| Mode | macOS | Windows |
|---|---|---|
| ๐ฅ๏ธ GUI | double-click .app |
double-click .exe |
| โจ๏ธ CLI | /path/to/PDFeverything.app/Contents/MacOS/PDFeverything merge -i a.pdf -o out.pdf |
PDFeverything.exe merge -i a.pdf b.pdf -o out.pdf |
| ๐ MCP | /path/to/PDFeverything.app/Contents/MacOS/PDFeverything --mcp |
PDFeverything.exe --mcp |
Setup โ Claude Desktop
Add to ~/.claude/claude_desktop_config.json:
{
"mcpServers": {
"pdfeverything": {
"command": "/Applications/PDFeverything.app/Contents/MacOS/PDFeverything",
"args": ["--mcp"]
}
}
}
Windows:
{
"mcpServers": {
"pdfeverything": {
"command": "C:\\Program Files\\PDFeverything\\PDFeverything.exe",
"args": ["--mcp"]
}
}
}
Setup โ Claude Code
Add to .claude/settings.json in your project:
{
"mcpServers": {
"pdfeverything": {
"type": "stdio",
"command": "/Applications/PDFeverything.app/Contents/MacOS/PDFeverything",
"args": ["--mcp"]
}
}
}
What the AI sees (16 tools)
Once connected, the agent automatically discovers these tools โ no manual instruction needed:
| Tool | Description |
|---|---|
pdf_merge |
Merge multiple PDFs into one |
pdf_split |
Split PDF by pages or ranges |
pdf_info |
Get metadata (pages, size, author, etc.) |
pdf_extract_text |
Extract all text from PDF |
pdf_extract_images |
Extract embedded images |
pdf_to_images |
Convert PDF pages to PNG |
images_to_pdf |
Images โ single PDF |
pdf_to_word |
Convert PDF to Word (.docx) |
pdf_to_ppt |
Convert PDF to PowerPoint (.pptx) |
pdf_to_excel |
Extract PDF tables to Excel (.xlsx) |
pdf_compress |
Reduce PDF file size |
pdf_watermark |
Add text watermark |
pdf_encrypt |
Set open password |
pdf_decrypt |
Remove password |
pdf_rotate |
Rotate pages 90/180/270ยฐ |
pdf_mixed_merge |
๐ฅ Mixed files โ unified PDF |
Direct CLI mode (no MCP needed)
AI agents can also call the binary directly:
# macOS
/Applications/PDFeverything.app/Contents/MacOS/PDFeverything merge -i a.pdf b.pdf -o out.pdf
/Applications/PDFeverything.app/Contents/MacOS/PDFeverything info -i doc.pdf
/Applications/PDFeverything.app/Contents/MacOS/PDFeverything -h
# Windows
PDFeverything.exe merge -i a.pdf b.pdf -o out.pdf
PDFeverything.exe info -i doc.pdf
PDFeverything.exe -h
๐ก The
.appand.exeare the SAME single binary. Give it CLI args โ headless mode. Give it--mcpโ MCP server. No args โ GUI. One file, three personalities.
๐ Quick Start (for Developers)
# 1. Install dependencies
pip install PyQt6 PyMuPDF pypdf pikepdf pillow python-docx python-pptx openpyxl
# 2. Launch GUI
python main.py
# 3. Or use the CLI
python pdf_tool.py merge -i a.pdf b.pdf -o merged.pdf
python pdf_tool.py info -i document.pdf
# 4. Or start the MCP server
python mcp/server.py
Build from Source
Windows (one-file portable exe):
pyinstaller build_windows.spec --noconfirm --clean
# โ dist/PDFeverything.exe
macOS (app bundle):
pyinstaller PDFeverything.spec --noconfirm --clean
# โ dist/PDFeverything.app
๐งฑ Tech Stack
| Layer | Tech |
|---|---|
| ๐ผ๏ธ GUI | PyQt6 โ native look on both macOS & Windows |
| ๐ง PDF Engine | PyMuPDF + pypdf + pikepdf |
| ๐ Office Converters | AppleScript (macOS) / COM (Windows) / python-docx + python-pptx + openpyxl (fallback) |
| ๐ฆ Packaging | PyInstaller (onefile on Windows, app bundle on macOS) |
๐ License
MIT โ do whatever you want with it. LICENSE
<h2 align="center">๐จ๐ณ ไธญๆไป็ป</h2>
<p align="center"> <b>๐ช PDF ไธ่ฝๅทฅๅ ท็ฎฑ</b><br> <sub>ๆ PDFใWordใPPTใExcelใๅพ็ใๆๆฌๆไปถ็ป็ปไธข่ฟๆฅ โโ<br>ไธ้ฎๅๆไธไธชๆดๆด้ฝ้ฝ็ PDFใๅฐฑ่ฟไน็ฎๅใ</sub> </p>
๐ฏ ๆ ธๅฟๅ่ฝ๏ผๆททๅๆไปถๅๅนถ
๐ ๆฅๅ.docx (2 ้กต)
๐ ๅพ่กจ.xlsx (1 ้กต)
๐ผ๏ธ ็
ง็.jpg (1 ้กต)
๐ ้ๅฝ.pdf (5 ้กต)
๐ช ไธ้ฎๅๅนถ ๐ช
โ
โโโโโโโโโโโโโโโโโโโโโโโ
โ ็ปไธ่พๅบ.pdf โ
โ 9 ้กต๏ผ้กบๅบไธๅ โ
โโโโโโโโโโโโโโโโโโโโโโโ
ๆไธๅ็ฑปๅ็ๆไปถๆ่ฟๆฅ๏ผๆฏไธชๆไปถ็ป่ฟไธ็จ่ฝฌๆขๅจๅค็๏ผ็ถๅๆ้กบๅบๅๅนถใๆไธชๆไปถ่ฝฌๆขๅคฑ่ดฅไบไนไธๅฝฑๅๅ ถไป็โโๆๅไผ็ปไฝ ไธไปฝๆฑๆปๆฅๅใ
๐ง ๅ จ้จๅ่ฝ
| ๆไฝ | ่ฏดๆ |
|---|---|
| ๐ ๆททๅๅๅนถ | PDF + Word + PPT + Excel + ๅพ็ + ๆๆฌ โ ไธไธช PDF |
| ๐ PDF ๅๅนถ | ๅคไธช PDF ๆไปปๆ้กบๅบๅๅนถ |
| โ๏ธ PDF ๆๅ | ๆ้กต็ ใๆฏ N ้กตๆ่ชๅฎไน่ๅดๆๅ |
| ๐ผ๏ธ ๅพ็ โ PDF | ๅคๅผ ๅพ็ไธ้ฎๅๆไธบ PDF |
| ๐ Word โ PDF | ่ฝฌๆข .docx / .doc ๆไปถ |
| ๐ PPT / Excel โ PDF | ่ฝฌๆข .pptx / .xlsx ๆไปถ |
| ๐ PDF โ Word | ๅฐ PDF ่ฝฌๆขไธบๅฏ็ผ่พ็ .docx |
| ๐ PDF โ PowerPoint | PDF ๆฏ้กต่ฝฌไธบ .pptx ๅนป็ฏ็ |
| ๐ PDF โ Excel | ๆๅ PDF ่กจๆ ผไธบ .xlsx |
| ๐ PDF โ ๅพ็ | ๆฏ้กตๅฏผๅบไธบ PNG |
| ๐ค ๆๅๆๅญ | ๆๅ PDF ไธญๆๆๆๅญ |
| ๐ผ๏ธ ๆๅๅพ็ | ๆๅ PDF ไธญๅตๅ ฅ็ๅพ็ |
| ๐๏ธ ๅ็ผฉ | ็ผฉๅฐ PDF ๆไปถไฝ็งฏ |
| ๐ง ๆฐดๅฐ | ๆทปๅ ๆๅญๆ PDF ๅ ๅ ๆฐดๅฐ |
| ๐ ๅ ๅฏ / ่งฃๅฏ | ่ฎพ็ฝฎๆ็งป้ค PDF ๆๅผๅฏ็ |
| ๐ ๆ่ฝฌ | ๆ่ฝฌ้กต้ข 90ยฐ / 180ยฐ / 270ยฐ |
| โน๏ธ ไฟกๆฏ | ๆฅ็้กตๆฐใๅ ๆฐๆฎใๅ ๅฏ็ถๆ |
๐ v1.3.9 ๆฐๅ่ฝ
- ๐ ่ฑๆ็้ข โ ่ฎพ็ฝฎ โ ่ฏญ่จ ๅๆขไธญ่ฑๆ
- ๐ช Windows Office ้ๆ โ ่ฐ็จๆฌๆบ Word/PPT/Excel ้ซไฟ็่ฝฌๆข
- ๐ค AI ่ฐ็จ็ๅฝไปค่กๆจกๅผ โ
PDFeverything.exe merge -i a.pdf b.pdf -o out.pdf
๐ฅ๏ธ ็้ข้ข่ง
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ doc.pdf [๐ผ] [๐ฝ] [โ] โ
โ ๐ data.xlsx [๐ผ] [๐ฝ] [โ] โ
โ ๐ผ๏ธ photo.jpg [๐ผ] [๐ฝ] [โ] โ
โ ๐ report.docx [๐ผ] [๐ฝ] [โ] โ
โ โ
โ โโ ๆๆพๆไปถๅฐๆญคๅค โโ โ
โ โ
โ [๐ ๅๅนถไธบ็ปไธ PDF] [โ๏ธ ๆๅ...] โ
โ [๐๏ธ ๅ็ผฉ...] [๐ง ๆฐดๅฐ...] โ
โ [๐ ๅ ๅฏ...] [๐ ๆ่ฝฌ...] โ
โ โ
โ โโโโโโโโโโโโโโโโโโ 78% โ
โ ่ฝฌๆขไธญ: ๆฅๅ.docx (3/5)... โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
- ๐ฑ๏ธ ไป่ตๆบ็ฎก็ๅจ/Finder ๆๆพๆไปถ
- ๐ ็จๆ้ฎๆๆๅจ่ฐๆด้กบๅบ
- โก ๅค็บฟ็จๅค็ โ ็้ขๆฐธไธๅก้กฟ๏ผๅฎๆถ่ฟๅบฆๆก
- ๐ง ๆบ่ฝๆ้ฎ โ ๆ นๆฎๆไปถๅ่กจๅ ๅฎน่ชๅจๅๅ
๐ค AI Agent ้ๆ๏ผMCP ๆๅกๅจ๏ผ
PDFeverything ๅ ็ฝฎไบ Model Context Protocol (MCP) ๆๅกๅจใไปปไฝ AI Agent๏ผClaude DesktopใClaude CodeใCursor ็ญ๏ผ้ฝ่ฝ่ชๅจๅ็ฐๅ จ้จ 16 ไธช PDF ๅทฅๅ ทๅนถ็ดๆฅ่ฐ็จโโๆ ้ๅฎ่ฃ Pythonใๆ ้้ขๅคไพ่ต๏ผๅช่ฆๆ่ฟไธช app ๆไปถๅฐฑ่กใ
ๅไธไธชๆไปถ๏ผไธ็งๆจกๅผ
| ๆจกๅผ | macOS | Windows |
|---|---|---|
| ๐ฅ๏ธ GUI | ๅๅป .app |
ๅๅป .exe |
| โจ๏ธ ๅฝไปค่ก | /Applications/PDFeverything.app/Contents/MacOS/PDFeverything merge -i a.pdf -o out.pdf |
PDFeverything.exe merge -i a.pdf b.pdf -o out.pdf |
| ๐ MCP | /Applications/PDFeverything.app/Contents/MacOS/PDFeverything --mcp |
PDFeverything.exe --mcp |
้ ็ฝฎ Claude Desktop
ๅจ ~/.claude/claude_desktop_config.json ไธญๆทปๅ ๏ผ
{
"mcpServers": {
"pdfeverything": {
"command": "/Applications/PDFeverything.app/Contents/MacOS/PDFeverything",
"args": ["--mcp"]
}
}
}
Windows๏ผ
{
"mcpServers": {
"pdfeverything": {
"command": "C:\\Program Files\\PDFeverything\\PDFeverything.exe",
"args": ["--mcp"]
}
}
}
้ ็ฝฎ Claude Code
ๅจ้กน็ฎไธ็ .claude/settings.json ไธญๆทปๅ ๏ผ
{
"mcpServers": {
"pdfeverything": {
"type": "stdio",
"command": "/Applications/PDFeverything.app/Contents/MacOS/PDFeverything",
"args": ["--mcp"]
}
}
}
AI ่ฝ็ๅฐ็ 16 ไธชๅทฅๅ ท
่ฟๆฅๅ Agent ไผ่ชๅจๅ็ฐ่ฟไบๅทฅๅ ทโโๆ ้ๆๅจๆๅฎ๏ผ
| ๅทฅๅ ท | ่ฏดๆ |
|---|---|
pdf_merge |
ๅๅนถๅคไธช PDF |
pdf_split |
ๆ้กตๆ่ๅดๆๅ |
pdf_info |
ๆฅ็ๅ ๆฐๆฎ๏ผ้กตๆฐใๅคงๅฐใไฝ่ ็ญ๏ผ |
pdf_extract_text |
ๆๅๅ จ้จๆๅญ |
pdf_extract_images |
ๆๅๅตๅ ฅ็ๅพ็ |
pdf_to_images |
PDF ๆฏ้กต โ PNG |
images_to_pdf |
ๅคๅผ ๅพ็ โ ไธไธช PDF |
pdf_to_word |
PDF ่ฝฌ Word (.docx) |
pdf_to_ppt |
PDF ่ฝฌ PowerPoint (.pptx) |
pdf_to_excel |
ๆๅ PDF ่กจๆ ผไธบ Excel (.xlsx) |
pdf_compress |
ๅ็ผฉ PDF ไฝ็งฏ |
pdf_watermark |
ๆทปๅ ๆๅญๆฐดๅฐ |
pdf_encrypt |
่ฎพ็ฝฎๆๅผๅฏ็ |
pdf_decrypt |
็งป้คๅฏ็ |
pdf_rotate |
ๆ่ฝฌ้กต้ข 90/180/270ยฐ |
pdf_mixed_merge |
๐ฅ ๆททๅๆไปถ โ ็ปไธ PDF |
็ดๆฅ CLI ่ฐ็จ๏ผๆ ้ MCP๏ผ
AI Agent ไนๅฏไปฅ็ดๆฅ่ฐ็จไบ่ฟๅถ๏ผ
# macOS
/Applications/PDFeverything.app/Contents/MacOS/PDFeverything merge -i a.pdf b.pdf -o out.pdf
/Applications/PDFeverything.app/Contents/MacOS/PDFeverything info -i doc.pdf
/Applications/PDFeverything.app/Contents/MacOS/PDFeverything -h
# Windows
PDFeverything.exe merge -i a.pdf b.pdf -o out.pdf
PDFeverything.exe info -i doc.pdf
PDFeverything.exe -h
๐ก
.appๅ.exeๅฐฑๆฏๅไธไธชไบ่ฟๅถๆไปถใ ็ปๅๆฐ โ ๅฝไปค่กๆจกๅผใ็ป--mcpโ MCP ๆๅกๅจใไธ็ปๅๆฐ โ GUIใไธไธชๆไปถ๏ผไธ็ง็จๆณใ
๐ ๅผๅ่ ๅฟซ้ๅผๅง
pip install PyQt6 PyMuPDF pypdf pikepdf pillow python-docx python-pptx openpyxl
python main.py # ๅฏๅจ GUI
python pdf_tool.py info -i document.pdf # CLI ๆจกๅผ
๐ฆ ไปๆบ็ ๆๅปบ
Windows๏ผๅๆไปถไพฟๆบ็๏ผ:
pip install pywin32 # Windows Office COM ๆฏๆ
pyinstaller build_windows.spec --noconfirm --clean
# โ dist/PDFeverything.exe
macOS๏ผApp Bundle๏ผ:
pyinstaller PDFeverything.spec --noconfirm --clean
# โ dist/PDFeverything.app
๐งฑ ๆๆฏๆ
| ๅฑ | ๆๆฏ |
|---|---|
| ๐ผ๏ธ ็้ข | PyQt6 โ macOS / Windows ๅ็ไฝ้ช |
| ๐ง PDF ๅผๆ | PyMuPDF + pypdf + pikepdf |
| ๐ Office ่ฝฌๆข | AppleScript (macOS) / COM (Windows) / python-docx + python-pptx + openpyxl (ๅค้) |
| ๐ AI ้ๆ | MCP (Model Context Protocol) โ 16 ไธชๅทฅๅ ท่ชๅจๅ็ฐ |
| ๐ฆ ๆๅ | PyInstaller (Windows onefile / macOS app bundle) |
๐ ่ฎธๅฏ่ฏ
MIT โ ้ไพฟ็จใ LICENSE
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.