PDF Slim — PDF Compression for AI
Compress PDFs to exact target sizes (82-93% smaller). Tools: compress_pdf, optimize_pdf, inspect_pdf
사용해야 할까요
품질 및 안전성
발견 사항 (4)
- HIGH
- MEDIUMcompress_pdf에서
- MEDIUMoptimize_pdf에서
- MEDIUMinspect_pdf에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"pdfslim": {
"url": "https://api.pdfslim.app/mcp"
}
}
}원격 엔드포인트
https://api.pdfslim.app/mcpstreamable-http할 수 있는 일
도구 목록
도구 (3)
🟢compress_pdf(file_base64, target_size, quality)
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",
"properties": {
"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."
},
"quality": {
"type": "integer",
"description": "Optional JPEG quality 25-95 (default 82). Lower = smaller file."
}
},
"required": [
"file_base64"
]
}⚪optimize_pdf(file_base64)
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",
"properties": {
"file_base64": {
"type": "string",
"description": "The PDF file contents, base64-encoded."
}
},
"required": [
"file_base64"
]
}🟢inspect_pdf(file_base64)
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",
"properties": {
"file_base64": {
"type": "string",
"description": "The PDF file contents, base64-encoded."
}
},
"required": [
"file_base64"
]
}커뮤니티
증거