load_pdfLABSCO SUMMARY
The name undersells it — rendering is half the value.
Text extraction is the obvious part. Being able to rasterise a page at a chosen dpi is what lets a model look at a table, a diagram or a scanned form that has no extractable text at all. The outputPath option is the one to reach for on anything large: writing files to disk instead of returning base64 keeps a fifty-page render out of the conversation.
What it is
A PDF reader built to avoid sending whole documents into a model. Load a file once, then pull only the pages, images or matches you need; the parsed document stays in memory for fast repeat access.
What you get
load_pdfloads from a local path or a URL and returns an id and a page count;list_loaded_pdfsshows what is openextract_pageandextract_rangereturn text from a page or a span of pagessearch_pdfsearches the text, taking plain strings or regular expressions, case-sensitive or not, and returns page numbers with contextget_pdf_inforeturns metadata;extract_outlinereturns the table of contents with page referencesrender_pageandrender_pagesrasterise pages at a chosen dpi as PNG or JPEG, returned as base64 or written to files with a{page}pattern in the pathlist_images,extract_imagesandextract_imagepull the embedded images out, with the same choice of base64 or files
Requirements
Bun, on Linux, macOS or Windows. The README's install lines name the package @espresso3389/pdf-splitter-mcp at version 0.1.1, which npm does not have. To upgrade you have to clear the bunx cache first, since it caches the downloaded package under the temporary directory.
Setup effort
One command — bunx espresso3389/pdf-splitter-mcp install claudecode
USE CASES
Answering a question about a long report
Search for the term, then extract only the pages that matched instead of feeding in the whole document.
Reading a table the text layer mangles
Render that page at high dpi and let the model look at it as an image.
Navigating a document you have not seen
Pull the table of contents with page numbers and jump straight to the section you need.
Getting the figures out of a paper
List the embedded images with their pages and dimensions, then extract the ones you want to files.
12 tools
Listed in project docs. Your client may show a different list.
extract_pageextract_rangesearch_pdfget_pdf_infolist_loaded_pdfsextract_outlinelist_imagesextract_imagesextract_imagerender_pagerender_pagesBEFORE YOU INSTALL
What to know first
Tools you get
12 tools named in the project's documentation.
Requires
Bun
INSTALLATION
Connect your client
Server setup
Claude Code
bunx espresso3389/pdf-splitter-mcp install claudecodeMCP Clients
Claude Code — local build
git clone https://github.com/espresso3389/pdf-splitter-mcp.git
cd pdf-splitter-mcp
bun installRegister it with Claude Code, using the full path to src/index.ts in that folder:
claude mcp add pdf-splitter -- bun run <YOUR_PATH_TO_PDF_SPLITTER_MCP>/src/index.tsGemini CLI
git clone https://github.com/espresso3389/pdf-splitter-mcp.git
cd pdf-splitter-mcp
bun installAdd this to Gemini CLI's MCP settings, using the full path to src/index.ts in that folder:
{
"mcpServers": {
"pdf-splitter": {
"command": "bun",
"args": [
"run",
"<YOUR_PATH_TO_PDF_SPLITTER_MCP>/src/index.ts"
]
}
}
}