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.
- 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
{
"mcpServers": {
"youtube-transcript": {
"command": "npx",
"args": ["-y", "@lunks/youtube-transcript-mcp"]
}
}
}| 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 |
MIT