Skip to main content
Glama
README.md
# Free Claude Video Editor (MCP)

A small local MCP server that lets Claude Desktop perform basic video tasks with **FFmpeg**. It is free and open source; video processing happens on your computer. This is a practical starter rather than a full timeline editor.

## Features

- Inspect local media (duration, codecs, dimensions, audio/video streams)
- Trim a section and export as MP4 (H.264/AAC)
- Extract audio as MP3
- Create a JPEG thumbnail

The server does not upload media. It invokes FFmpeg/FFprobe directly with argument arrays (not through a shell), and refuses to overwrite an existing output file.

## Requirements

- Node.js 18 or newer
- FFmpeg **and FFprobe** installed and available on your `PATH`
- Claude Desktop

Check installs in a terminal:

```bash
node --version
ffmpeg -version
ffprobe -version
```

Install FFmpeg from [ffmpeg.org](https://ffmpeg.org/download.html) or your operating system's package manager. On macOS, for example: `brew install ffmpeg`.

## Install

Clone this repository, then from its folder run:

```bash
npm install
```

The MCP server starts with:

```bash
npm start
```

## Connect to Claude Desktop

Open Claude Desktop's MCP configuration file and add a server entry. Replace `/absolute/path/to/claude-free-video-editor` with the actual location where you cloned this repository.

**macOS** — `~/Library/Application Support/Claude/claude_desktop_config.json`

**Windows** — `%APPDATA%\Claude\claude_desktop_config.json`

**Linux** — `~/.config/Claude/claude_desktop_config.json` (location may vary by installation)

Example configuration:

```json
{
  "mcpServers": {
    "free-video-editor": {
      "command": "node",
      "args": ["/absolute/path/to/claude-free-video-editor/src/index.js"]
    }
  }
}
```

If Claude cannot find `ffmpeg` or `ffprobe`, use their absolute executable paths in `src/index.js` (replace the `ffmpeg` and `ffprobe` command strings), or launch Claude Desktop from an environment that has FFmpeg on `PATH`. Restart Claude Desktop after editing the config. The tools should then appear in Claude's MCP tools list.

## Example prompts

- “Inspect `~/Videos/interview.mov` and tell me its duration and resolution.”
- “Trim `~/Videos/interview.mp4` from 12 seconds for 30 seconds and save it as `~/Videos/interview-clip.mp4`.”
- “Extract the audio from `~/Videos/lesson.mp4` to `~/Music/lesson.mp3`.”
- “Create a thumbnail from `~/Videos/trailer.mp4` at 8 seconds and save it as `~/Pictures/trailer.jpg`.”

Give Claude full local paths. Make sure the output folder already exists. Trimmed output is re-encoded, so processing speed and quality depend on your computer and chosen source.

## Safety and limitations

This grants Claude the ability to read the local media paths you provide and create output files at paths you request. Only connect software and media you trust. Existing output files are not overwritten. The starter does not provide a visual timeline, transitions, captions, or advanced effects; use a desktop editor such as Kdenlive or Shotcut for those features.

## License

MIT. FFmpeg is a separate project with its own licensing; see its documentation for details about the build you install.

TDQS

A3.7/5.0

Scored across 4 tools

Disambiguation5/5

Each tool targets a distinct action and output: media inspection, video trimming, audio extraction, and thumbnail creation. There is no meaningful overlap that would cause an agent to select the wrong tool.

Naming Consistency5/5

All tools follow a clear verb_noun pattern: inspect_media, trim_video, extract_audio, create_thumbnail. The convention is consistent and readable throughout.

Tool Count5/5

Four tools is a well-scoped set for a lightweight video utility server. Each tool has a clear, non-redundant purpose and earns its place.

Completeness3/5

The surface covers inspection, trimming, audio extraction, and thumbnails, but a video editor would typically also need operations like concatenation, cropping/resizing, or format conversion. These are notable gaps, though some simple workflows can still be completed.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues