video-understanding-mcp
This local MCP server can probe and transcribe local media files offline while enforcing allowed filesystem roots.
Inspect an absolute local media path with
ffprobeviavideo_probe, returning normalized metadata such as duration, container, streams, ffprobe version, input SHA-256, and cache status.Transcribe the first audio stream of a local media file offline with
whisper.cppviavideo_transcribe, optionally specifying language or auto-detection.Write timestamped transcript JSON and Markdown to an existing allowed output directory and return transcript segments plus durable file paths.
Reuse cached probe/transcript results when inputs and configuration match, indicated by
cache_hit.
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-understanding-mcp Transcribe /home/user/video.mp4 and save transcript to /home/user/transcripts"
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-understanding-mcp
Local stdio MCP server for extracting bounded, reproducible evidence from video.
Early development: Milestones 1 through 3 provide safe video inspection, offline transcription, and timestamp-accurate visual evidence extraction.
The server provides:
video_probe, backed byffprobevideo_transcribe, backed by FFmpeg and whisper.cppvideo_extract_frames, with source-PTS scene and cadence samplingtimestamped transcript JSON and Markdown written to caller-selected roots
absolute-path and allowed-root enforcement
symlink-escape protection
bounded, cancellable subprocess execution
content-addressed probe, transcript, and frame caching with retention limits
vu-doctorreadiness checks for FFmpeg, FFprobe, and whisper.cppsynthetic media fixtures and MCP stdio contract tests
Requirements
Node.js 22 or newer
ffmpegffprobewhisper-cliand a local whisper.cpp GGML model (optional; only needed forvideo_transcribe)
Install whisper.cpp and bootstrap a model
On macOS with Homebrew:
brew install whisper-cpp
npm run bootstrap:model
export VU_WHISPER_MODEL_PATH="$HOME/.local/share/video-understanding-mcp/models/ggml-large-v3-turbo-q5_0.bin"The bootstrap script downloads the official
ggml-large-v3-turbo-q5_0.bin
model and verifies its Git LFS SHA-256 digest,
394221709cd5ad1f40c46e6031ca61bce88931e6e088c188294c6d5a55ffa7e2,
before reporting the configuration value. A failed checksum leaves no accepted
model. Pass a different destination directory when required:
npm run bootstrap:model -- /absolute/model/directoryThe server never downloads a model or makes any other network request while processing media.
Related MCP server: ollos-mcp
Build and run
git clone https://github.com/kwacky1/video-understanding-mcp.git
cd video-understanding-mcp
npm install
npm run build
VU_ALLOWED_READ_ROOTS="$HOME/Videos" \
VU_ALLOWED_WRITE_ROOTS="$HOME/Documents/transcripts" \
VU_WHISPER_MODEL_PATH="$HOME/.local/share/video-understanding-mcp/models/ggml-large-v3-turbo-q5_0.bin" \
npm startVU_ALLOWED_READ_ROOTS is a path-delimited list. If it is omitted, the server
allows reads only within its current working directory.
Optional configuration:
Variable | Default | Purpose |
| current directory | Readable filesystem roots |
| readable roots | Writable transcript roots |
|
| Maximum accepted input size |
|
| FFprobe executable |
|
| FFmpeg executable |
|
| whisper.cpp executable |
| none | Absolute path to a local GGML model |
| platform cache directory | Content-addressed cache root ( |
|
| Maximum cache entry age |
|
| Maximum total cache size with LRU eviction |
Both root variables are path-delimited lists (: on macOS/Linux, ; on
Windows). Output directories must already exist, resolve inside a configured
writable root, and be writable.
Windows setup
The server runs natively on Windows 10/11 without WSL. Frame extraction and probing only need FFmpeg; transcription is optional.
Install Node.js 22 or newer and FFmpeg (which includes
ffprobe):winget install --id OpenJS.NodeJS.LTS -e winget install --id Gyan.FFmpeg -ewinget adds
ffmpeg.exeandffprobe.exeto%LOCALAPPDATA%\Microsoft\WinGet\Links. Open a new terminal so the updatedPATHis picked up.Build and check readiness:
git clone https://github.com/kwacky1/video-understanding-mcp.git cd video-understanding-mcp npm install npm run build npm run doctorwhisper.cppis reported asOPTIONALwhen it is not installed; the doctor only fails when FFmpeg or FFprobe are missing. Thebootstrap:modelscript needs a POSIX shell, so skip it on Windows unless you are using Git Bash or WSL.Optionally generate a short synthetic clip to confirm frame extraction:
node dist\generate-fixture.js "$env:USERPROFILE\Videos\vu-fixture.mp4"
Copilot CLI configuration on Windows
Add the server to %USERPROFILE%\.copilot\mcp-config.json. Use absolute
paths, escape backslashes in JSON, and point the FFmpeg variables at the
executables so the server does not depend on the MCP host's PATH:
{
"mcpServers": {
"video-understanding": {
"type": "local",
"command": "node",
"args": ["C:\\Users\\you\\video-understanding-mcp\\dist\\server.js"],
"env": {
"VU_ALLOWED_READ_ROOTS": "C:\\Users\\you\\Videos",
"VU_ALLOWED_WRITE_ROOTS": "C:\\Users\\you\\Videos\\frames",
"VU_FFMPEG_PATH": "C:\\Users\\you\\AppData\\Local\\Microsoft\\WinGet\\Links\\ffmpeg.exe",
"VU_FFPROBE_PATH": "C:\\Users\\you\\AppData\\Local\\Microsoft\\WinGet\\Links\\ffprobe.exe"
},
"tools": ["*"]
}
}
}If you manage Node with nvm-windows and the active version is older than 22,
set command to the absolute path of a newer node.exe instead of node.
Create the writable output directory before calling video_extract_frames.
Separate multiple roots with ;.
Transcription
video_transcribe accepts:
{
"path": "/absolute/path/demo.mp4",
"output_dir": "/absolute/path/transcripts",
"language": "en"
}It extracts the first audio stream to a temporary 16 kHz mono WAV, runs
whisper-cli locally, and removes scratch files on success, failure, or
cancellation. The result includes timestamped segments and durable
transcript_json_path and transcript_markdown_path values.
The transcript cache key includes the input SHA-256, transcription schema,
canonical parameters, whisper executable fingerprint, and model SHA-256.
Repeating the same call reuses cached transcript artefacts and returns
cache_hit: true; changing the input, language, model, or executable
configuration invalidates the cache.
Timestamped frame extraction
video_extract_frames accepts:
{
"path": "/absolute/path/demo.mp4",
"output_dir": "/absolute/path/evidence",
"interval_seconds": 10,
"scene_threshold": 0.4,
"max_frames": 24,
"return_inline": false
}The sampler combines the first frame, source-time cadence, scene changes, and
FFmpeg mpdecimate near-duplicate removal. It never uses the timestamp-
rewriting fps filter. The server records every selected frame's source PTS,
timebase, duration, selection reason, and SHA-256 in a durable
provenance.json file.
max_frames cannot exceed 24. Inline images are disabled by default; when
requested, no more than four JPEG thumbnails are returned and their longest
edge is at most 512 pixels. Full extracted frames remain in the durable output
directory.
All cache stages are pruned to the configured age and total-size limits. Recent cache hits update the entry timestamp used for least-recently-used eviction.
Doctor
npm run doctor
npm run doctor -- --jsonThe doctor exits non-zero when FFmpeg or FFprobe is not ready. whisper.cpp is
optional: when it is missing the doctor reports it as OPTIONAL and still
exits zero, and only video_transcribe is unavailable.
Licence
Available Tools
2 toolsvideo_probeProbe local videoA
Inspect a local media file with ffprobe and return normalised metadata. The path must be absolute and inside an allowed read root.
Inputs: path (required). Returns: streams, cache_hit, container, duration_ms, +3 more
video_transcribeTranscribe local videoA
Transcribe the first audio stream of a local media file with whisper.cpp. Processing is offline and writes timestamped JSON and Markdown into an allowed output directory.
Inputs: path (required), output_dir (required), language. Returns: engine, language, segments, cache_hit, +5 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have completely distinct purposes: video_probe inspects metadata, while video_transcribe performs audio transcription. There is no overlap or ambiguity between them.
Both tool names follow the same verb_noun snake_case pattern (video_probe, video_transcribe), with the action first and the domain prefix consistent. The naming is uniform and predictable.
With only two tools, the server feels thin for the broad domain of video understanding. The count is borderline but not extreme, as both operations are relevant and non-trivial.
The tool surface is severely incomplete for a server named 'video-understanding'. It only covers two basic operations: metadata inspection and speech transcription. There are no tools for common video-understanding tasks such as scene detection, object recognition, action classification, or even audio extraction.
Related MCP Connectors
Turn any video into context for AI agents: transcripts, metadata, chapters, timestamps.
Transcribe audio and video files to text with timestamps, SRT and VTT. Whisper runs inside.
Transcode, host and caption video from a prompt. Fifteen tools, nine read-only, nothing deletes.
YouTube transcripts (chunks, phrase search, most replayed moments), PDFs and web pages as Markdown.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLM agents to process local videos into timestamped, citable text documents and then query them through tools for listing videos, retrieving transcripts, and fetching specific segments, all fully offline.MIT
- AlicenseNot gradedqualityBmaintenanceProvides local, offline transcription, keyframe extraction, OCR, and pre-publish review of audio, video, and image files, enabling AI agents to see and hear media without cloud or API keys.52 npmApache 2.0
- AlicenseAqualityBmaintenanceEnables AI agents to analyze videos by producing timestamped transcripts, keyframe contact sheets, and metadata reports from local files or online URLs, fully offline and without API keys.6MIT
- AlicenseAqualityBmaintenanceEnables local, upload-free analysis of publicly viewable videos through tools that pull metadata, chapter plans, platform subtitles or speech-to-text transcripts, sampled frames and contact sheets, 527-class sound event tags, and comment analysis. It downloads only the minimum necessary bytes, so users can inspect long videos section by section, job-poll lengthy runs, and check the local model/environment setup without sending media to any cloud service.1819 PyPI1MIT