YouTube Transcript Extractor

by highlight-ing

1 stars
1
GitHub

About

Extracts transcripts from YouTube videos using various URL formats, enabling automated content analysis and summarization.

Details

Author
highlight-ing
Repository
highlight-ing/highlight-youtube-mcp
GitHub stars
1
Categories
Productivity, Developer Tools, Design, AI, Media, Automation, Frontend, API, Infrastructure

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name YouTube Transcript Extractor
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 @highlight/mcp-server

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

get_youtube_transcript

Retrieves the transcript text from a YouTube video. Parameters: videoUrl (string) - Full YouTube video URL (supports standard, shortened, and embed URLs). Returns: Object containing content (array) with transcript text.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "youtube transcript extractor": {
            "env": {},
            "args": [
                "-y",
                "@highlight/mcp-server"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Macos

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "npx",
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "cmd"
}
# 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
5.0 · 1 review

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.