yt-skill-mcp-server
This MCP server fetches timestamped YouTube transcripts and turns extracted workflows into reusable Cursor/Claude Code skill files.
Fetch timestamped transcript segments from a YouTube watch URL,
youtu.belink, or 11-character video ID.Optionally select a caption language with
lang(defaulten).Return structured transcript data including
videoId,title,segmentCount, and[123s] ...transcript text for agent analysis.Compile ordered workflow steps into a
SKILL.mdstring with YAML frontmatter, ready to save as a Cursor skill.
Fetches timestamped transcripts and captions from YouTube videos without requiring an API key, supporting watch URLs, youtu.be links, video IDs, and optional caption language selection.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@yt-skill-mcp-server Turn this video into a Cursor skill: https://youtu.be/mMP-BPWsNqA"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
yt-skill-mcp 🎬 -> ðŸ§
A Model Context Protocol (MCP) server and CLI that fetches timestamped YouTube transcripts (no API key needed) and turns technical talks into reusable Cursor / Claude Code SKILL.md files.
📖 Engineering write-up: Building Custom MCP Servers in TypeScript for Cursor
Requirements
Node.js 18 or newer
The video must have captions (auto-generated captions are fine)
Related MCP server: YouTube Transcripts MCP Server
Quick start (CLI)
Print a timestamped transcript for any video. The first run downloads and compiles the package, which takes about 10 seconds.
npx -y github:zaynelovecraft/yt-skill-mcp "https://www.youtube.com/watch?v=mMP-BPWsNqA"# I cracked the tech job market (mMP-BPWsNqA)
[0s] So, yeah, basically what's creamy? I
[1s] wanted to talk about how I cheesed my
...Pass a language code as a second argument to pick a caption track: ... <url> es.
Use it as an MCP server in Cursor
Add this to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"yt-skill": {
"command": "npx",
"args": ["-y", "-p", "github:zaynelovecraft/yt-skill-mcp", "yt-skill-mcp-server"]
}
}
}Restart Cursor, then ask the agent something like:
Pull the transcript for https://youtu.be/mMP-BPWsNqA and turn the main workflow into a skill in
.cursor/skills/.
Claude Desktop / Claude Code
The same command and args work in claude_desktop_config.json, or with Claude Code:
claude mcp add yt-skill -- npx -y -p github:zaynelovecraft/yt-skill-mcp yt-skill-mcp-serverTools
Tool | Input | Output |
|
| JSON with |
|
| A |
Develop locally
git clone https://github.com/zaynelovecraft/yt-skill-mcp.git
cd yt-skill-mcp
npm install # also compiles to dist/
node dist/cli.js "https://youtu.be/mMP-BPWsNqA"
node dist/mcp.js # starts the MCP server on stdioTroubleshooting
No captions available: the video has captions turned off. Try another video.Transcript stops working: YouTube changes its internal API from time to time. Open an issue with the video URL.
License
MIT
Available Tools
2 toolscompile_cursor_skillC
Format extracted video frameworks into a Cursor Agent SKILL.md file with YAML frontmatter.
Inputs: steps (required), title (required), videoId (required), skillName (required), +1 more.
fetch_youtube_transcriptC
Fetch timestamped transcript segments from a YouTube URL or video ID for agent analysis.
Inputs: url (required), lang.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools occupy completely different stages of a pipeline: one retrieves raw transcript data from YouTube, the other formats that data into a Cursor SKILL.md file. There is no overlap in input, action, or output, so an agent cannot mistake one for the other.
Both names follow the same snake_case verb_noun convention (fetch_youtube_transcript, compile_cursor_skill) and each name encodes its source and target format. No mixed casing or inconsistent verb styles.
Two tools is on the thin side, and the surface is essentially a single two-step pipeline with no room for partial operations. The scope is narrow enough that this is defensible, but it sits at the low edge of what feels like a complete toolset.
The core lifecycle (acquire transcript, emit skill file) is fully covered with no dead end between the steps. Minor gaps exist around video discovery/metadata (no listing, search, or playlist handling) and no way to validate or preview output before writing, but these are workarounds an agent can manage.
Maintenance
Related MCP Connectors
Your YouTube library, in the AI tools you already use: Claude, ChatGPT, Cursor, any MCP client.
Fetch YouTube transcripts with timestamps, search history, and export data for AI models.
Fetch YouTube transcripts, monitor channels and track keyword matches from your AI assistant.
YouTube transcripts, search, channel/playlist listings and upload tracking for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceFetches YouTube video transcripts with timestamps and provides them to LLM agents via MCP, enabling natural language access to video content.4MIT
- FlicenseAqualityDmaintenanceProvides YouTube video transcripts (text and metadata) as MCP tools for AI hosts like Claude Code, enabling summarization, search, and Q&A without watching the video.2-
- AlicenseAqualityDmaintenanceEnables fetching YouTube video transcripts as Markdown files with chapter indexing, so LLMs can read only relevant sections and save context.2MIT
- FlicenseNot gradedqualityDmaintenanceEnables users to fetch YouTube video transcripts via a single MCP tool, with support for multiple languages and OAuth-protected access.-