FFmpeg MCP server
Lets your AI assistant shrink videos for email or Discord, convert video and audio, pull out MP3s, even out volume, make GIFs and trim clips — on your own computer, no uploading. It runs the official FFmpeg 6.1.1 locally — no API key, no cloud, files never uploaded. Part of GUI Hub Essentials; unofficial, not affiliated with the FFmpeg project.
Install (one line)
npx -y https://guihub.cc/mcp.tgz --product=essentials
Claude Code: claude mcp add gui-hub-essentials -- npx -y https://guihub.cc/mcp.tgz --product=essentials · Claude Desktop: one-file extension (double-click). Other clients (Cursor, VS Code, Windsurf) — add to the MCP config:
{
"mcpServers": {
"gui-hub-essentials": {
"command": "npx",
"args": [
"-y",
"https://guihub.cc/mcp.tgz",
"--product=essentials"
]
}
}
}
The FFmpeg binary is downloaded once (the official release, checked by SHA-256) and cached; after that it works offline. Needs Node.js 18+ for npx.
Tools your assistant gets
| MCP tool | What it does | Inputs (* required) |
|---|---|---|
| ffmpeg_compress | Make a video much smaller (or turn any video into a widely playable MP4). Lower quality and smaller size = smaller file. | input*, quality, size, audio, out* |
| ffmpeg_compress_size | Make a video fit under a size limit (e.g. 10 MB for Discord, 25 MB for email). Works out the bitrate from the video's length and lowers the resolution only when it has to. Lands a little under the target; very long videos may need trimming first. | input*, mb, audio, out* |
| ffmpeg_audio | Save just the sound of a video as an MP3 — for music, lectures or podcasts. | input*, bitrate, out* |
| ffmpeg_audio_convert | Convert an audio or video file's sound to mp3, m4a, wav or flac. normalize=true applies EBU R128 loudness normalization (loudnorm) — good for voice recordings and podcasts. | input*, format, normalize, out* |
| ffmpeg_gif | Turn a short part of a video into a good-looking animated GIF. | input*, start, duration, width, out* |
| ffmpeg_trim | Cut out a part of a video instantly, without re-encoding (no quality loss). Cuts snap to the nearest keyframe. | input*, start*, end*, out* |
| ffmpeg_add_subtitles | Add an .srt subtitle file to a video on the user's computer as a selectable subtitle track in a new MP4 (no re-encoding, full quality, fast). Use after transcribe_subtitles when the user wants captions inside the video file. | input*, subs*, out* |
| ffmpeg_loudness | Normalize the loudness of an audio or video file on the user's computer (EBU R128 loudnorm): makes quiet or uneven recordings loud and consistent at a chosen target (podcast/YouTube −14/−16 LUFS, broadcast −23). Video is copied unchanged. Use whenever the user says audio is too quiet, too loud, uneven, or wants it 'normalized' or 'podcast-ready'. | input*, target, kind, out* |
| ffmpeg_join | Join (merge/concatenate) several video clips on the user's computer into one MP4, in the order given — works even when the clips differ in format, resolution or frame rate (each is converted to the same format first, then joined). Choose the output size (1080p/720p, landscape or portrait). Use whenever the user wants to combine, merge, stitch or join videos. Clips should all have sound or all be silent. | inputs*, size, out* |
Things to ask
- “Shrink ~/Movies/trip.mov so it fits on Discord (under 10 MB).”
- “Save the audio of lecture.mp4 as an MP3 on my Desktop.”
- “Make a GIF from seconds 5–10 of demo.mp4.”
- “Cut talk.mp4 from 00:01:00 to 00:02:30.”
- “Add subtitles.srt to my vlog.mp4 as a subtitle track.”
- “My podcast episode is too quiet — make it podcast-loud and save a copy.”
- “Join the three clips in my Videos folder into one MP4, in order.”
No MCP client? Agents with their own computer
Codex, Manus, OpenClaw and similar agents can call the same tools from a shell:
npx -y https://guihub.cc/cli.tgz run ffmpeg_compress --input /path/to/input.mp4 --out /path/to/output.mp4
Cost
Each tool works 3 times free. Then $9 once unlocks every GUI Hub tool — MCP, desktop apps and browser tools — on up to 3 computers. No subscription; 30-day refunds.
Prefer clicking? The same jobs are in the FFmpeg GUI desktop app. Or write the command yourself with the free FFmpeg command generator.
FFmpeg is GPL-3.0 (static build)-licensed open source by its authors (source). GUI Hub is independent and does not modify it.