ShawhinT/yt-mcp
3.3
If you are the rightful owner of yt-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server designed to enhance interaction with Shaw Talebi's YouTube videos by providing tools for transcript extraction, chapter generation, and blog post creation.
YouTube MCP Server
A Model Context Protocol (MCP) server that provides tools and prompts for working with (Shaw Talebi's) YouTube videos, including transcript extraction, chapter generation, and blog post creation.
Prepared for AgentCon 2025 - Dallas workshop.
Resources:
Overview
This MCP server enables AI assistants to:
- Extract timestamped transcripts from YouTube videos
- Access a curated library of AI and entrepreneurship videos
- Generate structured video chapters from transcripts
- Convert video transcripts into engaging blog posts
- Get table of Shaw Talebi's YouTube videos as of June 25, 2025
How to run this example
- Clone this repo
- Install uv if you haven't already
# Mac/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
- Install dependencies:
uv sync
- Test the server in dev mode
uv run mcp dev main.py
- Add server config to AI app (e.g. Claude Desktop or Cursor).
{
"mcpServers": {
"YT-MCP": {
"command": "/Users/shawhin/.local/bin/uv", # replace with global path to your uv installation
"args": [
"--directory",
"/Users/shawhin/Documents/repos/yt-mcp/", # replace with global path to repo
"run",
"main.py"
]
}
}
}
Features
š ļø Tools
fetch_youtube_transcript
: Extract formatted transcripts with timestamps from YouTube URLs
š Resources
yt-library://
: Access to Shaw Talebi's YouTube channel library focused on AI and entrepreneurship topics
š Prompts
create_chapters_instructions
: Detailed guidelines for generating meaningful video chapterswrite_blog_instructions
: Instructions for converting transcripts into professional blog posts
Project Structure
yt-mcp/
āāā main.py # MCP server implementation
āāā prompts/
ā āāā create_chapters.md # Chapter generation guidelines
ā āāā write_blog.md # Blog writing instructions
āāā resources/
ā āāā videos.csv # Video library database
āāā yt-mcp-example.ipynb # Usage examples
āāā pyproject.toml # Project configuration
āāā requirements.txt # Dependencies