# vid2context-mcp [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/nirholas/vid2context  
**GitHub Stars:** 3  
**npm Downloads (last month):** 884  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/vid2context-mcp

## Description
MCP server for vid2context. Turn any video into context for AI agents and LLMs: YouTube transcripts, captions, speech-to-text, metadata and chapters with timestamps your agent can cite. Free-first: local models, then free tiers, then keyless hosts, paid A

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "vid2context-mcp": {
    "command": "npx",
    "args": ["-y","vid2context"]
  }
}
```

## Documentation

## 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:

```sh
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.

_Full upstream README: https://allmcps.com/mcp/vid2context-mcp/readme_

