youtube-whisper
This MCP server lets you transcribe YouTube audio, extract HD keyframes, inspect video/channel metadata, and monitor Groq API key quota.
Transcribe YouTube videos verbatim via Groq Whisper Large V3 into timestamped transcript files, with optional language and output path; audio is silence-chunked under 25 MB.
Extract native 720p/1080p HD frames at exact timestamps via HLS range-seek without downloading the full video.
Fetch YouTube video metadata such as title, channel, duration, upload date, and live status.
List channel uploads while excluding Shorts, with configurable limit and oldest-first/newest-first sorting.
Check Groq API key pool status, active key counts, and cooldown timers for rate-limit handling.
Provides tools for working with YouTube videos: verbatim timestamped transcription of original audio via Groq Whisper, HD keyframe extraction at specific timestamps, video metadata retrieval, and chronological channel video listing.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@youtube-whisper Transcribe https://youtu.be/dQw4w9WgXcQ verbatim with timestamps"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
whis-tube ποΈπΉ
High-Fidelity YouTube Verbatim Transcription & Rapid Visual Keyframe Intelligence MCP Server
whis-tube is a self-contained, zero-sudo Model Context Protocol (MCP) server and CLI engineered for AI Coding Agents (Antigravity, Claude Code, Cursor, Windsurf, Codex, OpenCode, Cline, Hermes). It combines lossless verbatim audio transcription via Groq Whisper Large V3 with blazing-fast HD (720p/1080p) visual keyframe extraction for ground-truth visual validation.
β¨ Key Features
Zero-Sudo 1-Command Setup (
bootstrap.py): Uses only Python's standard library to download standalone staticuv,ffmpeg, andffprobe(withlibsoxr& HLS support) into./.bin/, create./.venv/withyt-dlpandmcp, and register Antigravity MCP/plugin configsβnosudo,apt, orbrewrequired.Drop-In Project Key Vault (
./keys.json): Openkeys.jsonright inside the cloned folder, paste your Groq API key(s), and save. Changes hot-reload automatically without restarting, and keys are shielded viachmod 600,git --skip-worktree, and a.git/hooks/pre-commitsecret guard so keys are never leaked to GitHub.True Verbatim Audio Ground-Truth (No Auto-Captions): Fetches the original audio track (actively rejecting AI auto-dubbing), decodes once to FLAC 16 kHz mono using the SoX resampler and speech-clarity filter (
highpass,dynaudnorm), and transcribes every spoken word with timestamp accuracy.Universal Domain Presets & Hot-Reloaded Custom Lexicon (
lexicon.json): Neutral bilingual default for general content (zero forced finance bias), auto-detection across 6 built-in presets (tech,finance,crypto,medical,gaming,business), explicit override viapreset/--preset(auto,none, or custom preset names), automated ticker/brand extraction, and drop-in customization vialexicon.json(copylexicon.example.jsonβlexicon.jsonin project root or~/.config/whis-tube/lexicon.json).Smart Silence-Detected Chunking (<25MB): Automatically detects pauses and silence intervals to slice long audio (1β3+ hours) into ~10-minute segments. Requests strictly remain under Groq's 25 MB payload limit.
Multi-Key Pool & 429 Failover: Rotates across multiple Groq API keys seamlessly. When an HTTP 429 rate limit is encountered, the server reads the
retry-afterheader, flags the key for cooldown, and transparently dispatches remaining chunks to another available key without failing the task.Rapid Visual Keyframe Extraction (HLS Range-Seek): Extracts crisp native 720p/1080p frames in 4β7 seconds on exact timestamps without downloading the entire video file.
Universal Agent Discovery & Direct CLI Fallback: Ships with
AGENTS.md,CLAUDE.md,GEMINI.md, andSKILL.mdso any agent harness immediately knows how to set up and run every toolβeither over MCP or directly via./.venv/bin/whis-tube.
Related MCP server: YouTube MCP
β‘ 2-Step Quickstart (Zero-Sudo)
Step 1: Clone & Auto-Bootstrap (No sudo, No Prompts)
git clone https://github.com/chocowarsky/whis-tube.git
cd whis-tube
python3 bootstrap.pyThis automatically installs standalone uv, ffmpeg, ffprobe, .venv (yt-dlp, mcp, requests, python-dotenv, pydantic), configures Antigravity (~/.gemini/config), and verifies readiness.
Step 2: Add Your Groq API Key(s)
Open keys.json right in the whis-tube folder, paste one or more free Groq keys from console.groq.com/keys, and save:
{
"keys": [
"gsk_your_first_key_here",
"gsk_your_second_key_here"
]
}Check readiness anytime:
python3 bootstrap.py --doctor
./.venv/bin/whis-tube --check-quotaKey Discovery Priority:
./keys.json(project root) β./keys.local.jsonβ<workspace>/keys.jsonβGROQ_KEYS_PATHβGROQ_API_KEY(.envor env var) β~/.config/groq/keys.json. Placeholder templates are automatically ignored so they never shadow real keys.
π MCP Client & CLI Usage
1. Google Antigravity (IDE, CLI agy & Desktop)
Running python3 bootstrap.py automatically registers youtube-whisper in ~/.gemini/config/mcp_config.json and installs the plugin bundle into ~/.gemini/config/plugins/whis-tube.
Or install directly with agy:
agy plugin install /path/to/whis-tube
agy plugin validate --strict ~/.gemini/config/plugins/whis-tube2. Claude Code / Cursor / Windsurf / Generic MCP Clients
.mcp.json at the repo root auto-launches the self-healing server via python3 bootstrap.py --serve:
{
"mcpServers": {
"youtube-whisper": {
"command": "python3",
"args": ["bootstrap.py", "--serve"]
}
}
}If pointing from an external workspace config, pass the full path to bootstrap.py (or ./.venv/bin/python -m whis_tube.server).
3. Direct CLI Mode (Works Immediately Without MCP Reload)
./.venv/bin/whis-tube --check-quota
./.venv/bin/whis-tube --info "https://www.youtube.com/watch?v=VIDEO_ID"
./.venv/bin/whis-tube --list-channel "https://www.youtube.com/@handle/videos" --limit 30 --sort oldest_first
./.venv/bin/whis-tube --keyframe "https://www.youtube.com/watch?v=VIDEO_ID" "00:15:30" --resolution 1080 --output frames/
./.venv/bin/whis-tube --transcribe "https://www.youtube.com/watch?v=VIDEO_ID" --output transcripts/ --language id --preset auto
./.venv/bin/whis-tube --transcribe "https://www.youtube.com/watch?v=VIDEO_ID" --preset tech --glossary "FastMCP, Docker, Kubernetes"4. Customizing Presets & Lexicons (lexicon.json)
Copy lexicon.example.json to ./lexicon.json (project root) or ~/.config/whis-tube/lexicon.json to define custom domain presets (triggers, style_seed, glossary, phonetic_rules), override built-in presets, or change default_preset without editing Python code. Discovery order (highest priority first, hot-reloaded on every run):
<repo_root>/lexicon.json<repo_root>/lexicon.local.json<workspace>/lexicon.jsonWHIS_TUBE_LEXICON_PATHenvironment variable~/.config/whis-tube/lexicon.json
π§° Available MCP Tools
Tool Name | Description | Arguments |
| Downloads original audio, chunks at silence (<25MB), and transcribes verbatim into timestamped |
|
| Extracts native HD frames (720p / 1080p) at exact timestamps ( |
|
| Retrieves concise metadata (title, channel, duration, live stream status). |
|
| Generates a chronological catalog of channel uploads (excluding Shorts), ordered oldest to newest. |
|
| Real-time health dashboard inspecting active Groq API keys, binary readiness, usage cooldowns, and pool status. | (none) |
π Repository Structure
whis-tube/
βββ AGENTS.md # Universal AI agent bootstrap & tool instructions
βββ CLAUDE.md # Claude Code entrypoint instructions
βββ GEMINI.md # Gemini CLI / Antigravity entrypoint instructions
βββ bootstrap.py # Zero-sudo stdlib installer, binary manager & --serve launcher
βββ keys.json # Local API key file (edit & save; protected by skip-worktree)
βββ keys.example.json # Clean placeholder template for keys.json
βββ lexicon.example.json # Template for custom domain presets, style seeds & phonetic rules
βββ plugin.json # Antigravity plugin manifest
βββ mcp_config.json # Antigravity MCP server configuration
βββ .mcp.json # Claude Code / Cursor self-healing MCP configuration
βββ .env.example # Optional environment variables template
βββ pyproject.toml # Package configuration & dependencies
βββ SKILL.md # AI Agent Research Methodology & SOP
βββ README.md # Documentation
βββ assets/
β βββ logo.svg # Plugin icon for Antigravity UI
βββ skills/
β βββ youtube-whisper/
β βββ SKILL.md # Bundled Antigravity plugin skill
βββ src/
βββ whis_tube/
βββ __init__.py # Package metadata
βββ __main__.py # Module CLI entrypoint
βββ runtime.py # Self-healing PATH, python -m yt_dlp & static ffmpeg guard
βββ config.py # Configuration & local/global key path discovery
βββ server.py # FastMCP server, tool definitions & direct CLI runner
βββ audio.py # yt-dlp, SoX FLAC encoding, clarity filter & chunking
βββ code_switch.py # Bilingual Indonesian-English code-switching & phonetic rules
βββ groq_pool.py # Multi-key Groq pool, hot-reload & automatic 429 failover
βββ visual.py # HLS range-seek frame grabber
βββ utils.py # Timestamp formatting & channel parserπ License
Distributed under the MIT License. Free for personal and commercial agent workflows.
Available Tools
5 toolscheck_groq_quotaA
Inspect Groq API key pool status, active key counts, and cooldown timers.
Inputs: no named parameters. Returns: result
extract_keyframeA
Extract a native 720p or 1080p HD keyframe at an exact timecode (HH:MM:SS) via HLS m3u8 range-seek without downloading full video bytes.
Args: url: YouTube video URL. timestamp: Exact timecode string ('HH:MM:SS' or 'MM:SS', e.g. '00:15:30'). output_path: Optional output path (.jpg) or folder. Defaults to './frames/<video_id>_.jpg'. resolution: Target resolution height in pixels (720 or 1080). Defaults to 720.
Inputs: url (required), timestamp (required), resolution, output_path. Returns: result
get_video_infoB
Fetch YouTube video metadata (title, channel, duration, upload date, live status).
Args: url: YouTube video URL.
Inputs: url (required). Returns: result
list_channel_videosA
Enumerate video uploads from a channel without downloading bytes. Excludes Shorts (<60s). Defaults to chronological oldest-to-newest order.
Args: channel_url: YouTube channel uploads URL (e.g. 'https://www.youtube.com/@channel/videos'). limit: Maximum number of videos to list (default: 30). sort_order: 'oldest_first' (recommended for research) or 'newest_first'.
Inputs: channel_url (required), limit, sort_order. Returns: result
transcribe_youtubeA
Download audio, apply silence-detected chunking (<25MB), and transcribe verbatim via Groq Whisper Large V3 with timestamped segment accuracy.
Args: url: YouTube video URL (standard watch, short link, or completed livestream archive). output_path: Optional output path or directory for transcript files (.md & raw.json). Defaults to './transcripts/<video_id>.md'. language: Optional language code (e.g. 'id', 'en', 'ja'). If omitted, auto-detected.
Inputs: url (required), language, output_path. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 5 tools
Each tool targets a distinct operation: quota inspection, keyframe extraction, metadata fetch, channel enumeration, and transcription. There is no meaningful overlap between any pair, so an agent can select confidently.
All five tools follow a clean verb_noun pattern (check_groq_quota, extract_keyframe, get_video_info, list_channel_videos, transcribe_youtube). No camelCase or style mixing.
Five tools is a tight, focused set that matches the transcription-centric purpose well. Slightly lean, with check_groq_quota acting as an auxiliary helper rather than a core domain tool, but nothing feels out of place.
The surface covers the core lifecycle: discover videos (list_channel_videos), inspect them (get_video_info), transcribe (transcribe_youtube), and grab frames (extract_keyframe), plus quota management. Minor gaps like batch processing or caption export exist but agents can work around them by iterating.
Maintenance
Related MCP Connectors
YouTube transcripts, search, channel/playlist listings and upload tracking for AI agents.
YouTube for AI agents: transcripts, comments, video stats, channel monitor, Shorts captions.
Transcripts, summaries, chapters and timestamped search for video links, for AI agents.
YouTube transcripts, search, channels, playlists and bulk transcript jobs for AI agents. 14 tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to extract YouTube video metadata and generate high-quality multilingual transcriptions with voice activity detection, supporting 99 languages with translation capabilities and intelligent caching.56MIT
- AlicenseAqualityDmaintenanceProvides production-grade tools for YouTube channel resolution, video metadata extraction, transcripts, and playlist management. It features a quota-aware, AI-friendly design that supports structured searching and listing of public YouTube data.72MIT
- AlicenseNot gradedqualityBmaintenanceProvides AI agents with token-optimized access to YouTube data, including video details, transcripts, channel statistics, trending videos, and search.1,477 npmMIT

fetchworks-mcpofficial
AlicenseAqualityDmaintenanceEnables AI agents to retrieve YouTube transcripts from individual videos, channels, and search results, supporting multiple output formats such as plain text, SRT, and VTT.3MIT