PDF Tools MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| tempfile_dir | No | The directory for temporary files used for URL support. PDFs from URLs are downloaded here. Default is ~/.pdf_tools_temp | ~/.pdf_tools_temp |
| workspace_path | Yes | The directory the tool can access. For security reasons, this tool can only access files within the specified workspace directory and cannot access files outside the workspace directory. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| read_pdf_pagesA | Read content from PDF file for specified page range. |
| get_pdf_infoA | Get basic information about a PDF file including page count. |
| merge_pdfsA | Merge multiple PDF files into one. |
| extract_pdf_pagesA | Extract specific pages from a PDF and create a new PDF. |
| search_pdf_contentA | Search for regex pattern in PDF content and return paginated results. |
| search_pdf_next_pageB | Get next page of search results. |
| search_pdf_prev_pageB | Get previous page of search results. |
| search_pdf_go_pageA | Go to specific page of search results. |
| search_pdf_infoC | Get information about a search session. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Most tools have distinct purposes, but the search-related tools (search_pdf_content, search_pdf_go_page, search_pdf_info, search_pdf_next_page, search_pdf_prev_page) could be confusing as they form a tightly coupled set for pagination. The core PDF operations (extract, merge, read, get info) are clearly differentiated.
All tools follow a consistent snake_case verb_noun pattern (e.g., extract_pdf_pages, merge_pdfs, search_pdf_content). The naming is predictable and readable throughout the set, with clear action-object relationships.
9 tools is reasonable for a PDF-focused server, but the 5 search-related tools might feel slightly heavy compared to the 4 core PDF manipulation tools. The count is well-scoped overall, though some search tools could potentially be consolidated.
The server covers essential PDF operations (extract, merge, read, get info) and adds advanced search with pagination. Minor gaps include no PDF creation from scratch or editing capabilities, but the core workflows for analysis and manipulation are well-covered.