# Get YouTube transcripts in Claude Code via MCP

**Use case:** 

Pull YouTube video transcripts straight into Claude Code through MCP. Returns timestamped and plain text transcripts with language data for any video URL.

## Input

```json
{
  "youtube_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}
```

## Output

```json
{
  "url": {
    "label": "YouTube URL",
    "format": "link"
  },
  "video_id": {
    "label": "Video ID"
  },
  "language": {
    "label": "Language"
  },
  "language_code": {
    "label": "Lang"
  },
  "is_generated": {
    "label": "Auto-Gen"
  },
  "total_seconds": {
    "label": "Duration (s)"
  },
  "non_timestamped": {
    "label": "Transcript"
  },
  "success": {
    "label": "OK"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Transcript & Subtitles Scraper API](https://apify.com/johnvc/youtubetranscripts) with a specific input configuration. Visit the [Actor detail page](https://apify.com/johnvc/youtubetranscripts) to learn more, explore other use cases, and run it yourself.