Youtube MCP E11148a8

MCP音视频

提供方 anirudhyadavMS

音视频 未标注 OAuth 授权 社区 / 第三方 ClaudeCline

一个基于YouTube Data API v3的MCP服务器,用于浏览和摘要YouTube内容,支持视频搜索、详情获取、转录提取等功能。

一句话选型结论

按资料字段整理

Youtube MCP E11148a8 属于音视频类 MCP 服务器,传输方式未标注,OAuth 授权,可直接接入 Claude、Cline,没有现成安装命令,需按官方文档接入。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类音视频 传输方式未标注 鉴权OAuth 授权 部署方式支持远程部署
GitHub 星标 1 仓库热度,无公开仓库时显示未标注
工具数 7 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

音视频
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量7暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

支持客户端

适用场景

YouTubeAPITypeScript本地部署视频分析内容摘要AI辅助数据抓取

安装与配置

未标注 OAuth 授权
上游未给出传输方式
  1. 1
    准备运行环境

    确认你的客户端支持远程端点,并拿到服务地址。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后客户端会列出约 7 个工具,随便调一个只读工具确认能返回结果。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
转写与字幕

把音视频转成文字和字幕。

音视频处理

裁剪、转码、拼接素材。

内容分发

把成品发到对应平台。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 资料标注 7 个工具,职责相对集中,接入后不容易误操作。
  • 已适配 Claude、Cline,换客户端不用重新研究配置。

先想清楚的地方

  • 远程端点依赖网络与服务方可用性,注意密钥与调用额度。
  • 没有现成安装命令,需要按官方文档自己填启动命令和参数。
  • 使用前要准备好OAuth 授权对应的凭据,并按最小权限配置。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在音视频场景里让模型直接调用外部能力的人。
  • 已经在用 Claude、Cline 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 不方便管理密钥或第三方授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
Youtube MCP E11148a8当前 7 未标注 支持远程部署 无 2026-05-17
Ableton MCP B7b69a6a 16 stdio · 本地进程 本地部署 有 2026-05-17
Mini Max MCP 8 SSE · 服务端推送 远程部署 有 2026-05-18
LocalAI 未标注 stdio · 本地进程 本地部署 有 2026-04-11
Youtube E0eb3510 未标注 stdio · 本地进程 本地部署 有 2026-05-17
Voicemode MCP 未标注 stdio · 本地进程 本地部署 有 2026-05-17

服务器档案

音视频
字段来自项目仓库与公开索引,中文说明由本站标注
提供方anirudhyadavMS上游标注的维护方 anirudhyadavMS
分类音视频本站按上游分类展示
连接方式未标注上游未给出传输方式
鉴权方式OAuth 授权远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · 未标注本地安装时用到的包标识与运行时
部署类型支持远程部署上游给出的部署形态
最近核验2026-05-17上游最后核验时间

详细介绍

11.8 KB
来自项目仓库与上游目录的原文,未做删改

YouTube MCP Server

> An MCP (Model Context Protocol) server that enables YouTube content browsing and summarization using the YouTube Data API v3.

Features

  • 🔍 Video Search: Search YouTube for videos by keyword with customizable sorting
  • 📊 Video Details: Get comprehensive metadata about any video (views, likes, duration, tags)
  • 📝 Video Transcripts: Fetch video transcripts/captions for summarization and analysis
  • 👤 Channel Information: Get channel stats, subscriber counts, and recent videos
  • 🎬 Channel Videos: List all videos from a specific channel with sorting options
  • 📋 Playlist Information: Get playlist metadata and video counts
  • 🎵 Playlist Videos: List all videos in a playlist with positions

Why Use This?

  • AI-Powered Analysis: Perfect for AI assistants like Claude to analyze YouTube content
  • Cross-Platform: Works with any MCP-compatible client (Claude Code, Cline, etc.)
  • Comprehensive: Combines YouTube Data API v3 with transcript scraping
  • Free Tier Friendly: Optimized for Google's free API quota (10,000 units/day)
  • Type-Safe: Built with TypeScript for reliability

Table of Contents

  • Prerequisites
  • Installation
  • Getting a YouTube API Key
  • Configuration
  • Usage
  • Available Tools
  • Examples
  • API Quota Management
  • Contributing
  • License

Prerequisites

  • Node.js v18 or higher (Download)
  • YouTube Data API v3 key (free, see Getting a YouTube API Key)
  • MCP-compatible client (e.g., Claude Code)

Installation

Option 1: Install from npm (coming soon)```bash

npm install -g youtube-mcp-server


### Option 2: Install from source```bash
# Clone the repository
git clone https://github.com/anirudhyadavMS/youtube_mcp.git
cd youtube-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

Getting a YouTube API Key

You can get a free YouTube Data API key with any Gmail account (no credit card required).

