YouTube 转录服务器
一个模型上下文协议服务器,支持检索 YouTube 视频的文字记录。该服务器通过简单的界面直接访问视频字幕。
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 YouTube 成绩单服务器:
成分
工具
- 获取成绩单
- 从 YouTube 视频中提取文字记录
- 输入:
url
(字符串,必需):YouTube 视频 URL 或视频 IDlang
(字符串,可选,默认值:“en”):成绩单的语言代码(例如,'ko','en')
主要特点
- 支持多种视频 URL 格式
- 特定语言的成绩单检索
- 响应中的详细元数据
配置
要与 Claude Desktop 一起使用,请添加此服务器配置:
通过工具安装
mcp-get用于安装和管理模型上下文协议 (MCP) 服务器的命令行工具。
Awesome-mcp-服务器
awesome-mcp-servers精选的优秀模型上下文协议 (MCP) 服务器列表。
发展
先决条件
- Node.js 18 或更高版本
- npm 或 yarn
设置
安装依赖项:
构建服务器:
对于使用自动重建的开发:
测试
调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们建议使用 MCP Inspector 进行开发:
错误处理
服务器针对常见场景实现了强大的错误处理:
- 视频 URL 或 ID 无效
- 无法获取成绩单
- 语言可用性问题
- 网络错误
使用示例
- 通过视频网址获取成绩单:
- 通过视频ID获取成绩单:
- 如何在 Claude 桌面应用程序中提取 YouTube 字幕
安全注意事项
服务器:
- 验证所有输入参数
- 优雅地处理 YouTube API 错误
- 实现成绩单检索超时
- 提供详细的错误消息以进行故障排除
执照
此 MCP 服务器采用 MIT 许可证。详情请参阅许可证文件。
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
一个模型上下文协议服务器,支持检索 YouTube 视频的文字记录。该服务器通过简单的界面直接访问视频字幕。
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that enables retrieval of transcripts from YouTube videos with language-specific support.Last updated -526MIT License
- -securityFlicense-qualityA Model Context Protocol server that enables AI assistants to extract transcripts from YouTube videos, allowing AI to analyze and work with video content directly.Last updated -61TypeScript
- -security-license-qualityA Model Context Protocol server that enables access to YouTube video content through transcripts, translations, summaries, and subtitle generation in various languages.Last updated -PythonMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables retrieval of transcripts from YouTube videos. This server provides direct access to video transcripts and subtitles through a simple interface, making it ideal for content analysis and processing.Last updated -125810TypeScriptMIT License