highlight-ing
MCP Serverhighlight-ingpublic

highlight youtube mcp

一个从YouTube视频中提取字幕的工具,支持多种URL格式。

Repository Info

1
Stars
3
Forks
1
Watchers
3
Issues
JavaScript
Language
-
License

About This Server

一个从YouTube视频中提取字幕的工具,支持多种URL格式。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

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

Quick Start

1

Clone the repository

git clone https://github.com/highlight-ing/highlight-youtube-mcp
2

Install dependencies

cd highlight-youtube-mcp
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerhighlight-ing
Repohighlight-youtube-mcp
LanguageJavaScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation