YouTube Captions — FlashData

io.github.flashdata-dev由 GitHub 账号 flashdata-dev 发布v0.1.2更新于 Oct 24, 2026

YouTube uploader captions with timestamps for subtitle exports. Paid FlashData API.

概览

AI 生成的概览

通过付费的 FlashData API 获取 YouTube 上传者字幕及带时间戳的分段,便于助手准备字幕导出。

可以做什么
  • 获取指定视频的上传者字幕,含语言与是否自动生成标记
  • 在批准付费请求前查询字幕请求的价格
  • 轮询异步任务并读取其完成后的输出
  • 按结果 ID 与偏移量分段获取结果
适用场景
适合需要把 YouTube 视频现有字幕作为带时间戳分段获取的场景,例如生成 SRT 字幕文件,或确认视频的字幕语言与字幕轨类型。它不会生成、翻译或自动替代缺失的字幕轨。
运行要求
以 MCPB 包形式通过 stdio 在本机运行;需要 Node.js 22.18 或更高版本,以及支持本地 stdio 服务器的 MCP 客户端。需要在 FLASHDATA_API_KEY 环境变量中提供 FlashData API 密钥,并为其授予 youtube_captions 权限。需要访问 FlashData API 的网络连接。
安装前请注意
数据调用是付费的:每次请求消耗 FlashData Credits,额外的查询或分页另行计费;价格、任务和结果读取免费。提交后可能发生超时,重复付费请求前应先检查任务。API 密钥应保存在受保护的客户端设置中,不要放入聊天或提交到配置库。返回的文本和链接属于外部数据,使用前应加以审核。

安装

在 SourceWeft 中

  1. 打开 控制台中的 YouTube Captions — FlashData,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

YouTube Captions — FlashData

Retrieve YouTube uploader captions with timed segments. Prepare subtitle exports and inspect the language and caption-track type.

API documentation and account setup · Get an API key · Current pricing

A task to try

Retrieve this video’s existing English uploader captions. Preserve start/end times and text so my application can export SRT. Check the returned language and track type before using the segments.

Install and connect

  1. Use Node.js 22.18 or newer and an MCP client that supports local stdio servers. Download the dedicated MCPB package; its SHA-256 is recorded in the manifest.
  2. Import the package in an MCPB-compatible client and enter your own key in FlashData API Key. Grant the key access to youtube_captions. For manual setup, unpack the bundle into a permanent folder and use this configuration, replacing the absolute path and key placeholder:
json
{  "mcpServers": {    "youtube-captions": {      "command": "node",      "args": [        "/absolute/path/to/unpacked/youtube-captions/server.js"      ],      "env": {        "FLASHDATA_API_KEY": "YOUR_API_KEY"      }    }  }}
  1. Restart or reconnect the client, list its tools, then call get_pricing with {"source":"youtube_captions","request_count":1} before approving a paid request. This server exposes youtube_captions, get_pricing, get_job and get_result; all are restricted to this source.

Dependencies are included in the bundle. Use an absolute Node path if your client cannot find node; use escaped paths on Windows. Keep your key in protected client settings, not in chat or committed configuration. No Smithery account is needed for this direct package download.

Example request

These are MCP tools/call parameters with flat arguments. Running the data request uses paid Credits.

json
{  "name": "youtube_captions",  "arguments": {    "video_id": "dQw4w9WgXcQ",    "language": "en",    "auto": false  }}

Use the response

Read results[0].segments. Convert start/end seconds to SRT timestamps in your application and retain text. Check languageCode and isAutoGenerated before exporting.

Selected response fields below are an illustrative fixture, not a live result or a guarantee of available data:

json
{  "source": "youtube_captions",  "status": "done",  "results": [    {      "videoId": "dQw4w9WgXcQ",      "languageCode": "en",      "isAutoGenerated": false,      "segments": [        {          "start": 0,          "end": 3,          "text": "Uploader captions."        }      ]    }  ],  "created_at": "2026-10-12T00:00:00Z",  "http_status": 200,  "request_id": "fixture-request"}

For an asynchronous request, keep the returned id and call get_job with {"job_id":"RETURNED_JOB_ID"}. Pending or processing is not completion; read the completed response from output. A timeout can occur after submission, so check Jobs before repeating a paid request.

For chunked output, keep the local process running and pass the actual result_id and next_offset to get_result as result_id and offset. Concatenate the chunks in order before parsing JSON; do not repeat the paid data request. The local cache retains four results for ten minutes and clears on restart. Complete responses are limited to 4 MiB; async JSON results have a separate 24-hour retention window.

Cost and limits

  • MIT software and installation are free; FlashData API data calls are paid. Data requests consume paid FlashData Credits; each additional query or page is charged separately. Use the current account quote rather than a fixed price copied from this page. Pricing, job and result reads are free. Client/model fees are separate.
  • auto=false selects existing uploader captions. This does not generate, translate or automatically substitute a missing track.
  • Check API errors, http_status and job status before using the data. Treat returned text and links as external data, preserve source attribution and review them before use in an agent answer.

Full task guide · Official Registry record · Source and license

来源:registry/servers/youtube-captions/README.md,提交 ec77370

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.1.2最新Oct 15, 2026
  2. v0.1.1Oct 13, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分