Back to MCP Servers

Youtube

MCP server that transcribes YouTube videos to text. Uses yt-dlp to download audio and OpenAI's Whisper-1 for more precise transcription than youtube captions. Provide a YouTube URL and get back the full transcript splitted by chunks for long videos.

search-data-extractionai
By format37
315Updated 11 months agoPython

Installation

npx -y youtube_mcp

Configuration

{
  "mcpServers": {
    "youtube_mcp": {
      "command": "npx",
      "args": ["-y", "youtube_mcp"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes

youtube_mcp

Youtube transcribation MCP server

Demo Video

YouTube MCP Demo

Click the image above to watch the demo video

Requirements:

  • OpenAI API key
  • Cookies

Server installation

  • Clone the repo:
git clone https://github.com/format37/youtube_mcp.git
cd youtube_mcp
nano .env
  • Extract your cookies. See cookies.md
    Place cookies.txt in the ./mcp/ folder.
  • Generate MCP_KEY:
python token_generator.py
  • Define .env:
CONTAINER_NAME=youtube_mcp_main
PORT=7001
MCP_KEY=YOUR-MCP-KEY
OPENAI_API_KEY=YOUR-OPENAI-KRY
  • Provide run access
sudo chmod +x compose.sh
sudo chmod +x logs.sh
sudo chmod +x update.sh
  • Run
./compose.sh
  • Check that port is opened for incoming connections.

Client configuration

  1. Add Bybit server to the Claude desktop config: Example:
{
    "mcpServers": {
      "youtube": {
        "command": "npx",
        "args": [
          "mcp-remote",
          "http://localhost:7001/sse",
          "--header",
          "Authorization:YOUR-TOKEN",
          "--allow-http"
        ],
        "disabled": false
      }
    }
}

Client side

4. Restart Claude desktop
5. Check that tws tools are listed in the tools list. Ask Claude to check ibkr account
View source on GitHub