mcpField
Y
youtube-transcript

youtube-transcript

github.com/badlogicProductivity2.6k730 installsUpdated 21w ago
Repository

About youtube-transcript

A skill that retrieves timestamped transcripts from YouTube videos when captions or transcripts are available. It accepts a video ID or URL and supports both manual and automatically generated transcripts.

Key features

  1. 01Accepts video IDs or full URLs
  2. 02Retrieves timestamped transcript entries
  3. 03Supports manual and auto-generated transcripts

Use cases

  1. 01Getting text from a video for review
  2. 02Finding a spoken passage by timestamp

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/badlogic/pi-skills --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