Skip to content

Model Context Protocol to fetch youtube transcript

Notifications You must be signed in to change notification settings

adhikasp/mcp-youtube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Model Context Protocol to fetch youtube transcript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages