Vid2context MCP logo

Vid2context MCP

Turn videos, playlists, podcasts, and media files into timestamped transcripts, metadata, chapters, and agent-ready context.

Install Vid2context MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "vid2context-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "vid2context"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

npx -y vid2context

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

vid2context-mcp connects AI agents to videos, playlists, podcasts, and media files through a stdio MCP server. It retrieves creator or platform captions when available, then falls back to speech-to-text providers and returns transcripts, metadata, chapters, and formatted context with timestamps. The server supports YouTube, Bilibili, Vimeo, Loom, X posts, local files, direct media URLs, and other yt-dlp sources. Reach for it when an agent needs to search, summarize, or answer questions about video content with citations.

Use cases

  • Retrieve timestamped transcripts from tutorial videos
  • Create context packs from playlists or podcast series
  • Answer questions about media with citation-ready timestamps
  • Search saved video transcripts by keyword or vector similarity

Key features

  • Captions and speech-to-text fallback chain
  • Timestamped transcript, JSON, Markdown, SRT, and VTT output
  • Support for YouTube, yt-dlp sources, local files, and media URLs
  • Agent context packs for one or multiple videos
  • Local, free-tier, keyless, and paid provider rungs
  • 28 stdio MCP tools

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · vid2context (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
npm downloads884Package downloads in the last 30 days.
Last commit3d agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.

How Vid2context MCP works

What vid2context-mcp does

vid2context-mcp turns video and audio sources into material that an AI agent can read and cite. It can process YouTube videos, Shorts, playlists, channels, comments, Bilibili, X posts, Vimeo, Loom, Wistia, direct media URLs, local files, share links from Google Drive, Dropbox, and OneDrive, plus sites supported by yt-dlp.

The returned data can include a transcript, source metadata, chapters, and timestamp references. Output formats include plain text, JSON, Markdown, SRT, VTT, and an agent-oriented context pack. The broader project also supports bundles containing the generated formats.

How it works

For each input, vid2context resolves the source before fetching metadata and chapters. It checks creator-provided captions first, then platform-generated captions. If captions are unavailable, it downloads audio and uses a speech-to-text provider.

Speech-to-text and language-model operations use an ordered rung chain. Each rung combines a provider, model, and credential. The chain can prioritize local processing, hosted free tiers, keyless services, or paid APIs, and can skip failing providers during cooldowns. Attempts are recorded with their operation, result, and provider so an operator can inspect the path taken.

The server can use local options such as whisper.cpp, Transformers.js, Ollama, LM Studio, llama.cpp, or vLLM, as well as supported hosted services. With no keys configured, the project can use a keyless OVH Whisper rung for transcription.

Setup and configuration

Node.js 22 or newer is required for local use. Start the MCP process without installing it by running:

Terminal
npx vid2context-mcp

The repository also provides a source-based setup using npm install and its CLI commands. The MCP surface runs over stdio. A separate remote MCP mode uses Streamable HTTP with OAuth, while the project also exposes an HTTP API.

Configuration can select a processing policy such as local-only, free, or quality, and can include rung or service allowlists and exclusions. The related CLI provides models, doctor, and config commands for inspecting enabled providers, local dependencies, network access, resolved settings, and masked secrets.

Tools and capabilities

The MCP server exposes 28 tools for working with video context. Supported capabilities include:

  • Retrieve transcripts, metadata, and chapters from individual sources.
  • Process playlists, channels, feeds, pages, and local media.
  • Produce timestamped text and structured formats for agent workflows.
  • Create context packs covering one or multiple videos.
  • Support cited briefs, timestamp-based questions and answers, translations, schema extraction, auto-chapters, key moments, and SponsorBlock segments where the corresponding project capability is used.
  • Work with saved libraries, collections, keyword search, and vector search backed by SQLite, Postgres with pgvector, or Cloudflare D1 and R2.

Limitations and notes

The planned video mode is not implemented by a provider. Although a video mode flag exists, it cannot currently use a multimodal model to inspect on-screen text, slides, or code from video frames.

Caption availability depends on the source. When captions cannot be obtained, processing relies on an available speech-to-text rung and its supported input and service constraints. Paid APIs are used only when their credentials are configured. The project keeps raw transcripts alongside summaries, briefs, and extractions rather than replacing the source transcript.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Vid2context MCP

vid2context-mcp is an MCP server that connects AI agents to videos, playlists, podcasts, and media files from sources such as YouTube, Bilibili, Vimeo, Loom, and local storage. Its main tools retrieve transcripts, metadata, chapters, timestamped formats, and agent-ready context packs through stdio MCP.

Run `npx vid2context-mcp` with Node.js 22 or newer. The repository also supports a source installation using `npm install`; the server starts in stdio MCP mode.

It supports YouTube, Bilibili, X posts, Vimeo, Loom, Wistia, local files, direct media URLs, Google Drive, Dropbox, OneDrive share links, and sites supported by yt-dlp.

Yes, it can run with zero configuration by using available captions or a keyless OVH Whisper transcription rung. Local models, hosted free tiers, and paid providers can be selected when configured.

Yes, timestamped transcripts and Markdown outputs let agents cite moments in the source video. The project also supports cited briefs and timestamp-based question answering.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewVid2context MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/vid2context-mcp?style=directory)](https://allmcps.com/mcp/vid2context-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/vid2context-mcp"><img src="https://allmcps.com/api/badge/vid2context-mcp?style=directory" alt="Vid2context MCP on AllMCPs" /></a>