superPDF is a locally running PDF reading and conversion tool that offers multiple usage methods including a command line (CLI), Python package, JavaScript/TypeScript library, an MCP server for AI assistants, and a local REST API. Its core capability is converting tables, charts, headings, and scanned pages in PDFs into Markdown, HTML, or JSON, and it supports Word, Excel, and PowerPoint formats, as well as operations such as form filling, merging, and comparison.
Main capabilities:
- Parses documents based on the PDF's internal text, fonts, and drawing instructions, reconstructing heading hierarchies, table rows and columns, and chart data.
- Charts can be restored to drawing data (bar charts, line charts, scatter charts, area charts, pie charts); charts in image form fall back to pixel reading.
- Scanned pages are recognized via Tesseract OCR, supporting 15 languages; OCR is performed only when needed for full-page scans, pages with garbled font encoding, or images containing text.
- Fixes issues such as letters missing Unicode mappings, incorrect spaces, hidden text, and Arabic ligatures.
- Table recognition supports three methods: ruled tables, pixel-line tables on scanned pages, and borderless tables.
- Output formats include Markdown, HTML, and JSON; JSON preserves the page number and position information of each block.
Usage methods:
- Command line: requires Node.js 22 or later; can be run via npx @superpdf/cli export report.pdf --output report.md, or installed globally with npm install -g @superpdf/cli; on macOS/Linux, Homebrew installation is also available.
- MCP server: provides tools for AI assistants such as Claude Code, Cursor, and Claude Desktop; the folder allowed for access must be specified via --allow-dir.
- Python: the package bundles Node.js and provides 30 tools and a LlamaIndex reader.
- JavaScript/TypeScript: each tool is an asynchronous function that receives JSON input and returns typed results, running within the Node.js process.
- REST API: after startup, listens on 127.0.0.1,requires Bearer Token authentication and provides OpenAPI 3.1 documentation.
Applicable scenarios: developers and data analysts who need to process PDFs locally and extract structured content, as well as users who want to read PDF content through AI assistants.
Limitations and notes:
- All processing is completed locally, and files are not uploaded; in MCP mode, the text read by the assistant is sent to its model.
- The MCP server and API can only access folders specified by --allow-dir; paths are resolved through symbolic links and cannot escape.
- Output is always written to a new file and never overwrites existing files.
- The export command supports https:// links (maximum 2GB, stops after 60 seconds without data, maximum 5 redirects) and rejects local network addresses and non-PDF files.
- According to the project's own description, on the ParseBench open-source test set (2,078 documents), the overall score is 65.0, and it has not yet entered the official leaderboard; compared with Azure, Google, and AWS services, chart scores are higher and format scores are higher, but table scores are lower than Azure and Textract; LlamaParse and Claude Opus 5.5 have higher overall scores.
- The project uses the Apache-2.0 license, and the "superPDF" name and logo are not covered by the license.
- Information such as fees and pricing is not yet available.