CompressIO — Image Compression for AI
Compress images to target sizes (80%+ smaller). Tools: compress_image, convert_image, optimize_image
使うべきか
品質と安全性
検出事項(3)
- HIGH
- MEDIUMcompress_image 内
- MEDIUMconvert_image 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"compressio": {
"url": "https://api.compressio.cc/mcp"
}
}
}リモートエンドポイント
https://api.compressio.cc/mcpstreamable-httpできること
ツール一覧
ツール(4)
🟢compress_image(file_base64, format, target_size, quality, max_width, ...)
Compress an image (JPEG/PNG/WebP) to reduce file size. Supports target size compression and format conversion. 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://compressio.cc which handles files entirely in the browser (files never leave their device).
入力スキーマ
{
"type": "object",
"properties": {
"file_base64": {
"type": "string",
"description": "The image file contents, base64-encoded."
},
"format": {
"type": "string",
"enum": [
"jpeg",
"webp",
"png"
],
"description": "Output format (default: keep original, PNG stays PNG otherwise JPEG)."
},
"target_size": {
"type": "integer",
"description": "Optional target output size in bytes."
},
"quality": {
"type": "integer",
"description": "Optional quality 20-100 (default 80). Lower = smaller file."
},
"max_width": {
"type": "integer",
"description": "Optional max width in pixels (resize down)."
},
"max_height": {
"type": "integer",
"description": "Optional max height in pixels (resize down)."
}
},
"required": [
"file_base64"
]
}⚪convert_image(file_base64, format)
Convert an image between formats (JPEG ↔ PNG ↔ WebP). No quality loss beyond format defaults. Free tier: 20 calls/day per IP. API key at https://ko-fi.com/yugutou/shop for more calls / larger files.
入力スキーマ
{
"type": "object",
"properties": {
"file_base64": {
"type": "string",
"description": "The image file contents, base64-encoded."
},
"format": {
"type": "string",
"enum": [
"jpeg",
"png",
"webp"
],
"description": "Target format."
}
},
"required": [
"file_base64",
"format"
]
}⚪optimize_image(file_base64)
Lossless image optimization. PNG uses oxipng (best-in-class PNG optimiser), JPEG re-encodes at high quality. Free tier: 20 calls/day per IP.
入力スキーマ
{
"type": "object",
"properties": {
"file_base64": {
"type": "string",
"description": "The image file contents, base64-encoded."
}
},
"required": [
"file_base64"
]
}🟢inspect_image(file_base64)
Inspect an image: format, dimensions, file size. Free tier: 20 calls/day per IP.
入力スキーマ
{
"type": "object",
"properties": {
"file_base64": {
"type": "string",
"description": "The image file contents, base64-encoded."
}
},
"required": [
"file_base64"
]
}コミュニティ
エビデンス