All How-To Guides

3 Ways to Use YouTube with Claude Code

How to use YouTube with Claude Code?

3 MCP servers featured

YouTube videos contain valuable information locked in video format. MCP servers can extract transcripts, fetch metadata, and help Claude work with YouTube content. Here are the best options for YouTube integration.

Recommended MCP Servers

YouTube Transcript MCP

kimtaeyoon83/mcp-server-youtube-transcript

>300

Extract transcripts and subtitles from YouTube videos for analysis and summarization.

Key Features

  • Fetch video transcripts
  • Multiple language support
  • Auto-generated captions
  • Timestamp extraction

Installation

npx youtube-transcript-mcp

The YouTube Transcript MCP is perfect for extracting video content as text. Get transcripts with timestamps, support for multiple languages, and both manual and auto-generated captions. Essential for video research.

Best for: Summarizing and analyzing videos View on GitHub

YouTube MCP

jkawamoto/mcp-youtube-transcript

>200

Extract video information, metadata, and content from YouTube videos.

Key Features

  • Video metadata extraction
  • Channel information
  • Playlist support
  • Search functionality

Installation

npx youtube-mcp

Beyond transcripts, this MCP provides rich video metadata—titles, descriptions, channel info, and view counts. Good for research workflows that need more than just the transcript.

Best for: Video research and metadata View on GitHub

Markdownify MCP

zcaceres/markdownify-mcp

>2k

Convert YouTube video transcripts to Markdown along with other file types.

Key Features

  • YouTube transcript extraction
  • Multi-format conversion
  • Markdown output
  • All-in-one solution

Installation

pnpm install && pnpm run build

Markdownify can extract YouTube transcripts as part of its broader document conversion capabilities. If you work with videos alongside PDFs and other documents, this is a convenient all-in-one solution.

Best for: Mixed content workflows View on GitHub

Quick Comparison

MCPStarsBest ForProsCons
Transcript MCP>360Video transcriptsBest transcript qualityTranscripts only
YouTube MCP>270Video metadataRich data accessCommunity maintained
Markdownify>2kMixed contentAll-in-oneMore complex setup

Getting Started

To use YouTube with Claude Code:

  1. For transcripts, install the YouTube Transcript MCP:

    npx youtube-transcript-mcp
    
  2. Share a YouTube URL and ask Claude to analyze it.

Example prompt: "Get the transcript of this YouTube video and summarize the main points."

Related Guides