Pdf ToolsSAFE
MCP server for working with PDF files
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
MCP PDF Tools Server
An MCP (Model Context Protocol) server that provides PDF manipulation tools. This server allows LLMs to perform operations like merging PDFs and extracting pages through the Model Context Protocol.
Features
- Merge multiple PDF files into a single PDF
- Merge multiple PDF files into a single PDF in user specified order
- Extract specific pages from a PDF file
- Search PDFs filesystem search or Everything search works better than this
- Find (and merge) related PDFs based on text extraction and regex pattern matching from a target input PDF
Installation
- Clone this repository
cd mcp-pdf-tools # Create and activate virtual environment uv venv .venv\Scripts\activate # Install the package uv pip install -e .
Usage with Claude Desktop
Add this to your Claude Desktop configuration file (claudedesktopconfig.json):
{
"mcpServers": {
"pdf-tools": {
"command": "uv",
"args": [
"--directory",
"PATH_TO\\mcp-pdf-tools",
"run",
"pdf-tools"
]
}
}
}4711d340b142OBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add mcp-pdf-tools -- uvx mcp-pdf-tools
{
"mcpServers": {
"mcp-pdf-tools": {
"command": "uvx",
"args": [
"mcp-pdf-tools"
]
}
}
}Exposed tools (5)
3 read · 2 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
extract-pages | read | Extract specific pages from a PDF file |
find-related-pdfs | read | Find a PDF and then search for related PDFs based on its content, including common substring patterns |
merge-pdfs | write | Merge multiple PDF files into a single PDF |
merge-pdfs-ordered | write | Merge PDFs in a specific order based on patterns or exact names |
search-pdfs | read | Search for PDF files in a directory with optional pattern matching |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
4711d340b142full audit observations/trust-audit/mcp-server/hanweg__pdf-tools.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | 4711d340b142 | SAFE | B | 89 | first audit |
Questions
What is the Pdf Tools MCP server?
MCP server for working with PDF files
What tools does Pdf Tools expose?
5 in total: 3 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Pdf Tools safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Pdf Tools need?
No credential environment variables were found in its source, so it appears to need none.
How does Pdf Tools run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as mcp-pdf-tools.
How current is this page?
The grade is for one exact copy of the source (4711d340b142), read on 2026-10-07. The repository is watched and re-audited when it changes.