Video Frames MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
🎞️ Video Frames MCP
1-Liner: Give your AI agents eyes: Extract visual context from local videos for Claude, Cursor, and Windsurf.
This is an MCP (Model Context Protocol) server that bridges AI coding assistants with ffmpeg, enabling them to work with video files directly from chat.
https://github.com/user-attachments/assets/8493da1c-1c2a-42d4-87ee-40cead242eb2
✨ Features
Tool | Description |
| Extract a single image (returns base64 & OCR text; path optional) |
| Batch-extract frames (returns base64; directory optional) |
| Get duration, resolution, FPS, codec, and frame count |
| Cut a video segment (path required) |
Related MCP server: Understand This Video For Me AI Plugin
🧠 Smart Features
Built-in OCR (
extract_frame): The server automatically runs Optical Character Recognition usingtesseract.json extracted frames and returns the text directly to your AI. Perfect for reading error messages or slide content in videos.Smart Sampling (
extract_multiple_frames): Don't dump a frame for every second and blow up your token context. Ask fortotalFrames: 10, and the server will perfectly divide the video to return 10 evenly distributed frames capturing the whole timeline.Transient Mode: If you omit output paths for frames, the server saves them to a system temp folder, reads them to base64, and immediately deletes them. Zero clutter.
🔒 100% Local & Private
Your video files never leave your machine. Frame extraction, OCR, and clipping happen entirely locally. This makes it safe for corporate environments, NDAs, and private recordings.
⚙️ How It Works
All processing happens locally on your machine using ffmpeg, ffprobe, and tesseract.js for OCR. The server communicates via stdio transport — the standard MCP protocol. Your AI sends a tool call, the server runs the command, and returns the result (and text, if applicable).
extract_frame→ffmpeg -ss <timestamp> -i video.mp4 -frames:v 1 output.jpg+ OCR Processingextract_multiple_frames→ffmpeg -vf fps=N/duration video.mp4 output_%04d.jpgget_video_info→ffprobe -print_format json -show_streams -show_format video.mp4extract_clip→ffmpeg -ss <start> -to <end> -c copy video.mp4 clip.mp4
Why use
-c copy? It skips re-encoding entirely, making clip extraction near-instant. The tradeoff is that cuts align to the nearest keyframe, so they may be slightly off on the exact frame.
📋 Requirements
Node.js 18+ — Download here
ffmpeg — installed and accessible from your system PATH
Install ffmpeg
Platform | Command |
Windows |
|
macOS |
|
Ubuntu/Debian |
|
Fedora/RHEL |
|
Verify it works: ffmpeg -version
🚀 Installation
npx -y @eequaled/frames-mcp(Alternatively, you can clone and build from source).
The npx command automatically fetches the latest version from NPM.
🛠️ Configuration Snippet
For clients that use a config.json structure (Cursor, Claude, Roo Code, Cline, Windsurf), use this snippet in your mcpServers object:
{
"mcpServers": {
"video-frames": {
"command": "npx",
"args": ["-y", "@eequaled/frames-mcp"]
}
}
}If you cloned from GitHub instead of usingnpx, change the command to node and the args to the absolute path of your local dist/index.js.
🔌 Client Setup
Cursor
Open Settings → Features → MCP
Click + Add New MCP Server
Fill in:
Name:
video-framesType:
commandCommand:
npx -y @eequaled/frames-mcp
Save and wait for the green dot (Connected)
Claude Desktop
Edit your config file:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"video-frames": {
"command": "npx",
"args": ["-y", "@eequaled/frames-mcp"]
}
}
}Roo Code (VS Code extension)
Open the Roo Code MCP settings panel, or edit the file directly:
%APPDATA%\Code\User\globalStorage\roovscode.roo-cline\settings\cline_mcp_settings.json{
"mcpServers": {
"video-frames": {
"command": "npx",
"args": ["-y", "@eequaled/frames-mcp"]
}
}
}Cline (VS Code extension)
Edit the Cline MCP settings file:
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json{
"mcpServers": {
"video-frames": {
"command": "npx",
"args": ["-y", "@eequaled/frames-mcp"]
}
}
}Windsurf
Open Settings → MCP → Add Server and fill in:
{
"command": "npx",
"args": ["-y", "@eequaled/frames-mcp"]
}CLI / Other Platforms
Any MCP-compatible tool (Open Interpreter, custom scripts, etc.) can connect using:
Parameter | Value |
Transport |
|
Command |
|
Args |
|
You can also test it directly in your terminal:
# Smoke test — should print the running message
npx -y @eequaled/frames-mcp
# Send a raw JSON-RPC list request
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | npx -y @eequaled/frames-mcp💬 Example Prompts
Once connected, try these in your AI chat:
What's the duration and resolution of /path/to/video.mp4?Extract the frame at 1:30 from /path/to/video.mp4 and save it to /output/thumb.jpgCheck this video and tell me the moment the error message appears.Summarize the UI changes in this screen recording.Extract the text from the slide at 02:45.Tip: Always use absolute paths (e.g.,
C:\Videos\movie.mp4or/home/user/movie.mp4). Relative paths won't reliably resolve.
🧠 Why This Is Useful
Combined with your AI's vision capabilities, this MCP unlocks:
Video content analysis — extract frames → AI describes or summarizes scene content
Thumbnail generation — pull the best-looking frame from any moment
Quick video inspection — get metadata without opening a video player
Clip extraction — cut highlight reels or short segments on demand
GIF/video pipelines — clip a segment and pipe it into further processing
🛠️ Supported Video Formats
mp4, mkv, avi, mov, webm, flv, wmv, m4v — and anything else ffmpeg can decode.
🤖 AI Agent Integration
This project includes an llms.txt file — a machine-readable document written specifically for AI agents. If you want an AI assistant to set up, configure, or use this MCP server on your behalf, just point it at that file:
"Read the
llms.txtin this repo and add the video-frames MCP to my setup."
The file contains everything an agent needs: prerequisites, install steps, config snippets for every client, full tool specs with all parameters, and important caveats (like always using absolute paths).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Turn any video into context for AI agents: transcripts, metadata, chapters, timestamps.
VideoDB lets an AI agent watch, search and clip video.
Give AI random access to video: timestamped contact sheets + zoom into any start/end range.
Transcripts, summaries, chapters and timestamped search for video links, for AI agents.
Related MCP Servers
- AlicenseAqualityCmaintenanceLets AI agents inspect local or remote videos by reading metadata, detecting shots and cuts, extracting frames as images, and checking keyframes for seeking and streaming, all via local FFmpeg without an API key.51MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI clients to watch and hear videos from local files or YouTube, Vimeo, and Loom links by returning timestamped key frames, a transcript, a contact sheet, and a combined timeline, with all processing done locally.-
- AlicenseNot gradedqualityBmaintenanceEnables an agent to process local video files and then read, search and inspect the results: timestamped transcripts, on-screen text and key frames as images. Everything runs locally, so an agent can answer questions like how to perform a task shown in a screencast or meeting recording.31 npm1MIT
- AlicenseBqualityCmaintenanceEnables AI agents to ingest local videos, search moments using hybrid multimodal retrieval, retrieve shot context, and extract clips through JSON-RPC tools, all with local-only processing.51MIT