yt-transcript
A YouTube transcript CLI built for humans and AI agents.
Install / Use
claude mcp add nmdra -- npx -y github:nmdra/yt-transcriptIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of yt-transcript
yt-transcript scores 74/100 on our quality scale, 3752nd of 4,608 Development & Engineering skills we index.
Its MCP Server is 7.3 KB long, well organised into 17 sections with 5 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated yesterday, so yt-transcript is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 87/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
yt-transcript compared with similar skills
All 4 of these similar skills score higher than yt-transcript; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| yt-transcript (this skill)by nmdra | 74 | 3 | 1d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 100.1k | today | CLAUDE.md |
| taste-skillby Leonxlnx | 100 | 99.7k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 76.5k | today | CLAUDE.md |
| ai-job-searchby MadsLorentzen | 100 | 59.2k | today | CLAUDE.md |
Frequently asked questions
- How do I install yt-transcript?
- Run
claude mcp add nmdra -- npx -y github:nmdra/yt-transcript. The install tabs above show the steps for each supported agent. - Which AI agents does yt-transcript work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is yt-transcript safe to use?
- It is MIT-licensed and scores 87/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is yt-transcript still maintained?
- The repository was last updated yesterday, so yt-transcript is actively maintained.
Skill content
View source on GitHubyt-transcript
<img width="2172" height="724" alt="yt-transcript Workflow Overview" src="https://github.com/user-attachments/assets/c556b444-b47f-4afa-88c4-0aca64639cae" />Get YouTube transcripts in a caption language that you select. Use the CLI or an AI agent that uses MCP. Save raw captions, create edited Markdown, or create a whole-video summary. The tool uses only captions. It does not download audio or video. It does not require FFmpeg.
Features
- Model-free transcripts: raw CLI output and MCP plain text make no model calls
- Optional Markdown editing: standard transcripts, focused cleanup, or whole-video summaries
- Chapter and timestamp context: supplied chapters or timestamp blocks with original video times
- SponsorBlock filtering: enabled by default for MCP, opt-in for CLI, with full-caption fallback
- Agent retrieval: video metadata, time-range excerpts, transcript search, and stable pagination
- Language selection:
--languageor[captions].language; native tracks rank first, and the tool reports every translation it uses - Machine-readable output:
--jsonfor doctor, preview, transcript, and error output - Local source cache: the CLI and MCP share private caption snapshots; snapshots expire after 24 hours by default
- Provider choice: Pi by default, or direct OpenRouter and DeepSeek APIs
- Cost and output controls: preview planned calls, set a call cap, and publish files only after processing succeeds
Install
Requirements: uv, Python 3.14.7 or newer, and Deno 2.3.0+. yt-dlp retrieves captions and video metadata and is installed automatically as a dependency. The minimum supported version is 2026.8.19, also pinned in the v1.2.0 release lockfile. Markdown also requires a configured model backend. Raw output and MCP plain text do not require one.
Install the pinned v1.2.0 release with MCP support:
uv tool install --python 3.14.7 \
'yt-transcript[mcp] @ git+https://github.com/nmdra/yt-transcript.git@v1.2.0'
yt-transcript --version
yt-transcript --doctor
Important: Bare
uvx yt-transcriptanduv tool install yt-transcriptselect an unrelated PyPI project. Use this repository's pinned tag or verified release wheel.
Use the installation guide for verified assets, exact dependency versions, and updates. For detailed agent setup instructions, use the agent installation guide.
Install with an AI agent
Copy this prompt into an agent that has local shell and file access:
Install `nmdra/yt-transcript` latest version with MCP extra using exactly Python via isolated user-level `uv tool`. Follow official docs(https://github.com/nmdra/yt-transcript/tree/main/docs); use GitHub release assets, not PyPI, and verify wheel/source SHA256 and `uv.lock` dependencies. Stop on errors or ambiguity; require consent before installing tools, replacing installations, or changing settings, while preserving existing configuration, credentials, cache, and MCP servers. Configure only selected clients using official methods and absolute paths. Default to Pi; OpenRouter and Deepseek requires an explicit model ID and securely inherited API key. Run offline checks only, without retrieval or model calls, and report verified results without secrets.
CLI quickstart
Replace URL with a YouTube video URL.
These examples use --no-config to ignore saved wrapper settings. Omit this option to use your configuration.
Get captions without a model
# Save cleaned captions with YAML metadata
yt-transcript URL --no-config --raw -o transcript.txt
# Write only the transcript body to stdout
yt-transcript URL --no-config --raw
# Save unchanged caption VTT
yt-transcript URL --no-config --raw-vtt -o captions.vtt
Create Markdown or a summary
Set up Pi, the default backend, or follow the provider guide for OpenRouter or DeepSeek.
# Fetch captions and inspect the plan without a model call
yt-transcript URL --no-config --preview
# Create an edited transcript
yt-transcript URL --no-config --max-chunks 3 -o transcript.md
# Remove separable non-substantive passages
yt-transcript URL --no-config --editorial-mode focused --max-chunks 3 -o focused.md
# Create a whole-video summary
yt-transcript URL --no-config --editorial-mode summarized --max-chunks 3 -o summary.md
Markdown sends captions to the selected model and can incur charges.
--max-chunks limits planned model calls, including final synthesis for multi-chunk summaries.
Preview retrieves captions but never calls a model.
If a plan exceeds the limit, it fails before any model calls. The tool does not process only part of the video.
Raw and Markdown files written with -o include YAML metadata. Stdout contains only the body.
The tool does not automatically retry model calls, switch providers, or publish partial output.
See the CLI reference for configuration, spelling-correction limits, preview details, and file safety.
MCP quickstart
Connect the installed executable to your MCP client using the MCP setup guide.
Use the executable's absolute path and --mcp. Keep existing client configuration and server settings.
The primary tool returns model-free plain text by default:
get_transcript(url="URL") # filtered, with SponsorBlock fallback
get_transcript(url="URL", mode="full") # skip SponsorBlock
Plain text preserves chapters or timestamp context. Request output_format="markdown" only if you want model editing through the server-selected backend.
| Tool | Use |
| --- | --- |
| get_transcript | Get the complete transcript as plain text or explicit Markdown |
| get_video_info | Get video metadata |
| get_transcript_segment | Get original cues for a time range |
| search_transcript | Find words or phrases with timestamp links |
| get_transcript_page | Read a stored transcript in pages |
The four retrieval helpers never call a model.
They share the local source-caption cache with get_transcript. Markdown still makes model calls on each explicit request.
See tool contracts and cache settings.
Documentation
- Installation: prerequisites, verified releases, updates, and uninstall
- Agent installation prompt: safe setup through an AI agent
- Model providers: Pi, OpenRouter, DeepSeek, API keys, thinking, and token limits
- CLI reference: modes, configuration, preview, and file safety
- MCP setup: client configuration, tool results, and cache settings
- Transcript behavior: chapters, cleanup, summaries, metadata, and filtering
- Troubleshooting: error codes and recovery
- Development and releases: tests, live-check approval, and release workflow
- Changelog
License
The code has an MIT license. SponsorBlock data has a CC BY-NC-SA 4.0 license unless separate permission is granted.
GitHub releases use the tag-triggered public release workflow. PyPI publication requires separate approval.
Related Skills
Agent-Reach
100.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
taste-skill
99.7kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
headroom
76.5kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
59.2kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
