PDF Slim — PDF Compression for AI
by zhaoyaqi18 · remote · no sign-in to list tools · v0.1.0 · published by GitHub user zhaoyaqi18
Compress PDFs to exact target sizes (82-93% smaller). Tools: compress_pdf, optimize_pdf, inspect_pdf
3 tools: 2 change things and 1 only read.
Scanned Oct 21, 2026
- Deletes or cancels0Claude Code: deny
- Can't be undone0Claude Code: ask
- Changes things2Claude Code: ask: see these tools
- Only reads1Claude Code: allow: see these tools
No check matched anything in the tool definitions. No finding is not a safety guarantee. How the checks work.
claude mcp add --transport http pdfslim https://api.pdfslim.app/mcpTools
Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.
3 tools
Changes things 2Claude Code: ask
compress_pdfCompress a PDF file to reduce its size.No findings
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
Description, as the server wrote it Compress a PDF file to reduce its size. Renders pages and re-encodes as JPEG, iterating quality/resolution to hit a target size. Use this when a user wants to shrink a PDF (e.g. to 500KB, 1MB, or "smaller"). Free anonymous tier: 20 calls/day per IP, files up to 10MB. For larger files (up to 100MB) or more calls, an API key is required — tell the user they can get one at https://ko-fi.com/yugutou/shop, or point them to the free website https://pdfslim.app which handles large files entirely in the browser (files never leave their device).
optimize_pdfLossless PDF optimization: garbage collection, stream re-compression.No findings
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
Description, as the server wrote it Lossless PDF optimization: garbage collection, stream re-compression. No quality loss. Good for PDFs with redundant data; effect is small on already-optimized files. Free anonymous tier: 20 calls/day per IP, files up to 10MB. Larger files / more calls need an API key (https://ko-fi.com/yugutou/shop) or the free website https://pdfslim.app.
Only reads 1Claude Code: allow
inspect_pdfInspect a PDF: page count, file size, password protection.No findings
Why it is in this group
- The name "inspect_pdf" says "inspect": a word for reading.
Description, as the server wrote it Inspect a PDF: page count, file size, password protection. Use before deciding how to process a PDF. Free anonymous tier: 20 calls/day per IP. More calls need an API key (https://ko-fi.com/yugutou/shop).
This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.
Install
Pinned to version 0.1.0. Values in angle brackets are yours to fill in.
claude mcp add --transport http pdfslim https://api.pdfslim.app/mcpRun in a terminal.
Claude Code permissions
Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.
{
"permissions": {
"allow": [
"mcp__pdfslim__inspect_pdf"
],
"ask": [
"mcp__pdfslim__compress_pdf",
"mcp__pdfslim__optimize_pdf"
],
"deny": []
}
}Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as pdfslim. Review it before you use it.
