Skip to main content
Glama
Arvind29

YouTube Transcript MCP Server

by Arvind29

🎥 YouTube Transcript MCP Server

A simple Model Context Protocol (MCP) server that retrieves a YouTube video's title, duration, and transcript.

Features

  • Get YouTube video title

  • Get video duration

  • Automatically fetch the best available transcript

  • Language preference:

    • Hindi (hi)

    • Marathi (mr)

    • English (en)

  • Compatible with MCP clients such as Claude Desktop and VS Code


Related MCP server: YouTube Video Summarizer MCP Server

Requirements

  • Python 3.10+

  • Internet connection


Installation

Clone the repository:

git clone https://github.com/<your-username>/youtube-transcript-mcp.git
cd youtube-transcript-mcp

Install dependencies:

pip install -r requirements.txt

Or install manually:

pip install mcp youtube-transcript-api yt-dlp

Project Structure

youtube-transcript-mcp/
│
├── server.py
├── requirements.txt
└── README.md

Run

python server.py

MCP Tool

youtube_transcript

Input

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

Output

{
  "title": "Sample Video",
  "duration": "18:42",
  "language": "Hindi",
  "language_code": "hi",
  "transcript": "Complete transcript..."
}

Claude Desktop Configuration

{
  "mcpServers": {
    "youtube-transcript": {
      "command": "python",
      "args": [
        "/path/to/server.py"
      ]
    }
  }
}

Replace /path/to/server.py with the location of your server.py.


License

MIT

A
license - permissive license
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Arvind29/YouTube-Transcript-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server