Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
YouTube transcripts, video search, chapters and extractive summaries. No YouTube API key, no LLM.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
Authorization标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
在终端中运行这条命令
claude mcp add --transport http youtube-transcripts https://parallelstudio--youtube-transcripts-mcp.apify.actor/mcp --header 'Authorization: your-value'运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"youtube-transcripts": {
"url": "https://parallelstudio--youtube-transcripts-mcp.apify.actor/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"youtube-transcripts": {
"type": "http",
"url": "https://parallelstudio--youtube-transcripts-mcp.apify.actor/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
Authorization 机密 必填 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 gunnargray-dev 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:Authorization
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(1.0.1)于11天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Hosted version (no setup): apify.com/parallelstudio/youtube-transcripts-mcp. Connect any MCP client to
https://parallelstudio--youtube-transcripts-mcp.apify.actor/mcpwith your Apify token, pay per call. This repo is the open-source code; you can also run it locally withnpm install && npm run build && node dist/index.js(stdio).
Give your AI agent YouTube transcripts, search, chapters and summaries. This MCP server fetches the captions of any public YouTube video (as plain text, timestamped segments or SRT) together with its metadata. It also searches YouTube, returns chapters, and builds structured extractive summaries where every point links to the moment it comes from.
Worked examples: four end-to-end workflows with prompts, tool calls, costs and real output are in docs/workflows.md.
It works with Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and any other client that supports MCP over Streamable HTTP. You don't need a YouTube API key or a Google account. No LLM runs on the server, so you don't pay for anyone else's tokens.
| Tool | What it does | Key parameters | ||
|---|---|---|---|---|
get_transcript | Returns the transcript plus metadata: title, channel, duration, views, publish date, category, the available caption languages and whether the returned track is auto-generated. Output can be plain text, [m:ss]-timestamped paragraphs, {start, duration, text} segments or SRT. YouTube can also machine-translate it. | video, languages (priority list, default ["en"]), format (text \ | segments \ | srt), include_timestamps, translate_to, allow_auto_generated, fallback_to_any_language, max_chars |
search_videos | Searches YouTube through the same InnerTube search API the website uses. Returns id, title, channel, duration, views, relative publish time, description snippet, thumbnail, live flag and badges. Fetches more pages automatically up to limit. | query, limit (1–50), upload_date (hour…year), duration (short <4 min, medium 4–20 min, long >20 min), sort_by, features (e.g. subtitles, live, hd, creative_commons), hl, gl | ||
get_video_chapters | Returns chapters with start and end times and deep links. Uses the creator's chapters from the description or YouTube's chapter markers. If there are none, it derives topic segments from the transcript and titles each one with its distinctive keywords and a representative sentence. | video, source (auto \ | description \ | transcript), languages, target_chapters |
summarize_transcript | Builds a structured extractive summary without an LLM: a TL;DR, de-duplicated key points, keywords and keyphrases, bullets per chapter, and notable quotes. Each item has a timestamp and a …&t=123s link. | video, max_points (1–30, default 8), languages, bullets_per_chapter, max_quotes, keyword_limit |
video accepts an 11-character id (dQw4w9WgXcQ) or any YouTube URL: watch?v=, youtu.be/, /shorts/, /embed/, /live/, m. and music. hosts, and youtube-nocookie.com.
All tools are read-only.
Failures come back as MCP tool errors (isError: true). The text starts with Error ( ): … and structuredContent.error holds { code, message, retryable, details }, so your agent can react to the code instead of parsing the message:
| Code | Meaning |
|---|---|
INVALID_VIDEO_ID / INVALID_INPUT | The video id/URL or another argument is invalid |
VIDEO_UNAVAILABLE | Removed, never existed, or the id is wrong |
VIDEO_PRIVATE | The video is private |
AGE_RESTRICTED | YouTube requires a signed-in account (age gate) |
VIDEO_UNPLAYABLE | Members-only, region-blocked, upcoming live stream, etc. (details.reason has YouTube's text) |
TRANSCRIPTS_DISABLED | The video has no captions at all |
NO_TRANSCRIPT_FOUND | None of the requested languages exist and fallback_to_any_language is false. details.available lists the tracks that do exist |
TRANSLATION_UNAVAILABLE | YouTube can't translate this track into translate_to |
NO_CHAPTERS | source: "description" was requested, but the description has no chapter list |
REQUEST_BLOCKED | YouTube blocked the request (HTTP 429, reCAPTCHA or "confirm you're not a bot") even after the server rotated proxy sessions. retryable: true |
PO_TOKEN_REQUIRED / EMPTY_TRANSCRIPT | YouTube served a caption URL that needs a PO token, or an empty caption file |
UPSTREAM_ERROR / INTERNAL_ERROR | Timeouts, 5xx responses or unexpected response shapes |
This Actor uses pay-per-event pricing. Tool events are charged only for successful tool calls. Failed calls are not charged as tool events, whether they fail on validation, because the video is private or has no captions, or because YouTube blocks the request. Apify also charges its standard Actor start event ($0.00005 per GB of memory, minimum one event) each time a server instance starts. At the default 512 MB standby memory that's $0.00005 per start, and one running instance serves many calls before it idles out. The Pricing tab on this Actor is the authoritative list of current prices.
| Event | Price | When it's charged | Count |
|---|---|---|---|
transcript | $0.005 | Each successful get_transcript call | 1 per call, whatever the video length or format |
search | $0.003 | Each successful search_videos call | 1 per call (up to 50 results, including extra pages fetched automatically) |
chapters | $0.008 | Each successful get_video_chapters call | 1 per call, from the description or derived from the transcript |
summary | $0.015 | Each successful summarize_transcript call | 1 per call. The transcript fetched internally is not charged separately as transcript |
A search that returns zero results is still a successful call and is charged as one search event.
Endpoint (Streamable HTTP):
https://parallelstudio--youtube-transcripts-mcp.apify.actor/mcp
Authenticate with your Apify API token by sending it as Authorization: Bearer .
~/.cursor/mcp.json or .cursor/mcp.json){
"mcpServers": { "youtube-transcripts": { "url": "https://parallelstudio--youtube-transcripts-mcp.apify.actor/mcp", "headers": { "Authorization": "Bearer " } } } }
~/.codeium/windsurf/mcp_config.json){
"mcpServers": { "youtube-transcripts": { "serverUrl": "https://parallelstudio--youtube-transcripts-mcp.apify.actor/mcp", "headers": { "Authorization": "Bearer " } } } }
claude_desktop_config.json)Claude Desktop's config file only launches local (stdio) servers, so bridge to the hosted endpoint with mcp-remote (needs Node.js). The same block works in any other client that only supports stdio:
{
"mcpServers": { "youtube-transcripts": { "command": "npx", "args": [ "-y", "mcp-remote", "https://parallelstudio--youtube-transcripts-mcp.apify.actor/mcp", "--header", "Authorization: Bearer ${APIFY_TOKEN}" ], "env": { "APIFY_TOKEN": " " } } } }
Apify also accepts the token as a token query parameter, so a client that only takes a URL can use:
https://parallelstudio--youtube-transcripts-mcp.apify.actor/mcp?token=<APIFY_TOKEN>
Prefer the Authorization header when your client supports it: a token in a URL can end up in logs. A scoped Apify token limits the damage if it leaks.
claude mcp add --transport http youtube-transcripts \
https://parallelstudio--youtube-transcripts-mcp.apify.actor/mcp \ --header "Authorization: Bearer $APIFY_TOKEN"
.vscode/mcp.json){
"servers": { "youtube-transcripts": { "type": "http", "url": "https://parallelstudio--youtube-transcripts-mcp.apify.actor/mcp", "headers": { "Authorization": "Bearer ${input:apifyToken}" } } }, "inputs": [{ "id": "apifyToken", "type": "promptString", "description": "Apify API token", "password": true }] }
Four of these, with the exact tool calls, per-call costs and real output from live YouTube videos, are in docs/workflows.md:
| Workflow | Tools | Cost per run |
|---|---|---|
| Research a long talk and answer with timestamp citations | get_transcript | $0.005 |
| Search a topic and summarize the top results | search_videos + 3 × summarize_transcript | $0.048 |
| Chapters for a long video that has none | get_video_chapters | $0.008 |
| Export subtitles as SRT, in another language | get_transcript | $0.005 |
The excerpts below come from the bundled fixture videos used in the test suite (see demo/transcript.md for every call and response).
`get_transcript` { "video": "kM3pLz8QwT0", "format": "segments", "include_timestamps": true } (trimmed):
{
"video": { "id": "kM3pLz8QwT0", "url": "https://www.youtube.com/watch?v=kM3pLz8QwT0", "title": "How Solar Panels Actually Work (Explained Simply)", "channel": "Bright Circuits", "durationSeconds": 552, "duration": "9:12", "viewCount": 1843291, "publishDate": "2025-03-14T07:00:12-07:00", "category": "Education", "isLive": false }, "transcript": { "language": "en", "languageName": "English", "autoGenerated": false, "translatedFrom": null, "matchedPreference": true, "format": "segments", "segmentCount": 128, "wordCount": 870, "truncated": false, "segments": [ { "start": 0, "duration": 4.116, "time": "0:00", "text": "Hey everyone, welcome back to Bright Circuits." }, { "start": 4.2, "duration": 4.116, "time": "0:04", "text": "Today we're answering a question I get" } ] }, "availableLanguages": [
只显示了开头部分;其余内容请在仓库中阅读