FFmpeg MCP Lite

v1.0.0APIsstable

MCP server for video/audio processing via FFmpeg - convert, compress, trim, extract audio, add subtitles

aiaudioclaudeffmpegmcp
Share:
24
Stars
0
Downloads
0
Weekly
0/5

What is FFmpeg MCP Lite?

FFmpeg MCP Lite is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for video/audio processing via ffmpeg - convert, compress, trim, extract audio, add subtitles

MCP server for video/audio processing via FFmpeg - convert, compress, trim, extract audio, add subtitles

This server falls under the APIs category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP server for video/audio processing via FFmpeg - convert,

Use Cases

Video and audio processing
Format conversion
Subtitle and audio extraction
kevinwatt

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 8, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx ffmpeg-mcp-lite

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use FFmpeg MCP Lite

FFmpeg MCP Lite is a lightweight Python MCP server that wraps the FFmpeg command-line tool, letting AI assistants convert, compress, trim, extract, and merge video and audio files through natural language instructions. It exposes eight tools with an ffmpeg_ prefix that map directly to common FFmpeg operations, and uses ffprobe for media metadata inspection. The server is designed to be minimal and easy to deploy with uvx, making FFmpeg's full processing power accessible without needing to remember complex command-line flags.

Prerequisites

  • Python 3.10 or later with pip or uv installed
  • FFmpeg installed on your system (ffmpeg and ffprobe binaries accessible on PATH)
  • An MCP client such as Claude Desktop or Claude Code
  • Adequate disk space for output video and audio files
1

Install FFmpeg on your system

FFmpeg MCP Lite requires the FFmpeg binary to be installed independently. Install it using your system's package manager.

# macOS
brew install ffmpeg

# Windows
winget install FFmpeg

# Ubuntu/Debian
sudo apt install ffmpeg
2

Install the Python package

Install ffmpeg-mcp-lite from PyPI using pip or uv. Using uv provides isolated environments and faster installs.

pip install ffmpeg-mcp-lite
# or
uv pip install ffmpeg-mcp-lite
3

Add to your MCP client configuration

Register the server in your MCP client config using uvx to run the package in an isolated environment. Set FFMPEG_OUTPUT_DIR to control where processed files are saved.

{
  "mcpServers": {
    "ffmpeg": {
      "command": "uvx",
      "args": ["ffmpeg-mcp-lite"],
      "env": {
        "FFMPEG_OUTPUT_DIR": "/Users/you/Downloads"
      }
    }
  }
}
4

Set custom binary paths if needed

If your FFmpeg installation is in a non-standard location, configure the FFMPEG_PATH and FFPROBE_PATH environment variables to point to the exact binaries.

{
  "mcpServers": {
    "ffmpeg": {
      "command": "uvx",
      "args": ["ffmpeg-mcp-lite"],
      "env": {
        "FFMPEG_PATH": "/usr/local/bin/ffmpeg",
        "FFPROBE_PATH": "/usr/local/bin/ffprobe",
        "FFMPEG_OUTPUT_DIR": "/tmp/output"
      }
    }
  }
}
5

Explore the eight available tools

The server provides: ffmpeg_get_info (inspect media properties via ffprobe), ffmpeg_convert (change format or codec), ffmpeg_compress (reduce file size), ffmpeg_trim (cut a time segment), ffmpeg_extract_audio (pull audio track), ffmpeg_extract_frames (grab still images), ffmpeg_merge (join multiple videos), and ffmpeg_add_subtitles (burn in subtitles from an SRT file).

FFmpeg MCP Lite Examples

Client configuration

Claude Desktop configuration for FFmpeg MCP Lite using uvx with a default output directory.

{
  "mcpServers": {
    "ffmpeg": {
      "command": "uvx",
      "args": ["ffmpeg-mcp-lite"],
      "env": {
        "FFMPEG_OUTPUT_DIR": "/Users/you/Downloads"
      }
    }
  }
}

Prompts to try

Natural language prompts to use with Claude for video and audio processing via FFmpeg MCP Lite.

- "Get information about /tmp/video.mp4 — what codec and resolution is it?"
- "Convert /tmp/clip.mov to MP4 format"
- "Compress /tmp/large.mp4 to reduce its file size, use a fast preset"
- "Trim /tmp/recording.mp4 to just the section from 2 minutes to 5 minutes"
- "Extract the audio from /tmp/podcast.mp4 as an MP3"
- "Burn the subtitles from /tmp/movie.srt into /tmp/movie.mp4"

Troubleshooting FFmpeg MCP Lite

FFmpeg binary not found when running tools

Run ffmpeg -version in your terminal to confirm FFmpeg is on PATH. If it is not, install it with brew install ffmpeg (macOS) or your OS package manager. Set FFMPEG_PATH and FFPROBE_PATH in the MCP server's env block if FFmpeg is in a non-standard location.

Output files are missing after a successful tool call

Check the FFMPEG_OUTPUT_DIR setting — output defaults to ~/Downloads if not set. Ensure the directory exists and the MCP server process has write permission to it.

Subtitle burning fails or produces an error

Ensure your FFmpeg build includes the libass library, which is required for subtitle rendering. The brew formula on macOS includes libass by default. On Linux, install ffmpeg with the --enable-libass compile flag or use a distribution package that includes it.

Frequently Asked Questions about FFmpeg MCP Lite

What is FFmpeg MCP Lite?

FFmpeg MCP Lite is a Model Context Protocol (MCP) server that mcp server for video/audio processing via ffmpeg - convert, compress, trim, extract audio, add subtitles It connects AI assistants to external tools and data sources through a standardized interface.

How do I install FFmpeg MCP Lite?

Follow the installation instructions on the FFmpeg MCP Lite GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with FFmpeg MCP Lite?

FFmpeg MCP Lite works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is FFmpeg MCP Lite free to use?

Yes, FFmpeg MCP Lite is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More APIs MCP Servers

Explore all apis servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "ffmpeg-mcp-lite": { "command": "npx", "args": ["-y", "ffmpeg-mcp-lite"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use FFmpeg MCP Lite?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides