MCP Server for AI Coding Tools

Connect Your AI to YouTube Data API

Search videos, get details, fetch transcripts, comments, playlists, and more — works with Claude, Cursor, Cline, and other MCP-compatible AI tools

Interactive Demo

Watch how Claude uses YouTube MCP in a real conversation

Select a scenario above to see how Claude uses YouTube MCP

Click the play/pause button to control the demo

Powerful Features

Everything you need to integrate YouTube data into your workflows

Search

Search videos, channels, and playlists with filters for relevance, date, view count, and rating

youtube_search("python tutorial", { maxResults: 3 })

Video Details

Get detailed video metadata, statistics, thumbnails, and content details

youtube_get_video("AJpK3YTTKZ4", ["snippet", "statistics"])

Transcript

Retrieve actual video transcript text with timestamps and segments

youtube_get_transcript("AJpK3YTTKZ4", "en")

Comments

Fetch video comments with pagination support

youtube_get_comments("AJpK3YTTKZ4", { maxResults: 3 })

Playlists

Get playlist details, video list, and list all playlists for a channel

youtube_get_playlist("PLf2m23nhTg1NjL3-jL3s0qZCYzO07ZQPv", { maxResults: 5 })

Quick Installation

Select your AI tool and follow the steps

1

Install pipx (if needed)

brew install pipx
2

Install YouTube MCP

pipx install youtube-connector-mcp
3

Set API Key

export YOUTUBE_API_KEY="your_api_key_here"
4

Add to Claude Code

claude mcp add youtube-connector-mcp youtube-connector-mcp \
  -s user \
  -e YOUTUBE_API_KEY="${YOUTUBE_API_KEY}"

Need an API Key? Get it free from Google Cloud Console