
cottongeeks/ytt-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
YouTubeのトランスクリプトを取得するMCPサーバー
概要
YouTube動画のトランスクリプトを取得するMCPサーバー。 インストールし、実行する最も便利な方法は、uvxを使用してパッケージを呼び出して、uvxを使用する サーバを調べてテストするために使用できる localhost URL を生成します。 [設定] → [開発者] に移動し、[設定の編集] をクリックします。 これは claude-desktop-config を開きます。 デフォルトエディタで json ファイル。 次の追加を行います Claude config を再起動し、下記のスクリーンショットに示すようにサーバーを試してみる Raycast を使用している場合は、MCP 拡張子からインストールサーバーコマンドを呼び出すことで MCP サーバーをインストールできます。 MCP サーバーを @youtube-transcript として参照し、それをやり取りすることができます。 また、Raycast AI コマンドでプロンプトで使用できます。 例えば、クリップボードでYouTube URLを抽出してまとめるのに使うプロンプトです。 [https://github.com/user-attachments/assets/e6530768-3483-4cb9-988a-7ec7a999d505]
概要(AI 翻訳)
YouTube動画のトランスクリプトを取得するMCPサーバー。
インストールと実行
インストールして実行する最も便利な方法は、uv を使用し、パッケージを [uvx で呼び出すことです。
MCPインスペクターを使用する(開発/デバッグ/テストのみ)
サーバを調べてテストするために使用できる localhost URL を生成します。
クロードデスクトップ
Settings → Developer に移動し、 Edit Config をクリックします。 これは claude-desktop-config を開きます。 デフォルトエディタで json ファイル。 次の追加を行います
Claude config を再起動し、下記のスクリーンショットに示すようにサーバーを試してみる
レイキャスト
Raycast を使用している場合は、MCP 拡張子から Install Server コマンドを呼び出して MCP サーバーをインストールできます。
MCP サーバーを @youtube-transcript として参照し、それをやり取りすることができます。 また、Raycast AI コマンドでプロンプトで使用できます。 例えば、クリップボードでYouTube URLを抽出してまとめるのに使うプロンプトです。
ビデオデモをご覧ください
[https://github.com/user-attachments/assets/e6530768-3483-4cb9-988a-7ec7a999d505]
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
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
インストール
uvx ytt-mcp設定
{
"mcpServers": {
…<rest of the config>…
"ytt-mcp": {
"command": "uvx",
"args": ["ytt-mcp"]
}
}
}