mcpField
Y
youtube-transcript

youtube-transcript

github.com/nicepkgProductivity288125 installsUpdated 41w ago
Repository

About youtube-transcript

youtube-transcript is a command-line skill for retrieving timestamped transcripts from YouTube videos. It accepts a video ID or URL and works with available manual or auto-generated captions.

Key features

  1. 01Fetch transcripts by video ID or URL
  2. 02Include timestamps with transcript entries
  3. 03Support manual and auto-generated captions

Use cases

  1. 01Review a video's spoken content with timestamps
  2. 02Prepare transcript text for later reference

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/nicepkg/ai-workflow --skill youtube-transcript

After installing, type/youtube-transcriptin Claude Code to confirm it loaded.

Bundled filespackage.jsontranscript.js

Details

From the project README

YouTube Transcript

Fetch transcripts from YouTube videos.

Setup

cd {baseDir}
npm install

Usage

{baseDir}/transcript.js <video-id-or-url>

Accepts video ID or full URL:

  • EBw7gsDPAYQ
  • https://www.youtube.com/watch?v=EBw7gsDPAYQ
  • https://youtu.be/EBw7gsDPAYQ

Output

Timestamped transcript entries:

[0:00] All right. So, I got this UniFi Theta
[0:15] I took the camera out, painted it
[1:23] And here's the final result

Notes

  • Requires the video to have captions/transcripts available
  • Works with auto-generated and manual transcripts

Comments

Markdown supported