# Video Frames [Health: Active]

**Category:** 🎥 Multimedia Process  
**Repository:** https://github.com/Azzy-H/mcp-video-frames  
**GitHub Stars:** 4  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/video-frames

## Description
MCP server that lets image-only models look at video: timecoded frames, measurable properties.

## Tools
Capabilities this server exposes over MCP:

- **view_frames** — Sample a video and return frames as images, each preceded by its timecode — the only thing tying an image to a moment. Set start == end to look at a single moment (returns a lossless PNG); the interval is ignored in that case. Range requests default to jpeg, which is about an order of magnitude smaller and fits far more frames in the same budget. Frames are cached by absolute timestamp, so overlapping ranges reuse work. max_frames defaults to 12; raising it up to the image limit trades away detail — lower max_edge or use format="jpeg" to afford more frames. All of these limits are set by whoever deployed this server, not by you. Server limits for this deployment: at most 20 images per call, each at most 10 MB, 40 MB per result. Frames are never silently dropped or resampled, so the interval you ask for is the interval you get. Requests past a limit fail with the numbers and concrete alternatives — the server never truncates a range or coarsens your interval.
- **video_info** — Metadata for a video. detail="basic" reads container headers only and returns immediately. detail="full" additionally scans the whole file for scene cuts, silence intervals and EBU R128 loudness; that scan is exhaustive and therefore slow on long files, but it is cached and reused. Use force=true to recompute. This tool returns no images, so the image limits do not apply to it, but your client's per-call time limit does: a full scan of a long video takes time proportional to its length, and may exceed the limit. Raise that limit if your client allows it.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "video-frames": {
    "command": "uvx",
    "args": ["mcp-video-frames"]
  }
}
```

## Documentation

## What Video Frames MCP server does

The Video Frames MCP server exposes local video files to MCP clients that can process images. It provides two tools: `view_frames` samples a chosen time range and returns each frame with its timestamp, while `video_info` reports technical metadata and can optionally analyze the complete file.

`view_frames` accepts an absolute video path, start and end positions in seconds, a sampling interval, frame count, output format, image dimensions, and JPEG quality. A single moment can be requested by setting the start and end positions equally. Results include a final summary with the requested range, effective limits, whether the range was clipped, and how many frames came from cache.

## How it works

The Video Frames MCP server delegates media inspection and frame extraction to ffmpeg and ffprobe. Basic metadata reads container headers. Full metadata analysis scans the entire file for scene changes, silent sections, and EBU R128 loudness, then reuses cached results on later requests unless recomputation is forced.

Frame responses deliberately place a timecode text block before each image. This produces an interleaved sequence that preserves the relationship between visual content and playback time. Range requests default to JPEG to reduce response size; single-frame requests default to PNG for detail.

## Setup and configuration

Install the package with pip, or run it with `uvx`, then configure the client to launch the `mcp-video-frames` console command. The package expects Python 3.10 or newer and ffmpeg available beside the interpreter or on `PATH`. `ffprobe` improves metadata coverage; without it, the server falls back to parsing ffmpeg header output.

A repository-based setup is also available. Running `setup_mcp.py` creates a project-local virtual environment, installs runtime dependencies, and writes a client configuration. It can accept a custom ffmpeg path, print configuration without writing it, or set the maximum image count. The `doctor` command checks executable versions, filters, and cache write access. `test_server.py connect` verifies the MCP handshake, tool list, response structure, and image limits.

Configuration can set executable locations with `FFMPEG_PATH` and `FFPROBE_PATH`. Other variables control image counts, byte budgets, dimensions, cache location and size, frame age, and scene-change sensitivity. No environment variables are required when defaults and automatic executable discovery are sufficient.

## Tools and capabilities

The Video Frames MCP server includes:

- `view_frames` for sampled image sequences with timestamps.
- `video_info` for duration, frame rate, dimensions, codecs, pixel format, color information, HDR status, audio tracks, subtitles, and chapters.
- Optional full scans for scene cuts, silences, integrated loudness, true peak, and loudness range.
- Disk caching for extracted frames and completed full-file analyses.

## Limitations and notes

The receiving model must accept image input. Otherwise, returned images may be dropped or reduced to text. Frame requests are bounded by per-call image, per-frame byte, total-result byte, and dimension limits. If a request exceeds a limit, the call fails rather than silently widening the sampling interval or returning a partial batch. A failed individual frame also prevents the batch from being returned.

The server is local rather than hosted, so an MCP client must be configured to launch it. Full metadata scans can take longer because they process the whole file. Cached scan data is reused unless `force=true` is supplied.

_Full upstream README: https://allmcps.com/mcp/video-frames/readme_

