Skip to main content
Glama

kzmshx-youtube-mcp

An MCP server for extracting YouTube video transcripts and metadata.

Configuration

{
  "mcpServers": {
    "youtube": {
      "command": "uvx",
      "args": ["kzmshx-youtube-mcp"]
    }
  }
}

Related MCP server: ytt-mcp

Installation (Optional)

If you prefer to install globally:

pip install kzmshx-youtube-mcp
# or
uv tool install kzmshx-youtube-mcp

Tools

get_transcript

Get transcript text from a YouTube video.

Parameter

Type

Description

url

string

YouTube URL or video ID

language

string

Language code (default: auto)

with_timestamps

bool

Include timestamps (default: false)

Example:

// Input
{ "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" }

// Output
{
  "video_id": "dQw4w9WgXcQ",
  "language": "en",
  "transcript": "We're no strangers to love\nYou know the rules and so do I..."
}

get_video_info

Get metadata from a YouTube video.

Parameter

Type

Description

url

string

YouTube URL or video ID

Example:

// Input
{ "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" }

// Output
{
  "id": "dQw4w9WgXcQ",
  "title": "Rick Astley - Never Gonna Give You Up",
  "description": "...",
  "duration": 213,
  "channel": "Rick Astley",
  "upload_date": "2009-10-25",
  "view_count": 1500000000,
  "available_languages": ["en", "ja", "es", "fr"]
}

License

MIT

Available Tools

2 tools
get_transcriptA

Get transcript text from a YouTube video.

Args: url: YouTube URL or video ID language: Language code (default: auto-detect) with_timestamps: Include timestamps in output

Returns: Dict containing video_id, language, and transcript text

Inputs: url (required), language, with_timestamps. Returns: object

get_video_infoA

Get metadata from a YouTube video.

Args: url: YouTube URL or video ID

Returns: Dict containing video metadata

Inputs: url (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 2 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: one retrieves transcript text, the other fetches video metadata. There is no overlap or ambiguity.

    Naming Consistency5/5

    Both tool names follow a consistent 'get_' prefix with noun (transcript, video_info), forming a predictable verb_noun pattern.

    Tool Count3/5

    With only 2 tools, the server feels undersized for a YouTube integration. While the tools are focused, the count is on the low end for a typical MCP server.

    Completeness2/5

    The server covers only two basic reading operations, missing common YouTube actions like searching, listing comments, or managing playlists. Significant gaps exist for a comprehensive YouTube toolset.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that enables users to retrieve YouTube transcripts and perform video or channel searches without requiring Google API keys. It supports transcript chunking and provides tools for detailed video content analysis and channel metadata extraction.
      5
      30 npm
      4
      MIT