YouTube MCP
YouTube MCP
用于 YouTube 视频分析的模型上下文协议 (MCP) 服务器,提供使用 Gemini AI 获取成绩单、总结内容和查询视频的工具。
特征
📝成绩单提取:从 YouTube 视频中获取详细的成绩单
📊视频摘要:使用 Gemini AI 生成简洁的摘要
❓自然语言查询:询问有关视频内容的问题
🔍 YouTube 搜索:查找符合特定查询的视频
💬评论分析:检索并分析视频评论
Related MCP server: YouTube Translate MCP
要求
Python 3.9+
Google Gemini API 密钥
YouTube 数据 API 密钥
本地运行
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 youtube-mcp:
npx -y @smithery/cli install @Prajwal-ak-0/youtube-mcp --client claude选项 1:直接安装
克隆存储库:
git clone https://github.com/Prajwal-ak-0/youtube-mcp cd youtube-mcp创建虚拟环境并安装依赖项:
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate pip install -e .使用您的 API 密钥创建一个
.env文件:GEMINI_API_KEY=your_gemini_api_key YOUTUBE_API_KEY=your_youtube_api_key运行 MCP 服务器:
python main.py
选项 2:使用 MCP CLI
安装 MCP CLI:
pip install mcp在您的项目中创建一个
mcp.json文件:{ "youtube": { "command": "uv", "args": [ "--directory", "/absolute/path/to/youtube-mcp", "run", "main.py", "--transport", "stdio", "--debug" ] } }使用 MCP 启动服务器:
mcp run youtube
与 Docker 一起使用
构建 Docker 镜像:
docker build -t youtube-mcp .使用您的 API 密钥运行容器:
docker run -e GEMINI_API_KEY=your_gemini_api_key -e YOUTUBE_API_KEY=your_youtube_api_key youtube-mcp
在 Smithery 上部署
该 MCP 服务器可以部署在Smithery上,以便于访问:
在 Smithery 上添加或声明您的服务器
单击 Smithery 部署选项卡上的“部署”
出现提示时提供您的 API 密钥
可用工具
youtube/get-transcript:获取视频记录youtube/summarize:生成视频摘要youtube/query:回答有关视频的问题youtube/search:搜索 YouTube 视频youtube/get-comments:检索视频评论youtube/get-likes:获取视频点赞数
贡献
欢迎贡献!请随时提交 Pull 请求。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to extract transcripts from YouTube videos, allowing AI to analyze and work with video content directly.153MIT
- AlicenseAqualityCmaintenanceA Model Context Protocol server that enables access to YouTube video content through transcripts, translations, summaries, and subtitle generation in various languages.54MIT
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that enables searching YouTube videos, retrieving and storing transcripts, and performing semantic search over video content without using the official YouTube API.29MIT
- AlicenseBqualityDmaintenanceMCP (Model Context Protocol) server that utilizes the Google Gemini Vision API to interact with YouTube videos. It allows users to get descriptions, summaries, answers to questions, and extract key moments from YouTube videos.4166MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Multimodal video analysis MCP — transcription, vision, and OCR for any video URL.
Any social-video URL → transcript, metadata, frames, OCR, summary, search, Q&A. MCP server + x402.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Prajwal-ak-0/youtube-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server