MCP YouTube Server

MCP YouTube Server

mcp-server-youtube-davo20019•bydavo20019

A simple Model Context Protocol server that provides tools for searching YouTube videos and retrieving detailed information about videos, channels, and playlists.

License: MIT License•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Searches YouTube for videos based on a query string, with configurable result count.
  • •Fetches detailed information such as snippet, statistics, and content details for a specific video ID.
  • •Provides channel details, lists recent channel uploads, searches playlists, and lists playlist items.
  • •Finds related videos and lists the most popular videos trending by region or category.

BEST FOR

  • •Using natural language prompts within an MCP host to search YouTube, such as for tutorials or topics.
  • •Retrieving details for a specific YouTube video by its ID through an MCP host.

ABOUT MCP-SERVER-YOUTUBE-DAVO20019

MCP YouTube Server is cataloged as an MCP server attributed to davo20019. A simple Model Context Protocol server that provides tools for searching YouTube videos and retrieving detailed information about videos, channels, and playlists. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP YouTube Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What tools does the MCP YouTube server currently provide?

It provides tools for searching videos, getting video details, getting channel details, listing channel videos, searching playlists, getting playlist items, finding related videos, and listing popular videos.

What API key is required to run the server?

A YouTube Data API v3 key is required, which the setup script prompts for and stores in a .env file.

上游原版 README

在 GitHub 查看同一版本原文

README.md · de5bbdba9b08 · 采集于 2026-11-13 13:58:20 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP YouTube Server

This is a simple Model Context Protocol (MCP) server that provides tools to interact with YouTube. It allows an MCP host application (like Claude for Desktop) to:

  • Search for YouTube videos.
  • Get detailed information about specific YouTube videos.

Requirements

  • Python 3.10 or higher.
  • uv (must be installed before running setup).
  • A YouTube Data API v3 Key. You can obtain one from the Google Cloud Console.
  • bash compatible shell (for running the setup script, primarily Linux/macOS).

Installation & Setup

  1. Clone the repository:

    git clone https://github.com/davo00019/mcp-server-youtube.git
    cd mcp-server-youtube
    
  2. Run the setup script:

    • Ensure you have uv installed (pip install uv or see uv installation).
    • From within the mcp-server-youtube directory, run:
      bash setup.sh
      
    • The script will:
      • Check for uv.
      • Create a virtual environment (.venv) inside mcp-server-youtube.
      • Install dependencies (uv sync).
      • Prompt you for your YouTube API Key and create the .env file.
      • Make the server wrapper script executable.
      • Print the final instructions and the path needed for your MCP host configuration.
  3. Configure MCP Host:

    • Follow the instructions printed at the end of the setup.sh script.
    • Copy the 'Wrapper Script Path' provided by the script.
    • Paste this path into your MCP host's configuration file (e.g., claude_desktop_config.json) as the command for the youtube server, ensuring the args are [].

Configuration Details (.env)

The setup.sh script will prompt you for your YouTube Data API v3 key and create a .env file in the mcp-server-youtube directory with the following content:

YOUTUBE_API_KEY=YOUR_API_KEY_HERE

If you need to change the key later, you can edit this .env file directly.

Running with an MCP Host (Example: Claude for Desktop)

After running the setup.sh script and configuring your MCP host as described above (Step 3 in Installation & Setup), the server should launch automatically when your host application starts.

  1. Find your Claude for Desktop config file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Edit the config file: Update the mcpServers section. The setup.sh script (via print_config_paths.py) provides an example JSON structure showing exactly how to configure the youtube server entry, including the correct absolute path for the command field. Copy and paste or adapt the example from the script's output into your configuration file.

  3. Restart Claude for Desktop.

    • Windows Users Note: The setup.sh and run_server.sh scripts are designed for bash environments (Linux/macOS). You might need to perform the setup steps manually (create venv, install deps, create .env, configure host with direct python/script paths) or adapt the scripts for Windows (e.g., create a run_server.bat).

Usage

Once the server is configured in your MCP host and the host is restarted, the YouTube tools should become available. You can then use natural language prompts within the host application:

  • "Search YouTube for 'python async tutorial'"
  • "Find videos about 'MCP server development'"
  • "Get the details for YouTube video ID XXXXXXX" (Replace XXXXXXX with a valid ID)

The host application will communicate with the local youtube_server.py process to fulfill these requests.

Available Tools

The server currently provides the following tools:

  • search_videos(query: str, max_results: int = 5): Searches YouTube for videos based on a query string.
  • get_video_details(video_id: str): Fetches detailed information (snippet, statistics, content details) for a specific video ID.
  • get_channel_details(channel_id: str): Fetches detailed information (snippet, statistics) for a specific channel ID.
  • list_channel_videos(channel_id: str, max_results: int = 10): Lists recent videos uploaded by a specific channel ID.
  • search_playlists(query: str, max_results: int = 5): Searches YouTube for playlists matching a query string.
  • get_playlist_items(playlist_id: str, max_results: int = 10): Lists the videos contained within a specific playlist ID.
  • get_related_videos(video_id: str, max_results: int = 5): Finds videos that YouTube deems related to a given video ID.
  • get_popular_videos(region_code: str = 'US', video_category_id: str = '0', max_results: int = 10): Lists the most popular videos currently trending in a specific region or category.

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests if you have improvements or bug fixes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP YouTube Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-server-youtube-davo20019)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research