MCP ExplorerExplorer

Youtube

@highlight-ingon 10 months ago
1 MIT
FreeCommunity
AI Systems
YouTube MCP server extracts transcripts from YouTube videos.

Overview

What is Youtube

highlight-youtube-mcp is a YouTube MCP server that provides functionality to extract transcripts from YouTube videos.

Use cases

Use cases include generating subtitles for videos, creating study materials from video content, and improving accessibility for hearing-impaired users.

How to use

To use highlight-youtube-mcp, provide a full YouTube video URL to the ‘get_youtube_transcript’ tool, which retrieves the transcript text from the video.

Key features

Key features include support for multiple YouTube URL formats (standard, shortened, and embed), error handling for invalid or missing URLs, and the ability to return transcript text as an array.

Where to use

highlight-youtube-mcp can be used in educational platforms, content creation tools, and accessibility applications where video transcripts are needed.

Content

YouTube Integration

The YouTube MCP server provides functionality to extract transcripts from YouTube videos.

Available Tools

get_youtube_transcript

Retrieves the transcript text from a YouTube video.

Parameters:

  • videoUrl: Full YouTube video URL (supports standard, shortened, and embed URLs)

Returns: Object containing:

  • content: Array with transcript text

URL Support

Handles multiple YouTube URL formats:

  • Standard: https://www.youtube.com/watch?v=VIDEO_ID
  • Shortened: https://youtu.be/VIDEO_ID
  • Embed: https://www.youtube.com/embed/VIDEO_ID

Error Handling

The server implements standard error handling:

  • Invalid URLs return ErrorCode.InvalidParams
  • Missing URL returns ErrorCode.InvalidParams
  • Failed transcript fetches return formatted error messages
  • Graceful shutdown on SIGINT

Technical Details

  • Built using the Highlight AI MCP SDK
  • Uses youtube-transcript library
  • Input validation via Zod
  • Runs as a stdio-based MCP server
  • Supports Node.js >=18.0.0

Limitations

  • Only works with videos that have captions enabled
  • Currently only returns English transcripts
  • Rate limits depend on YouTube’s API restrictions

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers