PDF Slim MCP
The PDF Slim MCP server enables AI agents to compress PDFs to exact target sizes, perform lossless optimization, and inspect PDF metadata such as page count and password status. It leverages MuPDF compiled to WebAssembly on Cloudflare Workers to achieve significant size reductions while maintaining quality.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://api.pdfslim.app/mcpWhat its tools do
3 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Not annotated (3)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Endpoint and vendor documentation share a domain
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Compress PDFs to a specific target file size
- Perform lossless optimization of PDF documents
- Inspect PDF page count, size, and password status
Source and maintenance
Protocol and capabilities
- Server
- pdfslim-api 0.1.0
- MCP protocol negotiated in check
- 2025-06-18
- Tools
- 3 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {}
}Tools
3 advertised
compress_pdf
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).
{
"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."
}
}
}optimize_pdf
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.
{
"type": "object",
"required": [
"file_base64"
],
"properties": {
"file_base64": {
"type": "string",
"description": "The PDF file contents, base64-encoded."
}
}
}inspect_pdf
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).
{
"type": "object",
"required": [
"file_base64"
],
"properties": {
"file_base64": {
"type": "string",
"description": "The PDF file contents, base64-encoded."
}
}
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 3 of 3 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 653 ms
- 95th percentile latency
- 676 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 628 ms · 3 tool(s)
- · probe · passed · 678 ms · metadata changed · 3 tool(s)
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http pdf-slim-mcp https://api.pdfslim.app/mcpCodex
codex mcp add pdf-slim-mcp --url https://api.pdfslim.app/mcpCursor
{
"mcpServers": {
"pdf-slim-mcp": {
"url": "https://api.pdfslim.app/mcp"
}
}
}Cline
{
"mcpServers": {
"pdf-slim-mcp": {
"type": "streamableHttp",
"url": "https://api.pdfslim.app/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"pdf-slim-mcp": {
"type": "http",
"url": "https://api.pdfslim.app/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http pdf-slim-mcp https://api.pdfslim.app/mcpClaude Desktop
https://api.pdfslim.app/mcpWindsurf
{
"mcpServers": {
"pdf-slim-mcp": {
"serverUrl": "https://api.pdfslim.app/mcp"
}
}
}Let your agent find its tools
Find servers like PDF Slim MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other productivity and knowledge servers
Do you run PDF Slim MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.