Skip to content

rvydhya/youtube_transcriptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Transcriptor MCP Tool

This is a Model Context Protocol (MCP) tool for transcribing YouTube videos using the youtube-transcript-api.

Features

  • Extracts and transcribes from YouTube videos (manual or autogenerated). Enables retrieval of transcripts from YouTube videos.
  • Exposes a single tool: transcribe_video(video: str).

Usage

1. Prerequisites

  • Python 3.12+
  • Install dependencies:
    pip install -r requirements.txt

2. Running the Tool

You can run the tool directly:

python youtube.py

3. Using with VS Code (Manual MCP Config)

To use this tool as an MCP server in VS Code, add the following to your .vscode/settings.json or your MCP client configuration:

"youtube_transcriptor": {
  "type": "stdio",
  "command": "python",
  "args": ["PATH\\transcription\\youtube.py"]
}

Replace PATH with the absolute path to your workspace root.

4. Using the Tool

Once configured, you can call the transcribe_video tool from your MCP client or compatible VS Code extension, passing a YouTube video URL as the argument.


Example:

result = transcribe_video("https://www.youtube.com/watch?v=VIDEO_ID")
print(result)

License

MIT

About

this is a youtube transcriptor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors