PDF Splitter is an MCP server that provides random access to PDF contents for selective text extraction, search, and page rendering. It connects AI assistants directly to local PDF files or remote URLs, loading documents into memory so agents can inspect targeted sections rather than parsing entire files at once. Software developers, researchers, and technical analysts use this server to reduce context window load and token consumption when analyzing large manuals, reports, and documentation. By exposing tools to fetch document outlines, search text via regex or plain keywords, extract individual pages, and render high-resolution images or thumbnails, it enables LLMs to process complex documents granularly. Users can also inspect embedded images, extract diagrams directly to disk or base64 format, and batch-render pages at custom DPI settings.
Category: Files, Documents & PDFs
Tags: document processing, extraction, file-manipulation, pdf
bash bunx espresso3389/pdf-splitter-mcp install claudecode Or for Gemini CLI, run: bash bunx espresso3389/pdf-splitter-mcp install geminicli 3. Alternatively, manually clone the repository and install dependencies: bash cd /path/to/pdf-splitter-mcp bun install 4. Add the server configuration to your MCP client config file: json { "mcpServers": { "pdf-splitter": { "command": "bun", "args": ["run", "/path/to/pdf-splitter-mcp/src/index.ts"] } } } 5. Restart your AI client to load the tools.Part of MCP Servers
PDF Splitter requires Bun. You can run automated setup commands using bunx espresso3389/pdf-splitter-mcp install claudecode or geminicli, or clone the repository locally, execute bun install, and point your client configuration to the server entrypoint.
The server loads local or remote PDFs into memory and provides tools to extract page text, search text using keywords or regex, extract table-of-contents outlines, retrieve embedded image metadata, extract raw images, and render pages as PNG or JPEG images at chosen DPI resolutions.
PDF Splitter works with any Model Context Protocol client that supports standard command-based servers, including Claude Code, Gemini CLI, and other configurable MCP environments running via Bun.
Instead of converting and streaming an entire document into an LLM context window at once, PDF Splitter permits random access so the AI only extracts the specific pages, ranges, or search snippets needed for a task.