Playhead
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., "@Playhead Watch C:\clips\bug.mp4 and tell me the exact moment the menu glitches."
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.
Playhead is an MCP server that lets Claude, Codex and other AI agents watch local video files a stretch at a time: what changed on screen, what was said, and when it got loud.
Why
Most coding agents can't open a video. The usual workaround is to dump a pile of frames to disk first and read through them, which is slow, expensive and loses the sense of time.
Playhead gives the agent a player instead:
No pre-cutting. The file is decoded on demand from the playhead. Nothing is extracted to disk.
Changes, not footage. Up to 10 samples a second are compared, and only moments where the picture changed are shown. A screen that hasn't moved costs no image at all.
One image per call. The picked moments arrive as a single timestamped filmstrip.
Sound in sync. Speech is transcribed on your machine with Whisper, only as far as playback has reached. Loud moments are flagged.
Rewind and zoom. The agent can skim the whole file, jump anywhere, or freeze a frame and zoom in to read small text.
What it is, honestly: the model does not receive a video stream. As of November 2026 the Claude API takes no video input and MCP has no video content type, so Playhead sends still images and text. Very brief events (shorter than the 0.1 to 0.4 s between samples) can be missed.
Related MCP server: caught-in-4k
What the agent sees
> watch(video_id="v3f9a1c2", seconds=8)
PLAYED 0:08.0 -> 0:16.0 of 0:24.0 | picture: moving
Filmstrip: 9 moment(s) picked from 81 checked, left to right then top to bottom.
Loud moments: 0:12.0, 0:13.0, 0:14.7
Speech (en, machine transcript):
[0:11.8] The secret password is pineapple.
[0:14.8] I repeat, pineapple.
Playhead now 0:16.0 (16.0s). Call watch again to keep playing.Plus the filmstrip image for those eight seconds.
Install
You need uv. The first launch downloads the dependencies, and the first transcription downloads a Whisper model (about 150 MB for base).
Claude Code
claude mcp add playhead -- uvx --from "playhead-mcp[speech] @ git+https://github.com/isaiahagi/playhead-mcp" playhead-mcpCodex (~/.codex/config.toml)
[mcp_servers.playhead]
command = "uvx"
args = ["--from", "playhead-mcp[speech] @ git+https://github.com/isaiahagi/playhead-mcp", "playhead-mcp"]
startup_timeout_sec = 180
tool_timeout_sec = 300Claude Desktop, Cursor and other MCP clients
{
"mcpServers": {
"playhead": {
"command": "uvx",
"args": ["--from", "playhead-mcp[speech] @ git+https://github.com/isaiahagi/playhead-mcp", "playhead-mcp"]
}
}
}Remove [speech] for a smaller, picture-only install.
Then just ask:
Watch
C:\clips\bug.mp4and tell me the exact moment the menu glitches.
Tools
Tool | What it does |
| Loads a file and returns a |
| Plays the next stretch (up to 60 s): filmstrip, speech, loud moments. |
| One moment at high resolution. |
| Evenly spaced glances to find the part worth watching. |
Formats: mp4, m4v, mov, mkv, webm, avi.
Settings
All optional environment variables.
Variable | Default | Purpose |
|
| Any faster-whisper model, for example |
|
|
|
|
| CTranslate2 compute type. |
|
|
|
| unset | Folders the server may read, separated by |
Tested
Measured on Windows 11 with a Ryzen 7 5700G, CPU only, base.en speech model (November 2026).
67 real videos (phone clips, screen recordings and VR gameplay; H.264, HEVC and VP9; 33 of them portrait):
Played start to finish | 67 of 67, no errors |
Footage | 31.3 minutes, processed in 4.9 minutes (6.3x real time) |
| 221, slowest 6.8 s |
Image cost | about 1,500 tokens per |
Picture accuracy | the middle frame of every video matched FFmpeg's (mean pixel difference at most 3 of 255) |
Can an agent actually use it? A generated 24 s quiz video hid a code on screen for 1.5 s, spoke a password, recoloured a ball twice and added small text near the end. With Playhead as the only way to see the file, Claude Code (Sonnet) and Codex CLI each answered all four questions correctly. That is one run each on one easy synthetic video, a smoke test rather than a benchmark.
The automated tests cover decoding, seeking, rotation, change detection, speech syncing, hostile paths and a full MCP session over stdio.
Privacy and safety
Decoding and transcription run on your machine. The filmstrips and transcript are then sent to whatever model your client uses, so treat watching a video like pasting it into that chat.
Without
PLAYHEAD_ROOTS, the server can open any supported video your user account can read.URLs and network paths are rejected, and the demuxer is fixed by file extension, so a playlist renamed to
.mp4can't make it fetch other files.Text and speech inside a video are untrusted input. Playhead labels them as such, but a video can still try to talk your agent into things.
Limitations
Fast action is sampled. Use a shorter
secondsordetail="high"when timing matters.Loud moments are volume peaks, not sound recognition. The agent does not hear music or tone of voice.
The audio track is held in memory (about 230 MB per hour of video).
Recordings still being written usually can't be opened yet.
On Windows, installing into a very deeply nested folder can break the speech libraries ("filename or extension is too long").
uvxavoids this.
Development
uv venv
uv pip install -e ".[speech,dev]"
uv run pytestThe tests generate their own videos, so the repo holds no media. To try it on a folder of your own files (the report contains frames and transcripts, so keep it private):
uv run python scripts/batch_check.py path/to/videos --out reportsRebuild the icon after editing assets/icon.svg:
uv run --with resvg-py python scripts/render_icon.pyLicense
Available Tools
4 toolslookLook closerARead-only
Freeze one moment at high resolution, optionally zoomed. The playhead stays put.
Inputs: time (required), video_id (required), region.
open_videoOpen videoARead-only
Load a video and put the playhead at the start.
Inputs: path (required).
skimSkimBRead-only
Glance across a video (or a range) to find where to watch. Picture only.
Inputs: video_id (required), end, start, frames.
watchWatch (press play)BRead-only
Play the next stretch: what changed on screen, what was said, what was loud.
Inputs: video_id (required), start, detail, seconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool occupies a distinct mode of inspection: open_video initializes, watch consumes a forward stretch with audio, look captures a single high-res frame while holding the playhead, and skim provides a picture-only overview for locating content. watch/look/skim are superficially similar verbs, but the descriptions make the temporal semantics (sequential vs. frozen vs. scanning) clear enough to choose correctly.
All names are short imperative verbs in lowercase snake_case, which is consistent and readable. The only minor deviation is that open_video uses a verb_noun compound while watch/look/skim are bare verbs, but the convention is still clearly unified.
Four tools is well-scoped for a video-inspection server: load, sequential consume, single-frame capture, and overview scanning are the core operations, and each tool earns its place with no redundancy. Nothing feels bloated or arbitrarily split.
The surface covers the main lifecycle of inspecting a video: open, scan for a region, watch sequentially, and freeze a frame. Minor gaps exist, such as retrieving video metadata/duration and watching a specific range with audio (skim is picture-only, and watch only advances forward), but agents can work around these.
Maintenance
Related MCP Connectors
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.
Turn any video into context for AI agents: transcripts, metadata, chapters, timestamps.
Transcripts, summaries, chapters and timestamped search for video links, for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceLets any LLM agent actually watch videos: a watch_video tool takes a URL or local file and returns scene-aware keyframes fused with a timestamped transcript, processed 100% locally with per-source caching.1,232 PyPI2,352MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to inspect UI screen recordings as token-efficient image sheets with changed regions boxed, single-frame flicker flagged, and speech aligned to frames. Exposes watch_video and zoom_video tools so agents can pull dense keyframes across any time range or one sharp full-resolution frame, all processed locally.26 npm1MIT
- 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.-
- AlicenseAqualityBmaintenanceEnables Claude Code, Codex, Claude Desktop and Cursor to see and hear MP4/MOV/MKV/WebM videos and screen recordings through timestamped keyframe storyboards, zoom and full-resolution frame drill-down, and a locally generated Whisper transcript. It also works with recording bundles that capture clicks and typed context, and runs entirely on the user's machine with no uploads or API keys.51MIT