Step-by-Step Guide

  1. Go to Google Cloud Console
    - Sign in with your Gmail account

  2. Create a New Project
    - Click "Select a project" → "New Project"
    - Name it (e.g., "YouTube MCP Server")
    - Click "Create"

  3. Enable YouTube Data API v3
    - Use the search bar to find "YouTube Data API v3"
    - Click on it and press "Enable"

  4. Create API Key
    - Go to "APIs & Services" → "Credentials"
    - Click "Create Credentials" → "API key"
    - Copy the generated API key

  5. Restrict Your API Key (Recommended for security)
    - Click on the API key you just created
    - Under "API restrictions", select "Restrict key"
    - Choose "YouTube Data API v3" only
    - Click "Save"

Free Tier Limits

  • Daily Quota: 10,000 units per day
  • Search: 100 units per request (~100 searches/day)
  • Video Details: 1 unit per request (~10,000 requests/day)
  • Transcripts: Uses web scraping (no quota cost)

Configuration

For Claude Code

Add this to your MCP configuration file:

macOS/Linux: ~/.config/claude-code/mcp_config.json or ~/.mcp.json

Windows: C:\Users\YOUR-USERNAME\.config\claude-code\mcp_config.json or `C:\Users\YOUR-USERNAME.mcp.json````json
{
"mcpServers": {
"youtube": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/youtube-mcp-server/dist/server.js"],
"env": {
"YOUTUBE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}


### For Other MCP Clients

Configure using stdio transport with:
- **Command**: `node`
- **Args**: Path to `dist/server.js`
- **Environment**: `YOUTUBE_API_KEY` with your API key

### Environment Variables

Alternatively, create a `.env` file in the project root:```bash
YOUTUBE_API_KEY=your_api_key_here

Usage

Once configured, restart your MCP client (e.g., Claude Code). The YouTube tools will be automatically available.

Quick Start Examples

Ask your AI assistant:```
"Search YouTube for 'python tutorial' and show me the top 5 videos"

"Get the transcript for video dQw4w9WgXcQ and summarize it"

"Find the most popular videos from the Fireship channel"
``````
"What are the videos in the 'Learn Python' playlist?"


## Available Tools

### 1. `search_youtube`

Search YouTube for videos by keyword.

**Parameters:**```typescript
{
  query: string           // Required: Search term
  maxResults?: number     // Optional: 1-50, default 10
  order?: string         // Optional: "relevance" | "date" | "viewCount" | "rating"
}

Returns: Array of videos with ID, title, channel, thumbnail, description, views, publish date


2. get_video_details

Get comprehensive metadata about a specific video.

Parameters:```typescript
{
videoId: string // Required: YouTube video ID (e.g., "dQw4w9WgXcQ")
}


**Returns:** Detailed video object with title, description, duration, views, likes, tags, category, thumbnails

---

### 3. `get_video_transcript`

Fetch the transcript/captions for a YouTube video.

**Parameters:**```typescript
{
  videoId: string              // Required: YouTube video ID
  language?: string            // Optional: Language code, default "en"
  includeTimestamps?: boolean  // Optional: Include timestamps, default true
}

Returns: Full transcript text with optional timestamps

Note: Only works for videos with captions enabled.


4. get_channel_info

Get detailed information about a YouTube channel.

Parameters:```typescript
{
channelId: string // Required: YouTube channel ID
includeVideos?: boolean // Optional: Include recent videos, default false
}


**Returns:** Channel name, description, subscriber count, view count, video count, recent videos

---

### 5. `get_channel_videos`

List videos from a specific YouTube channel.

**Parameters:**```typescript
{
  channelId: string      // Required: YouTube channel ID
  maxResults?: number    // Optional: 1-50, default 25
  order?: string        // Optional: "date" | "viewCount" | "title"
}

Returns: Array of video objects from the channel


6. get_playlist_info

Get information about a YouTube playlist.

Parameters:```typescript
{
playlistId: string // Required: YouTube playlist ID
}


**Returns:** Playlist title, description, video count, channel, thumbnail

---

### 7. `get_playlist_videos`

List all videos in a YouTube playlist.

**Parameters:**```typescript
{
  playlistId: string     // Required: YouTube playlist ID
  maxResults?: number    // Optional: 1-50, default 50
}

Returns: Array of video objects with playlist positions

Examples

Example 1: Finding Trending Videos```

User: "Search for 'AI news' on YouTube, sorted by view count, show me 10 results"

AI uses: search_youtube
{
"query": "AI news",
"maxResults": 10,
"order": "viewCount"
}


### Example 2: Video Analysis```
User: "Get the transcript for video dQw4w9WgXcQ and summarize the main topics"

AI uses: get_video_transcript
{
  "videoId": "dQw4w9WgXcQ",
  "language": "en",
  "includeTimestamps": false
}

AI then summarizes the transcript content.

Example 3: Channel Deep Dive```

User: "Tell me about the Fireship channel and show me their recent videos"

AI uses: get_channel_info
{
"channelId": "UCsBjURrPoezykLs9EqgamOA",
"includeVideos": true
}


### Example 4: Playlist Exploration```
User: "What videos are in this playlist: PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf"

