video-transcript-fetcher
Fetches and transcribes Instagram reels/posts from URLs by downloading the audio with yt-dlp/FFmpeg and running speech-to-text; can use browser or exported cookies for login-protected content.
Fetches YouTube video transcripts by using published manual or auto-generated captions first; when captions are unavailable, downloads the audio and transcribes it via a configured speech-to-text provider.
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.
video-transcript-fetcher
An MCP server that gets the transcript of an online video from its URL.
YouTube: uses the captions already published on the video first (manual or auto-generated). This is free, takes about a second and needs no API key.
Instagram (reels/posts), and any YouTube video without captions: downloads the audio and runs speech-to-text.
Speech-to-text providers you can plug in: NVIDIA (free API key), Groq (free tier), OpenAI or any OpenAI-compatible API, plus a local Whisper model that runs offline with no key at all.
You: summarize https://youtu.be/jNQXAC9IVRw
Claude → transcribe_video(url) → "Title: Me at the zoo … All right, so here we are, in front of the elephants…"Quick start
Claude Code
claude mcp add video-transcript -e VTF_NVIDIA_API_KEY=nvapi-xxx -- npx -y video-transcript-fetcherClaude Desktop, Cursor and other MCP clients
{
"mcpServers": {
"video-transcript": {
"command": "npx",
"args": ["-y", "video-transcript-fetcher"],
"env": {
"VTF_NVIDIA_API_KEY": "nvapi-xxx"
}
}
}
}With no key at all, YouTube videos that have captions still work. To transcribe audio without any API key, use the local model (see below).
Interactive setup
npx video-transcript-fetcher setupsetup downloads yt-dlp, asks whether you want the local Whisper model (and which size), downloads it, and prints the MCP config to paste into your client. doctor shows what is configured:
npx video-transcript-fetcher doctorRelated MCP server: YouTube Transcript MCP
Tools
Tool | What it does |
|
|
| Lists the providers, which ones are configured, the default and their models |
modeauto(default): published captions first, speech-to-text if there are none.captions: captions only. Fails if the video has none.transcribe: always runs speech-to-text.
formattext(default): plain transcript with a short metadata header.timestamped: one[MM:SS] …line per segment.srt: subtitle file.json: full structured result with segments.
language: for exampleptoren. It picks the caption track and is passed to speech-to-text as a hint. If you leave it out, the server uses the language the platform reports.
Speech-to-text providers
Each provider is enabled by setting its environment variable. All variables use the VTF_ prefix. The server never reads un-prefixed keys like OPENAI_API_KEY, so it can't spend money on a key you set for something else.
id | Enable with | Free? | Default model | Notes |
|
| ✅ free key at build.nvidia.com |
| Riva gRPC on NVCF. Whisper returns no word timings, so timestamps are per 60 s chunk. |
|
| ✅ free tier |
| Very fast |
|
| 💲 |
|
|
|
| ✅ offline |
| Runs on your CPU with transformers.js |
When the caller doesn't name a provider, the server uses VTF_DEFAULT_PROVIDER if set. Otherwise it takes the first available one in the order nvidia → groq → openai → local.
Should I use the local model?
It's a good choice when you want privacy, zero cost or no account. Things to know first:
Disk: the runtime (onnxruntime) is about 700 MB, which is why it isn't installed unless you choose it in
setup. The models range from about 40 MB (whisper-tiny) to about 800 MB (whisper-large-v3-turbo).Speed: it runs on the CPU, so it is much slower than the cloud providers, and larger models are slower still.
tinyandbaseare practical on a laptop;large-v3-turboneeds a fast machine.Accuracy: the cloud providers run
whisper-large-v3, which is noticeably better for Portuguese and other non-English audio thantinyorbase. If you go local, pickwhisper-smallor larger for non-English content.
Configuration reference
Variable | Description |
| Enables NVIDIA |
|
|
| NVCF function id for a model that isn't in the built-in catalog |
| gRPC endpoint (default |
| Groq |
| OpenAI or a compatible API |
|
|
| e.g. |
| Where model weights are stored |
| Provider used when the caller doesn't name one |
| Preferred caption languages, e.g. |
| Netscape |
| e.g. |
| Use this yt-dlp binary. If unset: |
| Use this ffmpeg. If unset: the bundled |
| Refuse longer videos (default 14400 = 4 h, |
| Temporary files / cached binaries and the local runtime |
|
|
How it works
URL ─► source.parse ─► captions? ──yes──► transcript (free)
│no
▼
temp dir ◄─ yt-dlp audio ─► ffmpeg (mono, resampled, chunked) ─► provider × N chunks ─► merged transcript
└──────────── always deleted afterwards ─────────────┘The code uses ports and adapters: platforms, caption sources, audio processing and speech-to-text providers are all swappable adapters behind small interfaces. See docs/ARCHITECTURE.md, which also explains how to add a provider or a platform.
CLI
npx video-transcript-fetcher transcribe "https://www.youtube.com/watch?v=jNQXAC9IVRw" --format timestamped
npx video-transcript-fetcher transcribe "https://www.instagram.com/reel/XXXX/" --provider nvidia --language ptDevelopment
npm install
npm test # unit + integration tests (offline)
npm run test:e2e # live tests; provider tests run only when their VTF_* keys are set
npm run lint && npm run typecheck && npm run buildRequires Node.js 20 or newer.
Notes and limitations
Instagram frequently asks for a login. If a download fails, set
VTF_COOKIES_FROM_BROWSERorVTF_COOKIES_FILE.YouTube changes its internals from time to time. Captions are fetched through two independent paths (a direct HTTP call and yt-dlp) so that one breaking doesn't take both down. Keep yt-dlp current by deleting the cached binary, or point
VTF_YTDLP_PATHat a yt-dlp you keep updated.Respect the terms of service of the platforms and the rights of content owners.
License
MIT
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
Get transcripts from YouTube, TikTok, X, Instagram and more - even when captions are off.
Transcript retrieval for YouTube, TikTok and Instagram: whole channels, playlists and searches.
Fetch transcripts, subtitles, chapters, metadata and frames from YouTube and 10+ video platforms
Extract video transcripts, storyboard grids, and cited JSON from YouTube, TikTok, Reels, and X.
Related MCP Servers
- AlicenseAqualityCmaintenanceTranscribes videos from 1000+ platforms (YouTube, TikTok, Vimeo, etc.) and local video files using OpenAI's Whisper model, with support for 90+ languages and multiple output formats.860 npm9MIT
- AlicenseAqualityCmaintenanceEnables MCP clients and agents to fetch YouTube transcripts and caption lists from video IDs or links, preferring manual/auto captions by ordered language preference and falling back to local Faster-Whisper audio transcription when captions are unavailable. Results include source, language, full text and timestamped segments, with CLI exports to JSON, text, SRT and WebVTT, all without paid APIs or API keys.3MIT
- AlicenseNot gradedqualityCmaintenanceEnables extracting video and post metadata, creator feeds, comments, direct media streams, and transcripts from YouTube, TikTok, Instagram, and Threads, with no API keys or logins required for most sources. Combines Faster-Whisper audio transcription with ffmpeg keyframe and carousel OCR so videos that have no captions or consist of screenshots and text slides still yield full text.MIT
- AlicenseAqualityCmaintenanceEnables transcription of YouTube videos by using available captions or falling back to actual audio with local Whisper ASR and multiple free providers. It supports job status, transcript retrieval and search, audio excerpts, and export formats while keeping source links and timestamps.10MIT