gemini-youtube-transcriber-mcp
Transcribes YouTube videos directly from their URL (no downloading, no intermediate storage) and returns a timestamped transcript in a machine-readable MM:SS: format, with speaker labels when multiple speakers are distinguishable.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
gemini-youtube-transcriber
Transcribes YouTube videos using the Gemini API, exposed as both a Python library and an MCP server.
Why Gemini?
Gemini has native, first-party access to YouTube — it can read and process a YouTube video directly from its URL, with no downloading, no intermediate storage, and no third-party tooling required. You pass a URL, Gemini watches the video (at FPS<1 and low-resolution to save on tokens, as this is an audio-centric task), and returns a transcription. This keeps the implementation minimal and the latency low.
Related MCP server: YouTube Transcripts MCP Server
Output format
Each line of the transcription follows a consistent, machine-readable format:
MM:SS: <text>When multiple speakers are distinguishable:
MM:SS: Speaker A: <text>
MM:SS: Speaker B: <text>Installation
pip install .Requires a Gemini API key. Set it as an environment variable:
export GEMINI_API_KEY="your-key-here"Optionally, override the Gemini model (default: gemini-3-flash-preview):
export GEMINI_MODEL="gemini-3.1-flash-lite-preview"Usage
CLI
transcribe https://www.youtube.com/watch?v=EFMy5atDfMwBy default this writes a text file named after the video ID and the UTC time of
the run — EFMy5atDfMw_20260916T142317Z.txt — in the current directory.
Use -o/--output to choose the path, or - to print to stdout instead:
transcribe -o notes.txt https://www.youtube.com/watch?v=EFMy5atDfMw
transcribe -o - https://www.youtube.com/watch?v=EFMy5atDfMw | lessPython
from youtube_transcriber import transcribe_youtube
transcript = transcribe_youtube("https://www.youtube.com/watch?v=...")
print(transcript)mcpb (Claude Desktop)
Download the latest .mcpb file from the Releases page and open it — Claude Desktop will install the extension automatically and prompt you for your Gemini API key.
MCP server
python -m youtube_transcriber.serverRegister in your MCP client config:
{
"mcpServers": {
"youtube-transcriber": {
"command": "python",
"args": ["-m", "youtube_transcriber.server"],
"env": {
"GEMINI_API_KEY": "your-key-here",
"GEMINI_MODEL": "gemini-3-flash-preview"
}
}
}
}The MCP tool transcribe_youtube_video accepts a YouTube URL and returns the full transcription string.
mcpb
A manifest.json is included for one-click installation via mcpb. mcpb will prompt you for your Gemini API key and handle the rest — no manual config editing required.
mcpb install .Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Your YouTube library, in the AI tools you already use: Claude, ChatGPT, Cursor, any MCP client.
Real-time YouTube transcripts, comments, channels & video search MCP. Local npx or hosted OAuth.
Fetch YouTube transcripts with timestamps, search history, and export data for AI models.
Turn YouTube videos and audio or video files into searchable, exportable transcripts.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server providing tools to fetch YouTube video transcripts with metadata, supporting direct YouTube transcripts and audio transcription via multiple backends (whisper, AssemblyAI, OpenAI, Gemini).-
- FlicenseAqualityDmaintenanceProvides YouTube video transcripts (text and metadata) as MCP tools for AI hosts like Claude Code, enabling summarization, search, and Q&A without watching the video.2-
- FlicenseNot gradedqualityDmaintenanceEnables users to fetch YouTube video transcripts via a single MCP tool, with support for multiple languages and OAuth-protected access.-
- AlicenseNot gradedqualityDmaintenanceEnables MCP clients to analyze YouTube videos by extracting summaries, timestamped outlines, diagrams with Mermaid code, and targeted insights about specific moments using Gemini's native video understanding.MIT