YouTube-MCP logo

YouTube-MCP

by CodeWizzard01

YouTube-MCP is an MCP server for interacting with YouTube, providing tools for searching videos, extracting transcripts, and retrieving video details. It's built using Java MCP SDK, Spring AI, and JavaScript for transcript extraction.

View on GitHub

Last updated: N/A

What is YouTube-MCP?

YouTube-MCP is a Model Context Protocol (MCP) server that allows you to access various YouTube functionalities, such as searching for videos, extracting transcripts, retrieving video details, and more, through a standardized interface.

How to use YouTube-MCP?

You can run the MCP server either as a Docker container or directly from an IDE. To use it, you'll need a YouTube API key. After running the server, configure your MCP host (like Claude desktop or Github Copilot) to connect to the server either via SSE or standard input/output, providing the necessary API key and server address/command.

Key features of YouTube-MCP

  • Search for videos on YouTube

  • Extract transcripts from YouTube videos

  • Retrieve details of YouTube videos

  • Get thumbnail URLs for YouTube videos

  • List comments for YouTube videos

  • Get information about a YouTube channel

  • List playlists for a YouTube channel

  • List channel sections

  • List videos in a YouTube playlist

  • List activities for a YouTube channel

  • List video categories available in a region

Use cases of YouTube-MCP

  • Integrating YouTube search functionality into applications

  • Automated transcript extraction for video analysis

  • Retrieving video metadata for content management systems

  • Building custom YouTube interfaces and tools

FAQ from YouTube-MCP

What is MCP?

MCP stands for Model Context Protocol, a standardized way for applications to interact with different models and services.

Do I need a YouTube API key?

Yes, you need a YouTube API key to use this server. You can obtain one from the Google Cloud Console.

What ports does the server use?

The server defaults to port 8080 when running from an IDE and exposes port 8085 when running as a Docker container.

How do I configure my MCP host to use this server?

You need to add a configuration block to your MCP config file, specifying the server address or command to run the server, along with the YouTube API key.

Can I use this server with Claude or Github Copilot?

Yes, you can use this server with any MCP host, including Claude desktop and Github Copilot, by configuring the MCP host to connect to the server.