eralpozcan avatar

Vision Squeezer

eralpozcan/vision-squeezer

This server attacks the vision API billing problem most developers don't notice: LLMs charge by pixel dimensions, not file size, and every provider has different tiling math. It exposes tools to preprocess images before they hit Claude, GPT-4o, Gemini, or other vision models by cropping padding, snapping to tile boundaries, and simulating each provider's token calculation algorithm. The CLI supports auto mode for text detection, quality binary search to hit SSIM targets, and batch processing with JSON output. You'd reach for this when you're burning tokens on screenshots with solid borders or images that spill into extra tiles by a few pixels. Install via the interactive npx script, Claude Code plugin marketplace, or as a standalone Rust binary.

GitHub stars
2
tool
1
transport
STDIO
last updated
Oct 23, 2026

Tools

1 tools

Public tool metadata for what this MCP can expose to an agent.

optimize_imageOptimizes an image to fit a vision-LLM token budget, returning the optimized image and a savings report.

Optimizes an image to fit a vision-LLM token budget, returning the optimized image and a savings report.

No parameter schema in public metadata yet.

Sponsors

Readme

VisionSqueezer Logo

VisionSqueezer

Build crates.io npm License

Fit images to a vision-LLM token budget before they reach the model. A library, CLI, and MCP server for code, agents, and pipelines.


View the full README on GitHub

Details

Repository
github.com/eralpozcan/vision-squeezer
Categories
AI & LLM Tools, Communication & Messaging
Package
vision-squeezer
Transport
STDIO
Registry
MCP registry, active

Related AI & LLM Tools MCP servers

View all
1geiserx avatarLynxPromptgeiserx/lynxprompt-mcpSearch, read and manage AI agent instruction blueprints (AGENTS.md, CLAUDE.md) on LynxPrompt2stars
2im-sham avatarAegis Protocolim-sham/aegis-protocolTrustless escrow for AI agent-to-agent transactions on Base L2 with ERC-8004 identity and USDC.2stars
3alexanderclapp avatarClirankalexanderclapp/clirank-mcp-serverSearch, compare, and get docs for 210+ APIs ranked by CLI and agent relevance.2stars
4cachly-dev avatarcachly — memory for coding agentscachly-dev/cachly-mcpMemory for coding agents: stores every fix and finds it again when the problem returns. EU-hosted.2stars
5clicks-protocol avatarMcp Serverclicks-protocol/clicks-protocolAgent commerce settlement tools on Base: treasury setup, payment splits, yield and attribution.2stars
6declade avatarLucairn Mcp Serverdeclade/lucairn-sdksPseudonymizes PII before your LLM and returns a cryptographically signed receipt per response.0stars