EY

ergut/youtube-transcript-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

40 stars 5 forks 质量 63 趋势 12MIT

Claude 的 YouTube 文字稿提取,无需设置。可在移动端、桌面端和网页端运行——无需本地安装。

概览

模型上下文协议(MCP)服务器,使Claude AI能够从YouTube视频中提取文字稿。该服务器为包括移动设备在内的任何平台用户提供零设置访问权限。 - :无需安装 - 可直接从云端运行 - :支持桌面、移动端和网页版 Claude - :高效缓存系统,使用 Cloudflare KV 快速响应 - : 提取多种语言的文字稿 - : 强大的错误处理和用户友好的消息 - : 内置请求跟踪和使用分析 - 支持 YouTube 所有 URL 格式(youtube.com、youtu.be、m.youtube.com 等) 最简单的入门方式——只需将我们的公共服务器添加到您的Claude桌面: 1. - 在菜单栏→“设置”中点击“Claude” - 进入“开发者”标签 - 点击“编辑配置” 2. 将此添加到你的claude_desktop_config.json中: 3. 保存配置文件后,重启 Claude Desktop 加载服务器。 4. 在聊天界面中寻找工具图标(🔧)。

概述(AI 翻译)

这是首个远程的模型上下文协议(MCP)服务器,使Claude AI能够从YouTube视频中提取文字稿。该服务器为包括移动设备在内的任何平台用户提供零设置访问。

🌟 特色

  • 零本地设置:无需安装——可直接从云端运行
  • 通用访问:支持桌面、移动和网页版的Claude
  • 智能缓存:利用Cloudflare KV实现快速响应的高效缓存系统
  • 多语言支持:提取不同语言的文字稿
  • 错误处理:强健的错误处理,用户友好的消息
  • 分析:内置请求跟踪和使用分析
  • URL 灵活性:支持所有 YouTube URL 格式(youtube.com、youtu.be、m.youtube.com 等)

🚀 快速启动

选项1:使用我们的托管服务器(推荐)

最简单的入门方式——只需将我们的公共服务器添加到您的Claude桌面:

给 Claude 桌面用户

  1. 打开Claude桌面设置
  • 点击菜单栏中的“Claude”,→“设置”
  • 导航至“开发者”标签页
  • 点击“编辑配置”
  1. 添加MCP服务器配置

把这个加到你的claude_desktop_config里。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

🌟 Features

  • Zero Local Setup: No installation required - works directly from the cloud
  • Universal Access: Works on desktop, mobile, and web versions of Claude
  • Smart Caching: Efficient caching system using Cloudflare KV for fast responses
  • Multi-language Support: Extract transcripts in different languages
  • Error Handling: Robust error handling with user-friendly messages
  • Analytics: Built-in request tracking and usage analytics
  • URL Flexibility: Handles all YouTube URL formats (youtube.com, youtu.be, m.youtube.com, etc.)

🚀 Quick Start

The easiest way to get started - just add our public server to your Claude Desktop:

For Claude Desktop Users

  1. Open Claude Desktop Settings

    • Click on “Claude” in the menu bar → “Settings”
    • Navigate to “Developer” tab
    • Click “Edit Config”
  2. Add the MCP Server Configuration

    Add this to your claude_desktop_config.json:

    {
      "mcpServers": {
        "youtube-transcript": {
          "command": "npx",
          "args": [
            "mcp-remote",
            "https://youtube-transcript-mcp.ergut.workers.dev/sse"
          ]
        }
      }
    }
    
  3. Restart Claude Desktop

    After saving the config file, restart Claude Desktop to load the server.

  4. Verify Installation

    Look for the tools icon (🔧) in the chat interface. You should see the get_transcript tool available.

Option 2: Deploy Your Own

Want to run your own instance? Deploy to Cloudflare Workers in one click:

Or manually:

git clone https://github.com/ergut/youtube-transcript-mcp
cd youtube-transcript-mcp
npm install
npm run deploy

For Other MCP Clients

The server supports the standard MCP protocol and can be used with any compatible client:

  • Public Server URL: https://youtube-transcript-mcp.ergut.workers.dev/sse
  • Transport: Server-Sent Events (SSE) or HTTP
  • Authentication: None required (public server)

📖 Usage Examples

Basic Transcript Extraction

Extract the transcript from this YouTube video: https://www.youtube.com/watch?v=dQw4w9WgXcQ

Multi-language Support

在 GitHub 查看完整 README

安装

npx mcp-remote https://youtube-transcript-mcp.ergut.workers.dev/sse
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "youtube-transcript": { "command": "npx", "args": [ "mcp-remote", "https://youtube-transcript-mcp.ergut.workers.dev/sse" ] } } }