AI uses: get_playlist_videos
{
  "playlistId": "PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf",
  "maxResults": 50
}

API Quota Management

The YouTube Data API has a daily quota limit. Here's how to manage it:

Quota Costs

Operation Quota Cost Requests/Day (10,000 limit)
Search 100 units ~100 searches
Video Details 1 unit ~10,000 requests
Channel Info 1 unit ~10,000 requests
Playlist Info 1 unit ~10,000 requests
Transcripts 0 units Unlimited (web scraping)

Tips to Conserve Quota

  1. Use transcripts when possible - They don't use API quota
  2. Cache results - Store frequently accessed data locally
  3. Combine operations - Get channel info with videos in one call
  4. Monitor usage - Check quota in Google Cloud Console
  5. Request quota increase - Contact Google if you need more

Checking Your Quota

Visit Google Cloud Console → APIs & Services → Dashboard → YouTube Data API v3

Project Structure```

youtube-mcp-server/
├── src/
│ ├── server.ts # Main MCP server implementation
│ ├── youtube-api.ts # YouTube Data API wrapper
│ ├── transcript.ts # Transcript fetching (web scraping)
│ └── types.ts # TypeScript type definitions
├── dist/ # Compiled JavaScript (generated)
├── package.json # Dependencies and scripts
├── tsconfig.json # TypeScript configuration
├── .env.example # API key template
├── LICENSE # MIT License
├── CONTRIBUTING.md # Contribution guidelines
├── SECURITY.md # Security best practices
└── README.md # This file


## Development

### Build```bash
npm run build

Watch Mode (auto-rebuild on changes)```bash

npm run dev


### Start Server Manually```bash
npm start

Error Handling

The server handles common errors gracefully:

Error Message
Missing API Key Clear setup instructions
Quota Exceeded Helpful message about daily limits
Invalid Video/Channel/Playlist ID User-friendly error
Transcript Unavailable "No transcript available for this video"
Network Errors Automatic error reporting

Technology Stack

  • @modelcontextprotocol/sdk - MCP protocol implementation
  • googleapis - Official YouTube Data API v3 client
  • youtube-transcript - Web scraping for public transcripts
  • TypeScript - Type-safe development
  • Node.js - Runtime environment

Limitations

  • API quota limits (10,000 units/day on free tier)
  • Transcripts only available for videos with captions enabled
  • Some private or restricted videos may not be accessible
  • No support for OAuth-only features (comments, ratings, personal data)
  • Maximum 50 results per request (YouTube API limitation)

Roadmap

Future enhancements being considered:

  • [ ] Caching layer to reduce API quota usage
  • [ ] Support for YouTube Shorts metadata
  • [ ] Batch operations for multiple videos
  • [ ] Live stream detection and metadata
  • [ ] Comment fetching (requires OAuth)
  • [ ] Video category lookup
  • [ ] Trending videos by region
  • [ ] Unit and integration tests

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

Quick Contribution Steps

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Security

Please see SECURITY.md for security best practices and how to report vulnerabilities.

Key Security Tips:
- Never commit your API key to version control
- Restrict your API key to YouTube Data API v3 only
- Monitor your API usage regularly
- Rotate API keys periodically

License

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

Acknowledgments

  • Built with the Model Context Protocol by Anthropic
  • Uses the YouTube Data API v3 by Google
  • Inspired by the MCP community

Support

  • Issues: GitHub Issues
  • Discussions: GitHub Discussions
  • MCP Documentation: modelcontextprotocol.io

Related Projects

  • MCP Servers Repository - Official MCP servers
  • Claude Code - AI coding assistant with MCP support
  • Cline - Another MCP-compatible client

Made with ❤️ for the MCP community

Star this repo if you find it useful! ⭐

常见问题

8 问
答案由本站依据条目字段整理,不引用上游原文
Youtube MCP E11148a8 怎么安装?

资料没有给出安装命令,请到官方仓库或文档按说明接入;这类条目多数是生态应用,或尚未发布可安装包。

Youtube MCP E11148a8 怎么在 Claude、Cline 里配置?

它的传输方式未标注,在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,配置才会生效。

Youtube MCP E11148a8 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Youtube MCP E11148a8 需要 API Key 吗?

资料标注需要OAuth 授权认证,使用前准备好对应凭据,并按最小权限配置。

Youtube MCP E11148a8 支持哪些客户端?

资料标注支持 Claude、Cline;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

Youtube MCP E11148a8 能提供哪些能力?

资料显示约 7 个工具;能力标签包括 TypeScript、Claude、视频分析。具体工具清单以官方文档为准。

Youtube MCP E11148a8 需要什么运行环境?

属于远程端点,不需要在本地装运行时。

Youtube MCP E11148a8 是本地还是远程?

它是远程端点,连服务地址即可。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-05-17。