MCP.so
Sign In

Overview

What is YouTube MCP Server?

A Model Context Protocol (MCP) server for interacting with YouTube data. It provides resources and tools to query YouTube videos, channels, comments, and transcripts through a stdio interface, enabling AI assistants to access YouTube content.

How to use YouTube MCP Server?

Install Node.js v16+ and obtain a YouTube Data API key. Install manually by cloning the repository and running npm install, then building with npm run build and starting with npm start. Alternatively, install automatically via Smitherly with npx -y @smithery/cli install @coyaSONG/youtube-mcp-server --client claude. Set your API key in a .env file as YOUTUBE_API_KEY. Docker deployment is also supported.

Key features of YouTube MCP Server

  • Search videos with advanced filtering options
  • Get detailed information about videos and channels
  • Compare statistics across multiple videos
  • Discover trending videos by region and category
  • Retrieve video comments and transcripts
  • Generate video analysis and transcript summaries

Use cases of YouTube MCP Server

  • Search and retrieve YouTube video metadata for content analysis
  • Compare performance statistics across multiple videos
  • Analyze channel performance and video trends
  • Fetch and summarize video transcripts
  • Access trending videos and category lists by region

FAQ from YouTube MCP Server

What are the prerequisites for using YouTube MCP Server?

Node.js v16+ and a YouTube Data API key are required.

How do I configure the YouTube API key?

Set the YOUTUBE_API_KEY environment variable in a .env file in the root directory.

What transports does the server support?

The server communicates via a stdio interface.

Can I deploy YouTube MCP Server using Docker?

Yes, the project includes a Dockerfile for containerized deployment.

How does the server handle errors?

It handles invalid API key, video or channel not found, transcript not available, and network issues with appropriate error messages.

Tags

More from Media & Design