CY

cottongeeks/ytt-mcp

Developer tools
74 stars 4 forks Quality 50 Trend 14MIT

MCP server to fetch YouTube transcripts

Overview

MCP Server to fetch transcripts for YouTube videos. The most convenient way to install and run is to use uv and then invoke the package using uvx This will generate a localhost URL that can be used to examine and test out the server. Go to Settings → Developer, and then click on Edit Config. This will open the claude-desktop-config.json file in your default editor. Make the following addition Relaunch Claude config and try out the server as shown in the screenshot below If you are using Raycast, you can install the MCP server by invoking the Install Server command from the MCP extension. After that you can refer to the MCP server as @youtube-transcript and interact with it. You can also use it in a Raycast AI Command with a prompt. For example, here is a prompt I use to extract and summarize a YouTube URL in the clipboard https://github.com/user-attachments/assets/e6530768-3483-4cb9-988a-7ec7a999d505

README

ytt-mcp: YouTube Transcript MCP Server

MCP Server to fetch transcripts for YouTube videos.

Installing and Running

The most convenient way to install and run is to use uv and then invoke the package using uvx

Using MCP Inspector (for development/debugging/testing only)

uv run fastmcp dev ytt_mcp.py

This will generate a localhost URL that can be used to examine and test out the server.

Claude Desktop

Go to Settings → Developer, and then click on Edit Config. This will open the claude-desktop-config.json file in your default editor. Make the following addition

{
  "mcpServers": {
    ……
    "ytt-mcp": {
      "command": "uvx",
      "args": ["ytt-mcp"]
    }
  }
}

Relaunch Claude config and try out the server as shown in the screenshot below

Raycast

If you are using Raycast, you can install the MCP server by invoking the Install Server command from the MCP extension.

After that you can refer to the MCP server as @youtube-transcript and interact with it. You can also use it in a Raycast AI Command with a prompt. For example, here is a prompt I use to extract and summarize a YouTube URL in the clipboard

@youtube-transcript fetch the Youtube transcript of the video: {clipboard | raw}

Comprehensively summarize the transcript with the following format:
"""
### Key Takeaways

- 
"""

### Theme Wise Breakdown


Some rules to follow precisely:
- ALWAYS capture the perspective and POV of the author
- NEVER come up with additional information

See video demo below

https://github.com/user-attachments/assets/e6530768-3483-4cb9-988a-7ec7a999d505

View the full README on GitHub

Install

uvx ytt-mcp
New to MCP? Start with the mcpskill.org guide →

Configuration

{ "mcpServers": { …<rest of the config>… "ytt-mcp": { "command": "uvx", "args": ["ytt-mcp"] } } }