video-mcp
Turn videos into agent-friendly data—metadata, timestamped transcripts, keyframes, OCR text, and merged timelines—plus a CLI to sort shoot folders into A-roll/B-roll by topic and quality.
Check that ffmpeg, ffprobe, yt-dlp, and Whisper backends are installed
Probe fast metadata (duration, resolution, codecs, audio) before deeper analysis
Transcribe audio with timestamps from captions or local/cloud Whisper
Extract a single frame at a given timestamp for inspecting a specific moment
Grab burst frames across a short window for motion, UI transitions, or animations
Extract representative keyframes via scene-change detection, interval sampling, or both
Run a full one-shot analysis (probe + transcript + keyframes + OCR + timeline + summary)
OCR on-screen text from video keyframes or a single image via tesseract
Search a transcript for topics or keywords to find their timestamps in long videos
Handle local files, file:// URIs, direct media URLs, and platform URLs (YouTube/TikTok via yt-dlp)
Provides cloud speech-to-text transcription through OpenAI's Whisper API as a fallback when local Whisper transcription is unavailable.
Allows the server to fetch and analyze TikTok videos via yt-dlp, including transcripts, keyframes, OCR, and technical quality checks.
Allows the server to fetch and analyze YouTube videos via yt-dlp, including transcripts, keyframes, OCR, and technical quality checks.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@video-mcp sort my shoot folder ~/Footage/shoot-0924 by topic and quality"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
video-mcp
Sort a shoot folder in one command — A-roll vs B-roll, grouped by topic, bad takes pulled into
_rejects — plus a local-first video understanding MCP for Claude Desktop, Claude Code, Codex,
Grok, and any MCP client. → videomcp.xanom.co
Install (macOS)
curl -fsSL https://raw.githubusercontent.com/neelsatyavolu/videomcp/main/install.sh | bashOr download the Mac installer,
unzip it and double-click Install video-mcp.command. Either way it installs Node.js and Homebrew
if missing, the video-mcp command, and ffmpeg, tesseract, whisper-cpp and a speech model
(install.sh is short — read it first if you like). Sorting also needs one of the
Claude Code, Codex or Grok CLIs, signed in.
The MCP server turns video into what agents already understand: metadata + timestamped transcript + key frames + timeline. The sections below cover it and other ways to install.
Related MCP server: Understand This Video For Me AI Plugin
Other install options
Prerequisites: Node.js 18+ and ffmpeg (brew install ffmpeg).
From a clone
git clone https://github.com/neelsatyavolu/videomcp && cd videomcp
npm install && npm run build
node dist/index.js setup # ffmpeg + tesseract + whisper-cpp + model
node dist/index.js install # Claude Desktop / Code / Codex / GrokGlobal npm install (from the latest release)
npm install -g https://github.com/neelsatyavolu/videomcp/releases/latest/download/video-mcp-server.tgz
video-mcp setup # ffmpeg / tesseract / whisper-cpp + model
video-mcp install # all clients
video-mcp doctor # check ffmpeg / Whisper / installsUse as an MCP server
video-mcp install wires Claude Desktop, Claude Code, Codex, and Grok automatically. Restart the app / start a new agent session after installing.
video-mcp install --client desktop # Claude Desktop only
video-mcp install --client code # Claude Code only
video-mcp install --client codex
video-mcp install --client grok
video-mcp install --client all # default
video-mcp status
video-mcp uninstall
video-mcp helpCLI
Command | What it does |
| Install needed deps: ffmpeg, tesseract, whisper-cpp + ggml model |
| Add MCP to agent config files |
| Remove from configs |
| Show where it's installed |
| ffmpeg / whisper / tesseract + client status |
| Sort a shoot folder by topic, A/B roll and quality (see below) |
| Run MCP on stdio (also the default with no args) |
Needed system tools
Tool | Role |
ffmpeg | Frames, probe, audio |
whisper-cpp + ggml-base.bin | Local speech-to-text |
tesseract | On-screen text (OCR) |
yt-dlp | YouTube/etc. (optional) |
Configs are updated in place; a .bak backup is written first.
Client | Config file |
Claude Desktop |
|
Claude Code |
|
Codex |
|
Grok |
|
Sorting a shoot folder
video-mcp sort ~/Footage/shoot-0924 --dry-run # see the plan, move nothing
video-mcp sort ~/Footage/shoot-0924 # asks before moving
video-mcp sort --undo ~/Footage/shoot-0924 # put everything backEvery clip is analysed on your machine (transcript, keyframes, OCR, and ffmpeg checks for focus,
exposure, shake, audio clipping, silence, black and frozen frames). A signed-in agent CLI
(--agent grok|codex|claude; default is the first one installed, in that order) looks at each
clip and says keep or reject, then groups the whole shoot into topics and picks the best of
repeated takes. Files are moved in place and never overwritten; names are kept, except that a
clash gets (2) added:
shoot/
<Topic>/a-roll/ · <Topic>/b-roll/
_rejects/<Topic>/{a-roll,b-roll}/ bad clips, alternate takes, near-duplicates
footage-report.md every clip with its verdict and reasons
.footage-sort/ analysis cache + undo manifestA-roll is a clip with speech over at least 40% of its length; a folder named a-roll or
b-roll overrides that. Very short, mostly black or frozen clips are rejected without asking
the agent. Re-running only sorts clips added since. Options: --model, --yes,
--concurrency N (default 3), --no-cache. --undo reverts the most recent run; repeat it to
go further back. Speech-to-text runs locally with whisper.cpp; only if no local backend works and
OPENAI_API_KEY is set is audio sent to OpenAI's Whisper API.
Tools
Tool | Use when |
| Setup / missing ffmpeg / Whisper |
| Duration, resolution, codecs (fast) |
| Speech / captions only |
| Exact moment after transcript hit |
| Motion / UI transitions |
| Keyframes without full pipeline |
| “Watch / summarize / understand this video” (frames + speech + OCR) |
| On-screen text only (video keyframes or a single image) |
| Find topic timestamps in long videos |
Prompt: watch_video — guided workflow for agents.
Optional dependencies
Tool | Why |
ffmpeg | Required — frames, probe, audio |
yt-dlp | YouTube / TikTok / platform URLs ( |
whisper / whisper.cpp / | Transcripts when captions are missing |
Manual config (if you prefer)
{
"mcpServers": {
"video": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/videomcp/dist/index.js"]
}
}
}Codex / Grok TOML:
[mcp_servers.video]
command = "node"
args = ["/ABSOLUTE/PATH/TO/videomcp/dist/index.js"]
startup_timeout_sec = 30
tool_timeout_sec = 600Environment
Variable | Purpose |
| Cache/download dir |
| Max inline thumbs (default 6) |
|
|
|
|
| Local Whisper |
| Cloud Whisper fallback |
| Auth for restricted URLs |
| Override tesseract path |
Dev
npm install && npm run build
npm start # MCP stdio
npm test # Vitest
npm run smoke -- /path/to/video.mp4License
MIT
Available Tools
9 toolsvideo_analyzeFull video analysisARead-onlyIdempotent
Most powerful one-shot tool: resolve source → probe → transcript + keyframes (parallel) → OCR on-screen text → merged timeline + agent summary.
Prefer this when the user asks to "watch", "summarize", or "understand" a video. Use detail=brief for long lectures when only speech matters; detailed for short UI demos.
Returns: at-a-glance summary, metadata, transcript, OCR text, frame paths (+ evenly spaced inline thumbs), timeline, warnings.
Inputs: source (required), mode, detail, end_sec, +9 more.
video_check_depsCheck video dependenciesARead-onlyIdempotent
Verify ffmpeg, ffprobe, yt-dlp, and Whisper backends are available. Call first when setup fails.
Returns dependency name, availability, path, version, and install hints.
Inputs: no named parameters.
video_extract_framesExtract key framesARead-onlyIdempotent
Extract representative JPEG frames via scene-change detection and/or interval sampling.
Modes: scene (visual cuts), interval (uniform), both (default fallback). Returns paths always; inline images for vision clients (capped).
Inputs: source (required), mode, detail, end_sec, +4 more.
video_get_frameGet frame at timestampARead-onlyIdempotent
Extract a single JPEG frame at a timestamp (seconds). Returns file path and an inline image for vision-capable clients.
Use after reading a transcript to inspect a specific moment.
Inputs: source (required), time_sec (required), inline_image.
video_get_frame_burstBurst frames in time rangeBRead-onlyIdempotent
Extract N frames across a short time window for motion, UI transitions, or animations.
Prefer narrow windows (e.g. 0.5–3s) with 4–16 frames.
Inputs: source (required), end_sec (required), start_sec (required), count, +2 more.
video_infoVideo metadataARead-onlyIdempotent
Fast metadata probe (duration, resolution, codecs, audio presence) without transcription or frames.
Use before expensive analysis to plan detail level / time ranges.
Inputs: source (required), response_format.
video_ocrOCR frames or a single imageARead-onlyIdempotent
Extract on-screen text with tesseract. Pass a video source to sample keyframes + OCR, or an image path for a single frame/screenshot. Requires tesseract on PATH (brew install tesseract).
Inputs: source (required), max_frames, response_format.
video_search_transcriptSearch within transcriptARead-onlyIdempotent
Transcribe (or reuse captions) then return segments matching a query string (case-insensitive).
Useful for long videos: find when a topic is mentioned, then video_get_frame at that timestamp.
Inputs: query (required), source (required), language, response_format.
video_transcribeTranscribe video audioARead-onlyIdempotent
Timestamped transcript from captions (preferred) or local/cloud Whisper.
Order: sidecar .vtt/.srt → yt-dlp captions → whisper.cpp → whisper CLI → OpenAI Whisper API. Fast for YouTube (native captions). Local files need Whisper or a sidecar caption file.
Inputs: source (required), language, force_whisper, response_format.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool has a clear primary role: analyze for full pipeline, transcribe for speech, ocr for text, frames for visuals, info for metadata, search for locating moments, and deps for setup. The only overlap is video_analyze, which combines several primitives, but its description explicitly directs when to use it, so agents should not be misled.
All tools share the video_ prefix and use lowercase, underscore-separated action-oriented names such as video_extract_frames and video_get_frame_burst. The main deviation is video_info, which uses a noun rather than a verb, but the pattern is otherwise consistent.
Nine tools is well-scoped for a video-processing MCP server. Each tool covers a distinct part of the video-understanding workflow, from dependency checking and metadata probing to transcription, OCR, frame extraction, and combined analysis, without unnecessary bloat.
The surface covers all major video analysis needs: metadata, transcripts, searching, frame extraction, OCR, and a one-shot summary. There are no obvious dead ends—dependencies are checked, and tools are designed to feed into each other (e.g., transcript timestamps to video_get_frame).
Maintenance
Related MCP Connectors
Edit video by talking to your AI — search footage, cut timelines, apply effects, add captions.
Understand your videos with Reka AI — search, ask questions, and extract insights.
Video analysis AI: transcripts, summaries, visual scenes/shots, clips, answers in natural language.
Personal asset search engine: everything you make or upload is searchable by what's inside it.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI agents to index videos locally once and then browse a compact text map of shots, transcript, silences and visual embeddings, so they can query moments, cut dead air, apply edit scripts, render with ffmpeg and run QA checks without spending tokens on frames. Pixels are only fetched when the agent explicitly peeks at labeled contact sheets.9MIT
- 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 gradedqualityCmaintenanceEnables local video understanding by generating numbered storyboard sheets with timecoded transcripts, zooming into selected segments, locating spoken phrases, probing media metadata, and tracking playback progress. It uses local ffmpeg and optional offline speech recognition.MIT
- AlicenseBqualityBmaintenanceEnables local-first video editing for creators and AI agents through tools for auto-editing, shorts, captions, music, QC, transcription, reframing, rendering, and project handoff while footage stays on the user's machine.59318 npm4MIT