Extract any video from a URL: transcript plus the keyframes that matter, all locally.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Give an AI agent any video link: download the file, read the transcript, or get just the frames that matter β all on your own machine.
Two jobs, and you can use either on its own:
Get the video. A YouTube link, a TikTok, a WeChat Channels share URL, a raw .mp4, or a page from a site nobody has heard of β it resolves and downloads it, whole or just the section you asked for. If that is all you need, stop there; nothing forces you to analyse anything.
Or read it. A transcript (real captions when the platform has them, local speech recognition when it does not) and a small set of important keyframes β deduplicated, scene-aware, and scored β instead of a thousand near-identical stills.
Built for AI agents. Three MCP tools, no cloud, no API keys, no Python.
Get the video, from almost anywhere. Paste a link and it resolves: YouTube, TikTok, Instagram, X, Facebook and Reels, Twitch, Vimeo, Reddit, WeChat Channels, a bare .mp4 or .m3u8, or a page on a site nobody has heard of. Local files work too. Anything unsupported comes back as a clear failure rather than a crash.
From there you choose how much work to pay for:
Everything happens on your machine. No API key, no upload, no third-party service.
Two problems, really. Getting the video at all β every platform hides its media behind a different mechanism, and none of them want a script fetching it. And then reading it: an LLM cannot watch a video, and the usual workaround β dump every Nth frame into the context window β burns enormous amounts of context on frames that are 98% identical to the one before, while still missing the slide that changed when nothing else moved.
video-extract-mcp handles both:
Fetching, from almost anywhere. One resolver chain covers the big platforms, direct media URLs, and generic sites, with ranged fetches where the platform allows them and cookie support for anything that needs a login. Downloading is a complete use of this tool, not a step on the way to something else.
Transcript, honestly sourced. The platform's own captions are used whenever the video has any β human-written first, otherwise the platform's automatic ones. Audio is transcribed locally (Whisper or SenseVoice) only for videos with no captions at all. The result tells you which you got, via transcript.source.
Keyframes chosen, not sampled. Scene-boundary detection, blur/quality filtering, on-screen-text novelty (subtitle-aware, so burned-in captions don't preserve redundant frames), and image-embedding similarity feed an iterative diversity-aware selector.
Output goes to disk, not into your context. The tool reply is a compact summary plus file paths. A 35-frame manifest and a full transcript don't belong in a conversation where the agent needs three numbers from them.
Everything runs on your machine. No third-party API, no upload, no key. Long analyses can run as MCP background tasks β the tool returns a handle immediately and pushes progress; see Background tasks below.
Install the system binaries first β these can't come from npm:
Then point your MCP client at the package. There are two ways, and they differ in ways worth thirty seconds of your time.
Option A β npx, nothing installed. Simplest, and it picks up new releases on its own.
Claude Code:
Codex:
Another agent? Point it at SKILL.md and it can install itself.
Keep the @latest β without it npx pins to the first version it cached and never updates.
Option B β installed globally. Starts faster and gives you the video-extract status CLI as a real command.
Then register it β Claude Code:
Codex:
npx (A) | global install (B) | |
|---|---|---|
| Updates | automatic only with @latest in the spec β a bare npx -y @yanlinglabs/video-extract-mcp pins to the first version it cached and never updates | manual: npm update -g @yanlinglabs/video-extract-mcp. You stay on the installed version until you run it |
| Startup | ~0.9s (npm resolution on every launch) | ~0.1s |
video-extract status in your shell | not on PATH β needs npx -y -p @yanlinglabs/video-extract-mcp video-extract status | works directly |
| Working directory | must not be this package's own checkout (see below) | irrelevant |
Neither affects what agents can do: an agent checks on background work over HTTP using the statusUrl handed to it in the reply, never a shell command. The CLI is for humans.
Or in any MCP client's config β "command": "npx", "args": ["-y", "@yanlinglabs/video-extract-mcp@latest"] for A, or "command": "video-extract-mcp" with no args for B:
One gotcha with
npx, and it only bites contributors. Run inside this package's own git checkout,npx @yanlinglabs/video-extract-mcpfails withcommand not foundβ npx sees the localpackage.jsonclaiming that name, looks for the binary in a localnode_modules/.binthat was never populated, and gives up. Since MCP clients launch servers with the working directory set to your project, option A cannot work in this repo. Working on the tool itself? Point that one project at your build βclaude mcp add --scope local video-extract -- node "$PWD/dist/mcp.js"β which also means anpm run buildtakes effect immediately, with no publish round-trip. Everywhere else,npxis fine.
That is enough for any video that has captions β which, thanks to the caption-first transcript policy, is most of them. The vision model downloads itself on first use.
Speech models are only needed for videos with no captions at all, and they are fetched automatically the first time one is. Only the engine that video needs is downloaded β 233 MB for the Chinese/Japanese/Korean model, 1.3 GB for Whisper β into ~/.cache/video-extract-mcp/models. Set VIDEO_EXTRACT_AUTO_FETCH_MODELS=0 to keep it manual, or pre-fetch them yourself:
~/.cache/video-extract-mcp/models is where the tool looks by default. Override with VIDEO_EXTRACT_MODELS_DIR. If the fetch is disabled or fails, an uncaptioned video still returns frames and records a warning explaining why the transcript is missing β it degrades rather than fails.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/video-extract-mcp)<a href="https://allmcps.com/mcp/video-extract-mcp"><img src="https://allmcps.com/api/badge/video-extract-mcp?style=directory" alt="Video Extract MCP on AllMCPs" /></a>