Bilibili Subtitle Fetch MCP Server

Bilibili Subtitle Fetch MCP Server

bilibili-subtitle-fetch•byinitsnow

An MCP server that retrieves subtitles from Bilibili videos, accepting BV numbers, standard video links, or short links, with language and output format options.

License: Not specified•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Fetches Bilibili video subtitles and supports a preferred subtitle language and output format of plain text or timestamped text.
  • •Accepts BV identifiers, standard Bilibili video URLs, and b23.tv short links as input.
  • •Can automatically refresh the Bilibili Cookie before logged-in requests when the required credential fields are present.
  • •Offers an optional ASR fallback that downloads audio and generates subtitles using Whisper when a video has no built-in subtitles.

BEST FOR

  • •Obtaining subtitles from Bilibili videos for transcription or note-taking workflows.
  • •Videos that lack built-in subtitles, using the optional Whisper-based ASR fallback.
  • •Users who need timestamped subtitle output rather than plain text.

ABOUT BILIBILI-SUBTITLE-FETCH

Bilibili Subtitle Fetch MCP Server is cataloged as an MCP server attributed to initsnow. An MCP server that retrieves subtitles from Bilibili videos, accepting BV numbers, standard video links, or short links, with language and output format options. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Bilibili Subtitle Fetch MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server support videos without existing subtitles?

Yes, when ASR is enabled it can automatically download the audio and generate subtitles if the video has no built-in subtitles.

What subtitle output formats are available?

The output format can be either plain text or timestamped text.

Can I control the preferred subtitle language?

Yes, the preferred language can be configured, with zh-CN as the default.

上游原版 README

在 GitHub 查看同一版本原文

README.md · a8966dfac11c · 采集于 2026-11-13 10:27:07 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Bilibili Subtitle Fetch

一个用于获取 Bilibili 视频字幕的 MCP Server,支持语言和输出格式选项。

uv tool install bilibili-subtitle-fetch

支持以下输入:

  • BV 号,例如 BV1fz4y1j7Mf
  • 标准视频链接,例如 https://www.bilibili.com/video/BV1fz4y1j7Mf?p=2
  • 短链,例如 https://b23.tv/FAm7Xn4

配置

凭据配置文件

首次使用时执行 bilibili-subtitle-fetch init,然后粘贴你的 Bilibili Cookie。

默认配置文件路径:

  • Windows: %APPDATA%\bilibili-subtitle-fetch\config.toml
  • Linux/macOS: ~/.config/bilibili-subtitle-fetch/config.toml

也可以通过 --config /path/to/config.toml 指定自定义路径。

配置文件会在 [credential] 下保存这些字段:

  • sessdata - 访问需要登录态的字幕接口时必需
  • bili_jct - 自动刷新时必需
  • ac_time_value - 自动刷新时必需
  • buvid3、buvid4、dedeuserid - 可选,但建议一并保存

当 sessdata、bili_jct 和 ac_time_value 都存在时,服务会在发起需要登录态的请求前自动检查是否需要刷新 Cookie,并将新值回写到 config.toml,不需要手动执行刷新命令。

ASR 配置 (可选)

配置文件同样支持 [asr] 段落配置默认的音频转写行为:

  • enable_asr - 是否开启 ASR 回退 (true/false)。开启后,如果视频未提供自带字幕,程序会自动下载音频并生成字幕。
  • model_size - Whisper 模型大小,默认为 base。也可以选用 tiny、small 等。

运行参数

  • --preferred-lang - 覆盖默认字幕语言
  • --output-format - 覆盖默认输出格式
  • --config - 使用自定义配置文件路径

CLI 用法

先执行 bilibili-subtitle-fetch init 配置 Cookie,然后可以直接在终端获取字幕:

bilibili-subtitle-fetch fetch BV1fz4y1j7Mf
bilibili-subtitle-fetch fetch "https://www.bilibili.com/video/BV1fz4y1j7Mf?p=2"

可选参数:

  • --copy, -c - 将获取的字幕复制到系统剪贴板(默认不复制)
  • --output-format text|timestamped - 指定输出格式(纯文本或带时间戳格式)
  • --preferred-lang - 指定优先字幕语言(默认 zh-CN)
  • --asr - 强制启用 ASR 语音识别回退(当视频无字幕时本地转写)
  • --no-asr - 强制关闭 ASR 语音识别回退
  • --verbose, -v - 开启详细调试与 HTTP 请求日志
  • --no-clipboard - (向后兼容)不复制到剪贴板

获取 Bilibili 凭据

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Bilibili Subtitle Fetch MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/bilibili-subtitle-fetch)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design