Skip to content
Kitbay
MCP server

halfsize

Runs locallyMITUpdated on Nov 15, 2026104GitHub starsNo API key needed

halfsize is a Node.js command-line tool that compresses a video to a target file size, such as 20 MB for a Discord upload, using FFmpeg on the user's machine.

What it does

halfsize is a Node.js command-line tool that compresses a video to a target file size, such as 20 MB for a Discord upload, using FFmpeg on the user's machine. It converts HDR footage to SDR and can report quality with SSIM and VMAF scores. Run with the --mcp flag it becomes a local MCP server over stdio with one tool, compress_video, which takes the input file, target size and optional output path, codec and quality check, and returns the same JSON report as the CLI. The README says compression never uses the network; the only download is an optional FFmpeg fetch. No API key is needed.

Capabilities

  • Compress a video to a target file size
  • Convert HDR video to SDR
  • Report SSIM and VMAF quality scores