README.md

YouTube MCP Server

A Model Context Protocol server that allows you to download subtitles from YouTube and connect them to a LLM.

Features

  • Download transcripts from YouTube videos
  • Support for both video IDs and full YouTube URLs
  • Timestamps included in transcript
  • Works with any MCP-compatible client

Usage

In your MCP client configuration:

"mcpServers": {
    "youtube": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/adhikasp/mcp-youtube", "mcp-youtube"]
    },
}

Development

  1. Clone the repository

  2. Create and activate virtual environment using uv:

uv venv
source .venv/bin/activate  # On Unix/MacOS
# or .venv\Scripts\activate  # On Windows
  1. Install dependencies:
uv sync
  1. Run the server:
python -m youtube_mcp

License

MIT

mcp-youtube

Model Context Protocol to fetch youtube transcript

Package Information

4 stars
Updated 12/14/2024
Created 11/30/2024
No license

Contributors