Engineering · Open-source tools

mcp-youtube-transcribe

An MCP server that gives an AI client a YouTube video's text: metadata, existing captions, or a local-GPU Whisper transcription.

Source on GitHub

About the project

Problem
An AI assistant cannot watch a YouTube video. A simple transcription tool fails on real videos: the text is too long for the context window, and long videos take longer than a request may last.
What I built
An MCP server with six tools, cheapest first. It reads the video's details, fetches captions when they exist, and runs Whisper on the local GPU only when they do not. Long text comes in pages, and long jobs run in the background.
Result
An 18-minute talk is 18,430 characters of captions, handed over one page at a time. Most videos need no GPU at all, because their captions already exist.
What I learned
A tool for an AI is designed around the model's limits: how much text it can hold, how long it waits, and which step is cheapest to try first.