modelscope·@guangxiangdebizi/youtube-subtitle-mcp
暂无描述。
A Model Context Protocol (MCP) server for fetching YouTube video subtitles/transcripts with support for multiple output formats (SRT, VTT, TXT, JSON).
Zero configuration required! Simply use npx:
npx -y youtube-subtitle-mcp
Or install globally:
npm install -g youtube-subtitle-mcp
youtube-subtitle-mcp
# Clone repository
git clone https://github.com/guangxiangdebizi/youtube-subtitle-mcp.git
cd youtube-subtitle-mcp
# Install dependencies
npm install
# Build
npm run build
# Start HTTP server
npm run start:http
Server will start at http://localhost:3000
# Clone repository
git clone https://github.com/guangxiangdebizi/youtube-subtitle-mcp.git
cd youtube-subtitle-mcp
# Install dependencies
npm install
# Build
npm run build
npm install -g youtube-subtitle-mcp
Add to your MCP client configuration file:
Claude Desktop / Cursor Configuration:
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"youtube-subtitle": {
"command": "npx",
"args": ["-y", "youtube-subtitle-mcp"]
}
}
}
For local development:
{
"mcpServers": {
"youtube-subtitle": {
"command": "node",
"args": ["C:/path/to/youtube-subtitle-mcp/build/index.js"]
}
}
}
{
"mcpServers": {
"youtube-subtitle": {
"type": "streamableHttp",
"url": "http://localhost:3000/mcp",
"timeout": 600
}
}
}
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
url | string | Yes | YouTube video URL or video ID | https://www.youtube.com/watch?v=dQw4w9WgXcQ |
format | string | No | Output format (default: JSON) | SRT, VTT, TXT, JSON |
lang | string | No | Language code (default: auto) | zh-Hans, en, ja |
https://www.youtube.com/watch?v=VIDEO_IDhttps://youtu.be/VIDEO_IDhttps://www.youtube.com/embed/VIDEO_IDVIDEO_IDzh-Hans - Simplified Chinesezh-Hant - Traditional Chineseen - Englishja - Japaneseko - Koreanes - Spanishfr - Frenchde - GermanPlease fetch subtitles from this video:
https://www.youtube.com/watch?v=dQw4w9WgXcQ
Please fetch subtitles in SRT format from:
https://www.youtube.com/watch?v=dQw4w9WgXcQ
Please fetch Simplified Chinese subtitles in VTT format from:
https://www.youtube.com/watch?v=dQw4w9WgXcQ
Language code: zh-Hans
Please fetch plain text subtitles from:
https://youtu.be/dQw4w9WgXcQ
Format: TXT
[
{
"text": "Hello world",
"start": 0,
"end": 2000,
"duration": 2000
},
{
"text": "Welcome to YouTube",
"start": 2000,
"end": 5000,
"duration": 3000
}
]
1
00:00:00,000 --> 00:00:02,000
Hello world
2
00:00:02,000 --> 00:00:05,000
Welcome to YouTube
WEBVTT
00:00:00.000 --> 00:00:02.000
Hello world
00:00:02.000 --> 00:00:05.000
Welcome to YouTube
Hello world
Welcome to YouTube
This is a subtitle example
youtube-subtitle-mcp/
src/
index.ts # stdio mode entry (recommended for local use)
httpServer.ts # HTTP mode entry (for server deployment)
tools/
fetchYoutubeSubtitles.ts # Main tool implementation
formatters.ts # Format converters (SRT/VTT/TXT/JSON)
utils.ts # Utility functions
build/ # Compiled JavaScript (generated)
package.json
tsconfig.json
README.md
npm run build
npm run watch
npm run start:stdio
npm run start:http
PORT=8080 npm run start:http
FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY . .
RUN npm run build
EXPOSE 3000
CMD ["npm", "run", "start:http"]
# Build image
docker build -t youtube-subtitle-mcp .
# Run container
docker run -d -p 3000:3000 --name youtube-mcp youtube-subtitle-mcp
version: '3.8'
services:
youtube-subtitle-mcp:
build: .
ports:
- "3000:3000"
environment:
- PORT=3000
restart: unless-stopped
docker-compose …
一个由FastMCP驱动的服务器,用于通过编程方式创建、编辑和渲染PowerPoint(PPTX)演示文稿,具有幻灯片创建、内容插入和PNG渲染等功能。
通过模型上下文协议(MCP)将 Ableton Live 与人工智能助手连接起来,实现对音乐制作任务的自然语言控制,例如轨道创建、MIDI 编辑、乐器加载和播放控制。
暂无描述。
暂无描述。
暂无描述。
暂无描述。