Overview
Give your coding agents the power of a professional video editor, entirely offline and without API keys. This repository provides a robust, local video editing suite for AI agents like Claude Code, Cursor, and Codex. It leverages the industry-standard FFmpeg, exposing 42 specialized tools through a machine-readable contract and an MCP server. From simple cuts and captions to complex reframing and platform-specific exports, your agents can now manipulate video content with precision and confidence.
Key Features
- Local & Offline: Operates entirely on your machine, ensuring data privacy and security. No cloud processing, no API keys required.
- 42 FFmpeg Tools: A comprehensive collection of tools for video manipulation, including cutting, joining, silence removal, loudness normalization, captioning, reframing, and platform exports.
- Machine-Readable Contract: Tools are described by a clear, machine-readable contract, enabling AI agents to understand and utilize them effectively.
- MCP Server Integration: Seamless integration with Machine Communication Protocol (MCP) clients for flexible agent interaction.
- Verification Built-In: Each operation is followed by probing and verification steps, ensuring the agent can check the output's duration, frame size, and audio before reporting success.
- Python Standard Library: Minimal external dependencies, making setup straightforward.
- Designed for Agents: Specifically built to empower coding agents with a structured and reliable video editing workflow.
Typical Use Cases
Empower your AI agents to:
- Automate Video Editing: Create short clips, social media snippets (TikTok, Reels, Shorts), and longer-form content by defining cut points, durations, and aspect ratios.
- Generate Captions & Subtitles: Automatically add dynamic captions, including karaoke-style highlighting, from transcribed audio.
- Optimize Audio: Normalize loudness to industry standards (LUFS) and clean up audio.
- Reframe & Resize: Adapt 16:9 footage to 9:16 for vertical platforms or crop and pad to specific aspect ratios.
- Batch Processing: Edit multiple video files in a folder, applying consistent transformations and exports.
- Deliver to Platforms: Utilize predefined templates for platforms like TikTok, YouTube, Instagram Reels, and X (Twitter) to ensure content meets platform specifications.
- Create Motion Graphics Overlays: Integrate animated elements and overlays onto existing footage.
- Analyze and Verify Footage: Probe video files to understand their technical specifications and verify the integrity of edited outputs.
