# PDF Slim — PDF Compression for AI [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://pdfslim.app/api  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/pdf-slim-pdf-compression-for-ai

## Description
Compress PDFs to exact target sizes (82-93% smaller). Tools: compress_pdf, optimize_pdf, inspect_pdf

## Tools
Capabilities this server exposes over MCP:

- **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).
- **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.
- **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).

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "pdf-slim-pdf-compression-for-ai": {
    "url": "https://api.pdfslim.app/mcp"
  }
}
```

## Documentation

## What PDF Slim — PDF Compression for AI does

PDF Slim — PDF Compression for AI provides MCP tools for working with PDF files. Its listed capabilities cover three operations: compressing a PDF, optimizing a PDF, and inspecting a PDF. The compression function is described as supporting exact target sizes, which is useful when a workflow has a file-size limit rather than only a general preference for smaller files.

The service description reports reductions of 82–93% for its PDF compression capability.

## Tools and capabilities

The server lists these tools:

- `compress_pdf`: Compresses a PDF toward an exact target size.
- `optimize_pdf`: Optimizes a PDF.
- `inspect_pdf`: Inspects a PDF.

The listing does not describe the input fields, return values, supported file transfer method, or whether the tools preserve particular PDF features. Developers should confirm those details before building a workflow that depends on forms, annotations, embedded files, accessibility metadata, or other document properties.

PDF Slim — PDF Compression for AI is most relevant when an MCP-compatible agent needs to reduce PDF size before another step, evaluate a PDF, or apply PDF optimization as part of an automated process.

## Setup and configuration

The supplied source is `https://pdfslim.app/api`. As a result, the required runtime, installation command, transport configuration, authentication method, and environment variables cannot be documented reliably here.

Before deployment, verify how the API is exposed to an MCP client and whether credentials are required. The listing does not name Cursor, Claude Desktop, or any other client, so client-specific setup should also be checked against the service’s current documentation.

Its current category is Developer Tools, but that category is described as an unreviewed default and should not be treated as a technical requirement.

## Limitations and notes

The available description confirms the tool names and the reported compression range, but it does not document file-size limits, maximum PDF length, processing time, error behavior, quality controls, or supported PDF versions. It also does not explain how `compress_pdf` differs from `optimize_pdf`.

Treat the 82–93% reduction figure as an advertised range rather than a guaranteed result for every file. Test representative PDFs and validate the returned documents before using the server in production workflows.

_Full upstream README: https://allmcps.com/mcp/pdf-slim-pdf-compression-for-ai/readme_

