MCP server
PDF Slim — PDF Compression for AI
io.github.zhaoyaqi18/pdfslim
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
Compress PDFs to exact target sizes (82-93% smaller). Tools: compress_pdf, optimize_pdf, inspect_pdf
Working at last checkAbout 562 tokens per request once connected3 tools
https://api.pdfslim.app/mcp
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Working at last check
- Tools
- 3
- Token cost
- About 562 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http pdfslim https://api.pdfslim.app/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.pdfslim] url = "https://api.pdfslim.app/mcp"
Gemini CLI
{"mcpServers":{"pdfslim":{"httpUrl":"https://api.pdfslim.app/mcp"}}}
Cursor
{"mcpServers":{"pdfslim":{"url":"https://api.pdfslim.app/mcp"}}}
VS Code
{"servers":{"pdfslim":{"type":"http","url":"https://api.pdfslim.app/mcp"}}}
Antigravity
agy mcp add pdfslim https://api.pdfslim.app/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"pdfslim","server_url":"https://api.pdfslim.app/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"pdfslim","server_url":"https://api.pdfslim.app/mcp"}
Tools
compress_pdf~290 tokens
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) oinspect_pdf~116 tokens
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).optimize_pdf~156 tokens
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)
Browse
Related MCP servers
- CompressIO — Image Compression for AI
Compress images to target sizes (80%+ smaller). Tools: compress_image, convert_image, optimize_image - MCP Compress
List compression profiles, estimate gains, and compress images, PDFs, and Office files. - HelpySelf
More than a hundred everyday tools: PDFs, images, text, data, calculators, dice and currency. - TinyPNG MCP by usefulapi
Compress, resize and convert images with TinyPNG by URL, and check this month's compression count. - ChangeThisFile
1,000+ conversion routes plus translate, extract tables, compress. 25 free/month, then a free key. - PiPic Integration Guide
Read-only PiPic CLI and HTTP API guidance; no image bytes are transferred. - MiOffice — AI-Powered Workspace Studio
125+ browser tools for PDF, Image, Video, Audio, AI, Scanner. Files never leave your device. - Image Processing
Image processing for AI agents: resize, convert, compress, crop, and web-ready AI-generated images.
Badge for your README
[](https://aptlynx.net/servers/io.github.zhaoyaqi18/pdfslim)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents