Video to Context
MCP server that turns short videos into timestamped text for LLMs and AI tools
Video to Context is an open-source MCP server for design and media. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted, API
- Runs
- Locally
- What it can do
- Can change data (1 tool)
- Version
- 0.5.3
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add video-to-context --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' --env VISION_API_KEY='<VISION_API_KEY>' -- uvx video-to-contextAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"video-to-context": {
"command": "uvx",
"args": [
"video-to-context"
],
"env": {
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
"VISION_API_KEY": "<VISION_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"video-to-context": {
"command": "uvx",
"args": [
"video-to-context"
],
"env": {
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
"VISION_API_KEY": "<VISION_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"video-to-context": {
"command": "uvx",
"args": [
"video-to-context"
],
"env": {
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
"VISION_API_KEY": "<VISION_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"video-to-context": {
"type": "stdio",
"command": "uvx",
"args": [
"video-to-context"
],
"env": {
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
"VISION_API_KEY": "<VISION_API_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add video-to-context --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' --env VISION_API_KEY='<VISION_API_KEY>' -- uvx video-to-contextOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.video-to-context]
command = "uvx"
args = ["video-to-context"]
env = { ANTHROPIC_API_KEY = "<ANTHROPIC_API_KEY>", VISION_API_KEY = "<VISION_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"video-to-context": {
"command": "uvx",
"args": [
"video-to-context"
],
"env": {
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
"VISION_API_KEY": "<VISION_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "video-to-context": { "command": "uvx", "args": [ "video-to-context" ], "env": { "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>", "VISION_API_KEY": "<VISION_API_KEY>" } } } }Or run: gemini mcp add -s user -e ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' -e VISION_API_KEY='<VISION_API_KEY>' video-to-context uvx -- video-to-context
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "video-to-context": { "command": "uvx", "args": [ "video-to-context" ], "env": { "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>", "VISION_API_KEY": "<VISION_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "video-to-context": { "command": "uvx", "args": [ "video-to-context" ], "env": { "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>", "VISION_API_KEY": "<VISION_API_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "video-to-context": { "command": "uvx", "args": [ "video-to-context" ], "env": { "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>", "VISION_API_KEY": "<VISION_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "video-to-context": { "command": "uvx", "args": [ "video-to-context" ], "env": { "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>", "VISION_API_KEY": "<VISION_API_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "video-to-context": { "command": "uvx", "args": [ "video-to-context" ], "env": { "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>", "VISION_API_KEY": "<VISION_API_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "video-to-context": { "command": "uvx", "args": [ "video-to-context" ], "env": { "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>", "VISION_API_KEY": "<VISION_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "video-to-context": { "command": "uvx", "args": [ "video-to-context" ], "env": { "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>", "VISION_API_KEY": "<VISION_API_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
ANTHROPIC_API_KEYOptional Claude API key for visual analysis.VISION_BASE_URLOptional OpenAI-compatible vision endpoint, such as Ollama or Gemini.VISION_API_KEYOptional API key for the OpenAI-compatible endpoint.VISION_MODELVision model name. Required with VISION_BASE_URL.VIDEO_TEXT_ALLOWED_DIRSOptional folders the server may read local videos from.
About Video to Context
Language models cannot watch video, so this server produces a text version of a clip. It transcribes speech with a local Whisper model, reads on-screen text with OCR, and can add scene descriptions from an optional vision model. Every item is labelled by source and timestamp, which makes the output easy to feed into summaries, search or fact-checking.
It runs as a stdio MCP server that AI clients such as Claude Code and Cursor can call. Analysis of a YouTube link or an allowed local file runs as a background job, and clients check status and fetch the finished record as Markdown or JSON. Vision analysis can use Claude, Gemini, OpenAI, OpenRouter or a local Ollama model, and the Ollama route keeps frames on the machine.
The project suits developers building RAG or moderation pipelines and people who want an assistant to discuss a short video. Processing is slow on CPU, and the tool only accepts YouTube URLs for remote sources.
Tools this server provides (5)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 5 tools changes data.
From the server's own tool labels and tool names; not verified by us.
- start_video_analysisName suggests: changes
- Starts a background job for a YouTube link or allowed local file
- get_analysis_statusName suggests: reads
- Reports whether the job is queued, running, or finished
- get_video_textName suggests: reads
- Returns the finished result as Markdown or JSON
- list_analyzed_videosName suggests: reads
- Lists videos that already have results
- check_setupName suggests: reads
- Checks ffmpeg, the vision model, and file access
What it does
- Timestamped speech transcript
- Spoken audio is transcribed locally with Whisper and each segment is tagged with its time range.
- On-screen text extraction
- Captions, headlines, watermarks and logos are read from frames and labelled by type.
- Optional visual descriptions
- A vision model can describe scenes, settings and editing, using Claude or any OpenAI-compatible endpoint.
- Background job workflow
- Long analyses run asynchronously, with tools to check status and retrieve finished results.
- Local file support
- Local videos can be processed when their folders are explicitly allowed in settings.
- Structured output
- Results are saved as record.md for language models and record.json for code.
Good for
- Give an AI assistant the speech and on-screen text of a YouTube Short to summarise
- Check what claims a short video makes in its captions for fact-checking
- Build a retrieval pipeline over short-form video content
- Moderate short videos by reviewing transcript and on-screen text
- Analyse ads or social clips with source and time labels attached
Pricing
Open source
Open source; hosted vision APIs are billed by their providers.
More servers for the same service
Video to Context FAQ
Do I need a paid vision model to use Video to Context?
No. Without a vision model it still produces the transcript and reads on-screen text locally, though it skips visual analysis. Ollama is also free and runs locally.
Which video sources are supported?
YouTube links and video files on your computer. Remote URLs are limited to YouTube, and local files are only read from folders you allow.
Are video frames sent to a third party?
Only if you choose a hosted vision provider. Using Ollama or no vision model keeps frames on your machine.
What are the length limits?
Videos can be up to 5 minutes and 200 MB by default, and these limits can be changed in the source config.
How do I add Video to Context to Claude Code?
Run this command in your terminal: claude mcp add video-to-context --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' --env VISION_API_KEY='<VISION_API_KEY>' -- uvx video-to-context
What are the best alternatives to Video to Context?
The closest alternatives to Video to Context are Claude Real Video, Ocular Audio MCP, Media Context MCP, Video Vision MCP and Watch Video.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.