PDF Slim — PDF Compression for AI is an MCP server published by io.github.zhaoyaqi18, hosted at api.pdfslim.app. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 3 tools, including compress_pdf, optimize_pdf, inspect_pdf.
Compress PDFs to exact target sizes (82-93% smaller). Tools: compress_pdf, optimize_pdf, inspect_pdf
3 connections through 4 shared values. Tap any node.
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).
| Parameter | Type | Description |
|---|---|---|
| quality | integer | Optional JPEG quality 25-95 (default 82). Lower = smaller file. |
| file_base64 * | string | The PDF file contents, base64-encoded. |
| target_size | integer | Optional target output size in bytes (e.g. 500000 for 500KB). If omitted, compresses as much as reasonable. |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
{
"name": "compress_pdf",
"description": "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).",
"inputSchema": {
"type": "object",
"required": [
"file_base64"
],
"properties": {
"quality": {
"type": "integer",
"description": "Optional JPEG quality 25-95 (default 82). Lower = smaller file."
},
"file_base64": {
"type": "string",
"description": "The PDF file contents, base64-encoded."
},
"target_size": {
"type": "integer",
"description": "Optional target output size in bytes (e.g. 500000 for 500KB). If omitted, compresses as much as reasonable."
}
}
}
}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.
| Parameter | Type | Description |
|---|---|---|
| file_base64 * | string | The PDF file contents, base64-encoded. |
{
"name": "optimize_pdf",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"file_base64"
],
"properties": {
"file_base64": {
"type": "string",
"description": "The PDF file contents, base64-encoded."
}
}
}
}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).
| Parameter | Type | Description |
|---|---|---|
| file_base64 * | string | The PDF file contents, base64-encoded. |
{
"name": "inspect_pdf",
"description": "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).",
"inputSchema": {
"type": "object",
"required": [
"file_base64"
],
"properties": {
"file_base64": {
"type": "string",
"description": "The PDF file contents, base64-encoded."
}
}
}
}Names, descriptions and schemas were written by the server and are shown as data.