nano-pdf-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@nano-pdf-mcp read the first 5 pages of report.pdf"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Nano PDF MCP
A memory-efficient Model Context Protocol (MCP) server for reading and splitting large PDF files.
Built with fastmcp and pymupdf (PyMuPDF).
English | 한국어
Tools
Tool | Description |
| Retrieves file metadata and total page count — Use this before calling read_pdf |
| Extracts text by streaming the specified page range |
| Creates a new PDF with only the specified pages |
| Saves AI-summarized content to a |
Recommended Workflow
1. get_pdf_info(filepath) → Check total page count
2. read_pdf(filepath, start_page, end_page) → Read text
3. save_markdown_summary(output_filepath, markdown_content) → Save summaryRelated MCP server: pdf-mcp
Installation
No need to clone or install locally!
If uv is installed, it runs instantly with a single command below.
Installing uv (If not installed)
macOS / Linux:
curl -LsSf https://astral.sh/uv/install.sh | shWindows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Claude Desktop
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"nano-pdf-mcp": {
"command": "uvx",
"args": ["nano-pdf-mcp"]
}
}
}Antigravity
Add the following to your .gemini/settings.json:
{
"mcpServers": {
"nano-pdf-mcp": {
"command": "uvx",
"args": ["nano-pdf-mcp"]
}
}
}Architecture
Memory Efficiency: Streams and processes large PDFs page by page (no full loading into memory)
Fast Splitting: Copies only C-level pointers via
insert_pdf— no re-encodingSafe Logging: All logs are output to
stderr(prevents stdio communication pollution)Clear Errors: Instantly returns error messages for invalid ranges/paths
Available Tools
3 toolsread_pdfA
Reads text from a specific range of pages in a PDF file in a memory-efficient way. It streams pages one by one without loading the entire document into memory.
Inputs: end_page (required), filepath (required), start_page (required). Returns: result
save_markdown_summaryA
Saves organized, AI-summarized, or extracted markdown content to a file. Use this tool after reading a PDF to document findings without retaining the original PDF's garbage layout.
Inputs: output_filepath (required), markdown_content (required). Returns: result
split_pdfA
Creates a new PDF containing only the specified page ranges from the source PDF. This operation is extremely memory efficient as it copies C-level pointers rather than re-encoding the content.
Inputs: filepath (required), page_ranges (required), output_filename (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: read_pdf extracts text, save_markdown_summary saves a summary, and split_pdf creates a new PDF from page ranges. No overlap in functionality.
All tools follow a consistent verb_noun pattern in snake_case (read_pdf, save_markdown_summary, split_pdf), making them predictable and easy to understand.
With 3 tools, the server is somewhat minimal but still appropriate for its focused purpose of PDF text extraction and splitting. It could benefit from additional tools like merge or annotation, but the count is reasonable.
The tool set covers basic PDF operations (reading, splitting, saving output) but lacks common features like merging, converting formats, or extracting images, leaving notable gaps for a general PDF tool.
Related MCP Connectors
MCP server for the PDFGate API. Generate PDFs, manage documents and handle e-signatures.
PDF tools + QR over MCP: merge, split, rotate, text, metadata, malicious-content scan.
Hosted MCP server: convert PDFs to clean, LLM-ready Markdown with tables, formulas and OCR.
Document-to-Markdown MCP server — convert PDF, Office and HTML into LLM-ready Markdown.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables comprehensive PDF analysis and manipulation including page size analysis, chapter extraction, splitting, compression, merging, and conversion to images. Provides both MCP server interface for AI assistants and Streamlit web interface for direct user interaction.-
- AlicenseAqualityCmaintenanceAn MCP server for reading, rendering, and searching PDF files, specifically optimized for LLMs to extract text, tables, and technical diagrams. It enables metadata retrieval, multi-format text extraction, and page-to-image rendering using PyMuPDF.583MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for extracting text from PDF files, supporting local files and URLs.-
- AlicenseNot gradedqualityDmaintenanceMCP server to read protected (or unprotected) PDF files, extracting text to a temp file, and handling large PDFs.256 PyPI12MIT