Provides tools to fetch YouTube video transcripts (including plain text and timestamped versions) and retrieve video metadata directly from the video page UI.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Browser YouTube TranscriptGet the transcript for https://www.youtube.com/watch?v=dQw4w9WgXcQ"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Browser YouTube Transcript
A Docker-based MCP server that uses Puppeteer (Headless Chrome) to fetch YouTube transcripts directly from the video page UI. This approach bypasses the aggressive rate limiting (HTTP 429) often encountered with standard API endpoints or youtube-dl.
Features
get_transcript: Fetch the full plain text transcript.get_timed_transcript: Fetch the transcript with timestamps and deep links.get_video_info: Fetch video metadata usingyoutube-dl-exec.
How it Works
Browser Automation: Launches a headless Chromium instance inside the Docker container.
UI Scraping: Navigates to the YouTube video URL, clicks "Show transcript", and parses the DOM elements.
Efficiency: Uses a global browser instance to avoid the overhead of launching a new browser for every request.
Usage
Docker (Recommended)
Build and run the server:
docker compose build docker compose run --rm -i mcp-browser-youtubeConfigure your MCP client (e.g., Claude Desktop, VS Code) to use the Docker command:
{ "mcpServers": { "youtube-browser": { "command": "docker", "args": ["compose", "-f", "/path/to/mcp-browser-youtube-transcript/docker-compose.yml", "run", "--rm", "-i", "mcp-browser-youtube"] } } }
Local Development
Install dependencies:
npm installRun the server:
node index.js