Skip to main content
Glama
yt-skill-mcp-server

yt-skill-mcp-server

yt-skill-mcp 🎬 -> 🧠

CI Release License: MIT Case Study Article

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-server

Tools

Tool

Input

Output

fetch_youtube_transcript

url (watch URL, youtu.be link, or 11-char ID), optional lang

JSON with videoId, title, segmentCount, and the [123s] ... transcript

compile_cursor_skill

skillName, description, videoId, title, steps[]

A SKILL.md string with YAML frontmatter, ready to save to .cursor/skills/<skillName>/SKILL.md

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 stdio

Troubleshooting

  • 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 tools
compile_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

    B3.3/5.0

    Scored across 2 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count3/5

    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.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers