Atlas / MCP servers / i-can-hack / PDF

PDFSAFE

mcp/i-can-hack/pdf-2

PDF MCP server with image rendering capabilities. Useful for automatically searching datasheets, manuals, etc...

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
5 5r · 0w · 0d
Transport
—
License
MIT
Stars
79
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

An MCP server for reading, rendering, and searching PDF files. Built with PyMuPDF and PyMuPDF4LLM.

Designed for use with LLMs that need to read datasheets and other PDFs containing diagrams, tables, and technical content.

Tools

All requests are stateless and take the PDF filename as a parameter.

Setup

Add the following to your .mcp.json:

{
"mcpServers": {
"pdf-mcp": {
"command": "uvx",
"args": ["--from", "git+https://github.com/I-CAN-hack/pdf-mcp.git", "pdf-mcp"]
}
}
}

Or for codex run codex mcp add pdf-mcp -- uvx --from git+https://github.com/I-CAN-hack/pdf-mcp.git pdf-mcp.

This will automatically install and run the server using uvx.

Development

# Install dependencies
uv sync

# Generate test PDFs
uv run python assets/generate.py

# Run tests
uv run pytest tests/ -v

# Run the server locally
uv run pdf-mcp
Read from source at commit 9ce7a55fc0c8OBSERVED · 2026-10-08
02

Connect

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-code
claude mcp add pdf-mcp -- uvx pdf-mcp
claude-desktop
{
  "mcpServers": {
    "pdf-mcp": {
      "command": "uvx",
      "args": [
        "pdf-mcp"
      ]
    }
  }
}
03

Exposed tools (5)

5 read · 0 write · 0 destructive.

ToolRiskDescription
get_page_imagereadRender a single PDF page as a PNG image.
get_page_textreadExtract text content from one or more PDF pages.
get_pdf_inforeadGet metadata and basic info about a PDF file.
get_table_of_contentsreadGet the table of contents (bookmarks/outline) from a PDF.
search_textreadSearch for text in a PDF file (case-insensitive).
04

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.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (1)

MEDIUMObfuscation / stealth · obf.homoglyph · CWE-506, CWE-94
assets/generate.py:143
page1.insert_text((72, 110), "The resistance of R1 is 10kΩ at 25°C.", fontsize=11)

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 9ce7a55fc0c8full audit observations/trust-audit/mcp-server/i-can-hack__pdf-2.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-089ce7a55fc0c8SAFEB89first audit
06

Questions

What is the PDF MCP server?

PDF MCP server with image rendering capabilities. Useful for automatically searching datasheets, manuals, etc...

What tools does PDF expose?

5 in total: 5 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is PDF 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 need?

No credential environment variables were found in its source, so it appears to need none.

How current is this page?

The grade is for one exact copy of the source (9ce7a55fc0c8), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement