YouTube MCP Server logo

YouTube MCP Server

mvslee/youtube-mcp-server
0 starsUpdated 2025-08-22Community

Is this your server?

Add your score badge to your README and get your server in front of 45k+ builders a month.

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Enables Claude to interact with YouTube Data API for searching videos, channels, and playlists, and retrieving details and playlists.

README.md

YouTube MCP Server (Enhanced v3.0)

增强版MCP服务器,用于YouTube Data API与Claude的集成

🔧 增强内容

  • ✅ 修复了Claude连接问题
  • ✅ 支持多种启动方式
  • ✅ 改进了错误处理机制
  • ✅ 添加了详细的调试日志

功能特性

  • 🎬 获取YouTube播放列表信息和视频
  • 🔍 搜索YouTube视频、频道和播放列表
  • 📹 获取详细的视频信息
  • 📺 获取频道信息和播放列表
  • 🔑 灵活的API密钥管理

安装步骤

快速安装

git clone https://github.com/mvslee/youtube-mcp-server.git
cd youtube-mcp-server
npm install

配置Claude Desktop

配置文件位置:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json

推荐配置(使用Shell脚本):

{
  "mcpServers": {
    "youtube": {
      "command": "/path/to/youtube-mcp-server/run-mcp.sh",
      "args": [],
      "env": {
        "YOUTUBE_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

备选配置(直接使用Node):

{
  "mcpServers": {
    "youtube": {
      "command": "node",
      "args": ["/path/to/youtube-mcp-server/start-mcp.js"],
      "env": {
        "YOUTUBE_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

文档和许可

作者: mvslee 许可证: MIT

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Search servers.