YouTube Transcript MCPサーバー
コミット 2026年11月4日タイムスタンプ付きのYouTube文字起こしを取得し、履歴の管理や動画統計の取得をAIアシスタント経由で行えます。
別名 Youtube-Transcript-Dev/youtube-transcript-mcp, youtube-transcript-mcp
- スター
- 0
- ツール
- 17
- ダウンロード数(30日間)
- —
- 最新バージョン
- 2.0.0
- 最終コミット
- 2026年11月4日
- ライセンス
- MIT
YouTube Transcript MCPとは
YouTube TranscriptはMCPサーバーです。 タイムスタンプ付きのYouTube文字起こしを取得し、履歴の管理や動画統計の取得をAIアシスタント経由で行えます。. 17個のツールを提供しており、get_stats, transcribe_v2, list_transcriptsなどがあります。
プロジェクトのREADMEから生成された概要
YouTube Transcript MCP server について
このサーバーは、タイムスタンプ付きのYouTube文字起こしの抽出と、動画コンテンツの履歴管理をAIアシスタントに提供します。Claude、Cursor、Windsurf、VS CodeなどのツールをYouTubeTranscript.devに接続することで、カスタムコードを記述することなく動画データを処理できます。このサーバーは、キャプションの取得、過去の文字起こしの検索、動画統計の取得を行うための専用ツールを提供します。
ユーザーは、リモートMCP URL経由、またはnpmを使用してローカルで実行することでサービスを利用できます。接続方法には、互換性のあるクライアント向けのOAuth、または認証ヘッダーを介したAPIキーの提供が含まれます。ツールセットには、高速なキャプション抽出を行うtranscribe_v2、ページネーションによる履歴管理を行うlist_transcripts、クレジットやレート制限を監視するget_statsが含まれます。柔軟なデータ取得を実現するため、手動キャプションと自動キャプションの両方をサポートしています。
できること
- 1動画キャプションの抽出AIアシスタントが、タイムスタンプや段落などの特定のフォーマットを含むテキストをYouTube URLから取得できます。
- 2文字起こし履歴の管理開発者は、動画IDや特定のテキストを使用して、以前に抽出した文字起こしを検索できます。
- 3API使用状況の監視アシスタントを通じて、残りのクレジットや現在のサブスクリプションプランを確認できます。
- 4保存データのクリーンアップAIが特定の文字起こしレコード、または特定の動画IDに関連付けられたすべての文字起こしを削除できます。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
YouTube Transcript MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにYouTube Transcript MCPをインストール
$ claude mcp add --transport http youtube-transcript-mcp https://mcp.youtubetranscript.dev/CursorにYouTube Transcript MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"youtube-transcript-mcp": {
"url": "https://mcp.youtubetranscript.dev/"
}
}
}VS CodeにYouTube Transcript MCPをインストール
.vscode/mcp.json
{
"servers": {
"youtube-transcript-mcp": {
"type": "http",
"url": "https://mcp.youtubetranscript.dev/"
}
}
}VS Code CLIにYouTube Transcript MCPをインストール
$ code --add-mcp '{"name":"youtube-transcript-mcp","type":"http","url":"https://mcp.youtubetranscript.dev/"}'CodexにYouTube Transcript MCPをインストール
$ codex mcp add youtube-transcript-mcp --url https://mcp.youtubetranscript.dev/Codex config.tomlにYouTube Transcript MCPをインストール
~/.codex/config.toml
[mcp_servers.youtube-transcript-mcp] url = "https://mcp.youtubetranscript.dev/"
Gemini CLIにYouTube Transcript MCPをインストール
$ gemini mcp add -s user --transport http youtube-transcript-mcp https://mcp.youtubetranscript.dev/Gemini settings.jsonにYouTube Transcript MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"youtube-transcript-mcp": {
"url": "https://mcp.youtubetranscript.dev/",
"type": "http"
}
}
}YouTube Transcript MCPツール 17
READMEから検出get_statstranscribe_v2list_transcriptsget_transcriptdelete_transcriptvideolanguagesourceformatsearchlimitpage
| get_stats | — | |
| transcribe_v2 | — | |
| list_transcripts | — | |
| get_transcript | — | |
| delete_transcript | — | |
| video | — | |
| language | — | |
| source | — | |
| format | — | |
| search | — | |
| limit | — | |
| page | — |
17個のツールをすべて表示ツールを折りたたむ
statusinclude_segmentsvideo_idinclude_timestampsids
| status | — | |
| include_segments | — | |
| video_id | — | |
| include_timestamps | — | |
| ids | — |
設定
YTSM_API_KEY
| 名前 | 説明 | 種類 |
|---|---|---|
| YTSM_API_KEY | — |
自動チェック
実行日 2026年11月14日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能youtube-transcript-dev/youtube-transcript-mcp is public and reachablegithub.com/youtube-transcript-dev/youtube-transcript-mcp ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-11-04github.com/youtube-transcript-dev/youtube-transcript-mcp ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない17 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答HTTPS endpoint answered 401 (sign-in required)合格
README
GitHubで見るWhy This MCP Server?
Connect Claude, Cursor, Windsurf, or any MCP client to YouTubeTranscript.dev — no custom code. Your AI assistant gets tools to extract transcripts, list history, and manage content at scale.
- ⚡ Fast caption extraction — Manual or auto captions, returns in seconds
- 📚 Transcript history — List, search, and paginate your transcripts
- 🎯 Full control — Get stats, delete transcripts, fetch by video ID
- 🔌 One config — Works with Claude, Cursor, Windsurf, VS Code, Cline
- 🔒 User-owned keys — API key per connection, no server-side secrets
Quick Start
Remote MCP URL: https://mcp.youtubetranscript.dev
Claude, Cursor, and VS Code can add this as a remote MCP connector. ChatGPT users must enable Developer mode and create a custom app with this URL; availability depends on the workspace plan. OAuth-capable clients sign in once, so no API key is needed in the chat.
| Client | One-click |
|---|---|
| Claude | Add custom connector |
| ChatGPT | Developer mode / custom MCP app setup or Custom GPT |
| Cursor | Install |
| VS Code | Install |
| Claude Code | claude mcp add --transport http youtubetranscript https://mcp.youtubetranscript.dev |
| Grok | grok mcp add --transport http youtubetranscript https://mcp.youtubetranscript.dev |
Full walkthrough: youtubetranscript.dev/resources/mcp-server
API key clients (if the tool has no OAuth): send Authorization: Bearer YOUR_API_KEY. x-api-token still works. Get a key from the account page.
Run locally (optional): npm install && npm run build && npm run start:http — then connect to http://localhost:8080.
MCP Connection Settings
Claude Code
claude mcp add --transport http youtubetranscript https://mcp.youtubetranscript.dev
Claude Desktop
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"youtubetranscript": {
"url": "https://mcp.youtubetranscript.dev",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
Cursor
.cursor/mcp.json:
{
"mcpServers": {
"youtubetranscript": {
"url": "https://mcp.youtubetranscript.dev",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
Windsurf
~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"youtubetranscript": {
"serverUrl": "https://mcp.youtubetranscript.dev",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
VS Code + Copilot
settings.json:
{
"mcp": {
"servers": {
"youtubetranscript": {
"url": "https://mcp.youtubetranscript.dev",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
}
Cline
Add to your Cline MCP config (format may vary by Cline version):
{
"youtubetranscript": {
"url": "https://mcp.youtubetranscript.dev",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
Replace YOUR_API_KEY with your API key from youtubetranscript.dev/dashboard/account.
Configuration
Server Environment (for deployment)
| Variable | Description | Default |
|---|---|---|
YTSM_BASE_URL |
Base URL of the API | https://www.youtubetranscript.dev |
MCP_PUBLIC_URL |
Public MCP origin | https://mcp.youtubetranscript.dev |
YTSM_TIMEOUT_MS |
Request timeout in ms | 30000 |
PORT |
HTTP server port | 8080 |
DEBUG |
Enable debug logging | false (set true to enable) |
Note: HTTP mode uses OAuth where the client supports it, including compatible Claude, Cursor, VS Code, and Grok clients. ChatGPT requires Developer mode and a custom MCP app. API-key clients can send Authorization: Bearer / x-api-token from the client. Do not put user keys in server env. For stdio mode, set YTSM_API_KEY. Always set YTSM_BASE_URL to https://www.youtubetranscript.dev — the apex host 301s and breaks POST/auth.
Tools Reference
| Tool | Best for | Returns |
|---|---|---|
get_stats |
Credits, transcripts count, plan | credits, transcripts_total, plan, rate_limit |
transcribe_v2 |
Create/fetch transcript (fast) | Transcript JSON |
list_transcripts |
List user transcripts | History list with pagination |
get_transcript |
Get full transcript by video_id | Transcript detail |
delete_transcript |
Delete transcript(s) | Delete result |
get_stats
Credits left, transcripts created, plan, rate limit. No parameters.
transcribe_v2
Fast caption-based transcript (no ASR). Uses manual or auto captions only.
| Parameter | Required | Description |
|---|---|---|
video |
Yes | YouTube URL or 11-character video ID |
language |
No | Language tag (e.g. en, en-US) |
source |
No | auto (default) or manual |
format |
No | { timestamp, paragraphs, words } booleans |
list_transcripts
List transcript history for the authenticated user.
| Parameter | Required | Description |
|---|---|---|
search |
No | Search by video id, title, or transcript text |
limit |
No | How many to return (default 10) |
page |
No | Page number (default 1) |
status |
No | all, queued, processing, succeeded, failed |
language |
No | Language filter (e.g. en) |
include_segments |
No | Include transcript segments in response |
get_transcript
Get full transcript by video_id.
| Parameter | Required | Description |
|---|---|---|
video_id |
Yes | YouTube video ID |
id |
No | Transcript record id for specific version |
language |
No | Language filter |
source |
No | auto, manual, or asr |
include_timestamps |
No | Include timestamps in response |
delete_transcript
Delete transcript records.
| Parameter | Required | Description |
|---|---|---|
ids |
No* | Array of transcript record ids to delete |
video_id |
No* | Convenience: delete by video id (resolves id) |
*Provide at least one of ids or video_id.
Deployment (Optional)
For production, deploy to a service that supports long-lived connections (e.g. Cloud Run, Railway, Fly.io). Avoid serverless (Vercel, Lambda) for MCP — timeouts and concurrency limits cause issues.
docker build -f Dockerfile.cloudrun -t gcr.io/YOUR_PROJECT/youtube-transcript-mcp .
docker push gcr.io/YOUR_PROJECT/youtube-transcript-mcp
gcloud run deploy youtube-transcript-mcp --image gcr.io/YOUR_PROJECT/youtube-transcript-mcp ...
Stdio (Alternative)
Run as a subprocess instead of HTTP. Required: set YTSM_API_KEY in env (API key is not passed per-request for stdio).
{
"mcpServers": {
"youtubetranscript": {
"command": "node",
"args": ["dist/index.js"],
"env": { "YTSM_API_KEY": "YOUR_API_KEY" }
}
}
}
Run from the project directory after npm run build. For globally installed package, use the path to dist/index.js in the package.
Development
npm install
npm run build
npm test
npm run start:http # Local HTTP server (port 8080)
Quick test all tools (requires YTSM_API_KEY in env):
npm install && npm run build
export YTSM_API_KEY=your_key # bash/mac
$env:YTSM_API_KEY="your_key" # PowerShell
npm run test:all
See QUICK_TEST.md for full testing instructions.
Links
License
MIT License — see LICENSE for details.
YouTube Transcript MCPのよくある質問
YouTube Transcript MCPをClaude Codeに追加するには
ターミナルでclaude mcp add --transport http youtube-transcript-mcp https://mcp.youtubetranscript.dev/を実行します。すべてのプロジェクトで利用するには--scope userを追加します。
YouTube Transcript MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
YouTube Transcript MCPが提供するツールは
17個のツールを提供しており、get_stats, transcribe_v2, list_transcripts, get_transcript, delete_transcriptなどがあります。
Claudeに追加するにはどうすればよいですか?
提供されたURLを使用してリモートMCPコネクタとして追加するか、claude_desktop_config.jsonファイルにサーバー設定を追加することで利用できます。
どのような文字起こしを取得できますか?
手動または自動キャプションを使用した、高速なキャプションベースの抽出をサポートしています。
APIキーは必要ですか?
はい、サーバーで使用するためにYouTubeTranscript.devのウェブサイトから無料のAPIキーを取得できます。
過去の文字起こしを検索できますか?
はい、list_transcriptsツールを使用することで、動画ID、タイトル、または文字起こしテキストから履歴を検索できます。