youtube-mcp-server logo

Youtube MCP Server

by ZubeidHendricks

4 forks
47 stars
Free

What is youtube-mcp-server

youtube-mcp-server is a server implementation developed by ZubeidHendricks using the Model Context Protocol (MCP) to enable AI language models to interact with YouTube content through a standardized interface. This server acts as a bridge, allowing AI systems to securely access and manage YouTube data. With youtube-mcp-server, AI models can retrieve video details, manage transcripts, handle channel information, and more, making it a powerful tool for AI-driven applications needing YouTube integration.

How to Use youtube-mcp-server

To use youtube-mcp-server, you need to set up the server with the necessary environment configurations. Begin by installing the server; you can do this automatically via Smithery or manually using npm. After installation, configure the server by setting environment variables such as YOUTUBE_API_KEY for API access. Once configured, use the MCP client configuration to connect to the server, allowing AI systems to interact with YouTube data seamlessly.

Installation Steps:

  1. Automatic Installation: Use Smithery CLI to set up the server.

    npx -y @smithery/cli install @ZubeidHendricks/youtube --client claude
    
  2. Manual Installation: Install via npm.

    npm install @modelcontextprotocol/server-youtube
    
  3. Configuration: Set environment variables for API access.

    • YOUTUBE_API_KEY: Your YouTube Data API key.
    • YOUTUBE_TRANSCRIPT_LANG: Default language for transcripts, optional.
  4. MCP Client Configuration: Integrate the server into your MCP client setup.

Key Features of youtube-mcp-server

youtube-mcp-server offers a comprehensive set of features designed to interact with YouTube content efficiently:

Video Information

  • Get Video Details: Access titles, descriptions, durations, and more.
  • List Channel Videos: Retrieve all videos published by a channel.
  • Get Video Statistics: Obtain views, likes, and comment counts.
  • Search Videos: Perform searches across YouTube to find specific content.

Transcript Management

  • Retrieve Transcripts: Access video transcripts, including support for multiple languages.
  • Timestamped Captions: Get detailed captions with timestamps.
  • Search Within Transcripts: Find specific content within video transcripts.

Channel Management

  • Get Channel Details: Access detailed information about a YouTube channel.
  • List Channel Playlists: Retrieve playlists associated with a channel.
  • Get Channel Statistics: Obtain subscriber counts and other metrics.
  • Search Within Channel Content: Explore content specific to a particular channel.

Playlist Management

  • List Playlist Items: Access videos within a playlist.
  • Get Playlist Details: Retrieve comprehensive playlist information.
  • Search Within Playlists: Find specific videos or content within playlists.
  • Get Playlist Video Transcripts: Access transcripts for videos within playlists.

With these features, youtube-mcp-server provides a robust solution for applications needing to integrate YouTube data, enhancing the capabilities of AI models to process and utilize video content effectively.

How to Use

To use the youtube-mcp-server, follow these steps:

  1. Visit https://github.com/Zubeid...
  2. Follow the setup instructions to create an account (if required)
  3. Connect the MCP server to your Claude Desktop application
  4. Start using youtube-mcp-server capabilities within your Claude conversations

Additional Information

Created

December 29, 2024

Start building your own MCP Server

Interested in creating your own MCP Server? Check out the official documentation and resources.

Learn More