@lunks/youtube-transcript-mcp
v0.1.2
Published
MCP server for extracting YouTube video transcripts with SponsorBlock ad filtering.
Readme
YouTube Transcript MCP Server
A Model Context Protocol server for extracting YouTube video transcripts. Fork of kimtaeyoon83/mcp-server-youtube-transcript, rewritten to use the youtube-transcript library and SponsorBlock for ad filtering.
Features
- Transcript extraction via youtube-transcript
- Ad/sponsor filtering using SponsorBlock community data (enabled by default)
- Automatic language fallback with translation instructions when requested language is unavailable
- Video metadata (title, author, subscribers, views, date)
- Support for multiple URL formats (watch, shorts, youtu.be, raw IDs)
- Optional timestamps
Configuration
{
"mcpServers": {
"youtube-transcript": {
"command": "npx",
"args": ["-y", "@lunks/youtube-transcript-mcp"]
}
}
}Tool: get_transcript
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| url | string | required | YouTube video URL or ID |
| lang | string | "en" | Language code. Falls back to available language if not found. |
| include_timestamps | boolean | false | Include timestamps (e.g., [0:05] text) |
| strip_ads | boolean | true | Filter sponsored segments via SponsorBlock |
License
MIT
