youtube-transcript-index
Allows agents to fetch YouTube video transcripts with timestamps, retrieve up to 10 highly liked public comments, and scan spreadsheet files for YouTube links.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@youtube-transcript-indexGet transcript and top comments for https://youtu.be/dQw4w9WgXcQ"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
YouTube Transcript Index
An open-source, local-first YouTube research workspace for Codex, Claude Code, WorkBuddy/CodeBuddy, and other agents that can run stdio MCP servers.
Paste a public YouTube URL and get a grounded summary, timestamped moments, topic chapters, reusable copy, and up to 10 highly liked public comments. Spreadsheet import handles batches. The transcript comes first; if captions aren't available, the tool stops instead of guessing from a title.
What it does
Reads existing public captions with timestamps.
Produces a one-sentence takeaway, a compact summary, and distinct points.
Links every selected moment and chapter back to the matching point in the video.
Pulls up to 10 highly liked public top-level comments from YouTube's returned candidate set.
Scans XLSX, XLS, XLSM, CSV, and TSV files for YouTube links, including Excel hyperlinks.
Writes Chinese or English output and keeps the latest 100 results in browser storage.
Runs as a visual localhost workspace and as a set of MCP tools.
Comments remain in their original wording. They represent audience reactions, not verified facts.
Related MCP server: YouTube Transcript MCP Server
Two ways to run it
Install it in an Agent
The Agent plugin starts a private web workspace on 127.0.0.1 when its MCP process starts. Ask the Agent:
Open the YouTube Transcript Index web UI.
The Agent calls get_web_ui_status and returns the active address. The default is http://127.0.0.1:3000; if that port is occupied, the server tries the next local port.
The plugin page tries these analysis adapters in order:
MCP Sampling, when the host implements it.
A locally signed-in Codex CLI.
A locally signed-in Claude Code CLI.
Set YTI_ANALYSIS_PROVIDER to sampling, codex, or claude when you need a fixed adapter.
Analysis has a 10-minute default deadline. Set YTI_ANALYSIS_TIMEOUT_MS to another value in milliseconds when the host needs a different limit. The web page provides a cancel button, and cancellation stops the active local Agent process.
See AGENT-PLUGIN.md for Codex, Claude Code, WorkBuddy/CodeBuddy, Windows paths, and optional settings.
Run the standalone workspace
npm install
npm run studioOpen http://localhost:3000. This mode uses the Codex installation already signed in on the computer.
Agent installation
Requirements:
Node.js 22.13 or newer
An Agent with local stdio MCP support
Internet access to YouTube
Unzip the plugin release to a stable folder, then register its bundled server.
Codex
codex mcp add youtube-transcript-index -- node "/ABSOLUTE/PATH/scripts/mcp-server.bundle.mjs"Claude Code
claude mcp add --scope user youtube-transcript-index -- node "/ABSOLUTE/PATH/scripts/mcp-server.bundle.mjs"WorkBuddy / CodeBuddy
Add the server in the product's MCP settings or in the project's .mcp.json:
{
"mcpServers": {
"youtube-transcript-index": {
"command": "node",
"args": ["/ABSOLUTE/PATH/scripts/mcp-server.bundle.mjs"]
}
}
}Use forward slashes in Windows JSON paths, for example C:/Tools/youtube-transcript-index/scripts/mcp-server.bundle.mjs.
MCP tools
Tool | Purpose |
| Returns the active localhost URL and selected analysis adapter. |
| Fetches timestamped captions with pagination for long transcripts. |
| Returns up to 10 highly liked public comment excerpts. |
| Finds and deduplicates YouTube links in a local spreadsheet. |
All four tools are non-destructive. Transcript and comment text are treated as untrusted source material, never as instructions to the Agent.
Batch input
Upload an .xlsx, .xls, .xlsm, .csv, or .tsv file in the web workspace. The importer checks populated cells and Excel hyperlinks across every worksheet, merges duplicate video IDs, and queues up to 100 videos per batch. Each finished result goes into local browser history immediately.
The raw scanner accepts up to 500 distinct links. The web queue uses a lower limit so a mistaken upload doesn't start hundreds of model requests.
Build the plugin package
npm run package:pluginThe archive and its SHA-256 file are written to release/. The packaged MCP server is a single JavaScript bundle, so recipients don't need this repository's node_modules folder.
Portable desktop archives can also be assembled on macOS:
npm run package:mac
npm run package:windowsThese builds include Node.js and uv. The macOS archives aren't notarized unless the distributor signs and notarizes them separately; read MAC-FIRST-START.txt before sharing one.
Development
npm test
npm run lint
npm run test:mcpThe test suite builds the web app, initializes the bundled MCP server, checks the localhost page, and verifies the rendered workspace. See CONTRIBUTING.md before opening a pull request.
Privacy and limits
HTTP listeners bind only to
127.0.0.1.Browser history stays in that browser's local storage.
Captions and public comments go directly to YouTube.
Analysis uses the recipient's own Agent login; no credentials are included in release files.
Caption access can fail for private videos, disabled captions, regional restrictions, age gates, or temporary YouTube blocking.
“Top comments” means the highest-liked items in YouTube's returned public candidate set, not a guaranteed ranking of every comment on the video.
This project isn't affiliated with YouTube, Google, OpenAI, Anthropic, or Tencent. YouTube is a trademark of Google LLC.
License
MIT. See LICENSE.
中文说明
YouTube Transcript Index 是一个本地运行的开源视频整理工具。粘贴 YouTube 公开视频链接后,它会根据字幕生成一句话结论、主要内容、可跳转高光、时间轴、分享文案和最多 10 条高赞公开评论。
安装 MCP 插件后,Agent 启动插件时会同步在 127.0.0.1 启动完整网页。在 Agent 中输入“打开 YouTube Transcript Index 网页”即可获取当前地址。
开发运行:
npm install
npm run studio生成可分享的 Agent 插件:
npm run package:plugin历史记录只保存在当前浏览器。项目不会根据标题猜测视频内容,也不会把任何人的 Agent 登录凭据放入发布包。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceAn MCP server that extracts transcripts, metadata, and summaries from YouTube videos across various URL formats including Shorts and standard links. It provides comprehensive video data and insights for analysis within MCP-compatible environments.Last updated3
- AlicenseAqualityDmaintenanceEnables users to extract, search, and analyze YouTube video transcripts directly within MCP-compatible clients. It supports advanced features like time-chunked summaries, keyword searching with surrounding context, and batch processing for multiple videos.Last updated4MIT
- AlicenseAqualityAmaintenanceMCP server that fetches YouTube video transcripts and optionally summarizes them. Supports multiple transcript formats (text, JSON, SRT, WebVTT), multi-language retrieval, and flexible YouTube URL parsing.Last updated64MIT
- Flicense-qualityDmaintenanceEnables extracting YouTube video transcripts, comments, and search results via MCP. Supports both Stdio and StreamableHTTP transports.Last updated332
Related MCP Connectors
YouTube MCP — wraps the YouTube Data API v3 (BYO API key)
Multimodal video analysis MCP — transcription, vision, and OCR for any video URL.
Any social-video URL → transcript, metadata, frames, OCR, summary, search, Q&A. MCP server + x402.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/theresayao0614-sudo/youtube-transcript-index'
If you have feedback or need assistance with the MCP directory API, please join our Discord server