youtube_mcp

by format37

32 stars
467 downloads
Not rated
GitHub

About

youtubemcp is an MCP server that transcribes YouTube videos. It requires an OpenAI API key and cookie-based authentication. It is designed for use with AI assistants like Claude Desktop.

Details

Author
format37
GitHub stars
32
Downloads
467
Categories
Media

- YouTube video transcription via MCP
- Uses OpenAI API for transcription
- Cookie-based authentication for YouTube
- Runs as a Docker container
- Exposes an SSE endpoint
- Integrates with Claude Desktop

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name youtube_mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install by cloning the repository, extracting your YouTube cookies into cookies.txt, generating a MCP key, and setting environment variables. Run with ./compose.sh which starts a Docker container. Then configure a client (e.g., Claude Desktop) to connect via mcp-remote with an Authorization header.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "youtube_mcp": {
            "youtube": {
                "command": "npx",
                "args": [
                    "mcp-remote",
                    "http://localhost:7001/sse",
                    "--header",
                    "Authorization:YOUR-TOKEN",
                    "--allow-http"
                ],
                "disabled": false
            }
        }
    }
}

McpServers

{
    "youtube": {
        "command": "npx",
        "args": [
            "mcp-remote",
            "http://localhost:7001/sse",
            "--header",
            "Authorization:YOUR-TOKEN",
            "--allow-http"
        ],
        "disabled": false
    }
}

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

3. 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
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.