Token导航 LogoToken导航

MCP Server · 音视频

Caption Fetcher MCP

一个用于从YouTube和Bilibili视频中抓取字幕的MCP服务器,支持流式HTTP传输。

stdio官方级别未说明来源级核验工具 2
视频处理PythonHTTP传输Docker

快速开始

作者 / 组织
JorkeyLiu
提供方
JorkeyLiu
运行时
Docker

工具数量

2

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

1

仓库热度

收录来源

1 个

MCP World

选型结论

Caption Fetcher MCP 属于音视频类 MCP Server,公开资料标注 2 个工具,通过stdio 本地进程接入,客户端适配情况以官方文档为准,有可以直接复制的安装命令;接入前要先准备 会话凭据。

分类

音视频

传输方式

stdio

认证方式

会话凭据

部署方式

公开资料未说明

安装与配置

安装命令

docker run -d -p 3521:3521 --name caption-fetcher-mcp -e SESSDATA='your_sessdata' -e BILI_JCT='your_bili_jct' jorkeyliu/caption-fetcher-mcp:latest

公开命令不是通用的启动方式,拼不出可靠配置示例;请在客户端 MCP 配置里按官方文档填写 command 和 args。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 Docker,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 2 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

详细介绍

中文

Caption Fetcher MCP Server

A MCP server for fetching subtitles from YouTube and Bilibili videos.

Features

  • Supports fetching subtitles for a given YouTube video.
  • Supports fetching subtitles for a given Bilibili video.
  • Supports Streamable HTTP Transport.

Running and Deployment

Remote Docker Image

For most users, pulling and running the pre-built Docker image is the most convenient way:

docker run -d -p 3521:3521 --name caption-fetcher-mcp -e SESSDATA='your_sessdata' -e BILI_JCT='your_bili_jct' jorkeyliu/caption-fetcher-mcp:latest

*(Please replace your_sessdata and your_bili_jct with your actual credentials)*

Local Development

Installation and Setup
  1. Clone the repository:
    git clone https://github.com/jorkeyliu/caption-fetcher-mcp.git
    cd caption-fetcher-mcp
  1. Create a Conda virtual environment (recommended):

If you use Conda, you can create a virtual environment with a specific Python version:

    conda create -n caption-fetcher-mcp python=3.13.3
    conda activate caption-fetcher-mcp
  1. Install dependencies:
    pip install -r requirements.txt
  1. Bilibili Credentials:

Fetching Bilibili subtitles requires configuring the following environment variables as login credentials:

* SESSDATA (Required): Generally provided when fetching user information, typically for GET operations that do not modify user data (e.g., fetching profile, personal space info). * BILI_JCT (Required): Provided for operations that modify user data, typically for POST operations (e.g., sending comments, liking/favoriting/sharing, uploading videos). * BUVID3 / BUVID4 (Optional): Device verification code. Usually not required, but needed for some interfaces in the screening room and related to risk control.

Please configure the appropriate environment variables according to your needs.

Run Locally

Execute the following command in the project root directory to start the MCP server:

$env:SESSDATA="your_sessdata"; $env:BILI_JCT="your_bili_jct"; $env:BUVID3="your_buvid3"; python -m src.server

*(Please replace your_sessdata, your_bili_jct, your_buvid3 with your actual credentials)*

The server will run on 0.0.0.0:3521 and use the streamable-http transport protocol.

Docker Local Deployment

If you want to build and run the Docker image locally:

docker build -t caption-fetcher-mcp:latest .
docker run -d -p 3521:3521 --restart unless-stopped --name caption-fetcher-mcp -e SESSDATA='your_sessdata' -e BILI_JCT='your_bili_jct' caption-fetcher-mcp:latest

*(Please replace your_sessdata and your_bili_jct with your actual credentials)*

MCP Inspector

You can use the MCP Inspector tool for local development testing. Run the following command in your terminal:

npx @modelcontextprotocol/inspector

Unit Tests

python -m unittest test.test_server

Available Tools

This project provides the following MCP tools:

get_youtube_captions

  • Description: Fetches captions for a given YouTube video URL.
  • Parameters:

* youtube_url (string, required): The URL of the YouTube video. * preferred_lang (string, optional): Preferred subtitle language code (e.g., "en", "zh-CN").

  • Return Value: The video subtitle content.

get_bilibili_captions

  • Description: Fetches captions for a given Bilibili video URL.
  • Parameters:

* url (string, required): The URL of the Bilibili video. * preferred_lang (string, optional): Preferred subtitle language code (defaults to "zh-CN"). * output_format (string, optional): Output format ("text" or "timestamped", defaults to "text").

  • Return Value: The video subtitle content, formatted according to the output_format parameter.

Usage Example

To connect to this MCP server and use its tools, you need an MCP client that supports Streamable HTTP Transport. Please refer to the documentation of your MCP client library.

When connecting, please use the following configuration:

  • Transport Type: Streamable HTTP
  • URL: http://127.0.0.1:3521/mcp

*(You can add specific code examples here based on the MCP client library you are using.)*

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

This project uses the following excellent open-source libraries, and we would like to express our gratitude:

工具与能力

工具数量

2

资源数量

0

提示词数量

0

能力标签

字幕抓取Python本地部署视频处理MCP服务器HTTP传输

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

语音转文字

把会议录音转成文字,再整理要点。

文字转语音

把文案转成配音,调整语速和音色。

视频素材处理

提取字幕、剪出片段、生成封面。

选择建议

值得选的地方

  • 只提供 2 个工具,职责集中,接入后不容易误操作。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 公开说明写得比较完整,接入前能看清能力边界。

先想清楚的地方

  • stdio 方式要求本地装好 Docker,换机器要重新装一遍。
  • 需要自备会话凭据,没有凭据没法直接试。
  • 公开摘要偏短,具体能力和限制要回到仓库确认。

更适合

  • 需要在音视频场景里让模型直接调用外部能力的人。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 暂时拿不到会话凭据的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
Caption Fetcher MCP

MCP World · 本页

2stdio有1 个2026-05-17
Youtube E0eb3510

MCP World

0stdio有1 个2026-05-17
Ableton MCP B7b69a6a

MCP World

16stdio有2 个2026-05-17
Voicemode MCP

MCP World

0stdio有3 个2026-05-17
Short Video Maker MCP

MCP World

0stdio有3 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

Caption Fetcher MCP 怎么安装?

公开资料给出的安装命令是 docker run -d -p 3521:3521 --name caption-fetcher-mcp -e SESSDATA='your_sessdata' -e BILI_…,运行环境为 Docker。装完后按客户端要求写进 MCP 配置,重启客户端生效。

Caption Fetcher MCP 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 Docker;保存后完全退出客户端再打开,配置才会生效。

Caption Fetcher MCP 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Caption Fetcher MCP 需要 API Key 吗?

公开资料标注的认证方式是会话凭据,也就是要先拿到凭据才能连上;凭据只填在自己本地的配置里,不要写进公开仓库。

Caption Fetcher MCP 支持哪些客户端?

公开资料没有标注具体客户端;能配置本地 MCP 命令的客户端都能接,配置方式参照官方文档。

来源信息

继续浏览同类 MCP