PDF Slim — PDF Compression for AI

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

我該用這個嗎

品質與安全性

B
說明品質
100%
結構描述完整度
100%
命名品質
87%
汙染風險
40%
權限相符程度
100%
協定合規性
100%

發現項目(4)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool description contains URL to non-standard domain在 compress_pdf 中
  • MEDIUMTool description contains URL to non-standard domain在 optimize_pdf 中
  • MEDIUMTool description contains URL to non-standard domain在 inspect_pdf 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~497Token(工具定義)
~704 B典型回應大小
極小的注意力影響(128k 上下文的 0.39%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `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"
  ]
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本3 個工具
已驗證未記錄版本3 個工具
已驗證未記錄版本3 個工具