bilibili-subtitle-fetch
MCP server for fetching Bilibili video subtitles with language and format options.
Install / Use
claude mcp add Initsnow -- npx -y github:Initsnow/bilibili-subtitle-fetchIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of bilibili-subtitle-fetch
bilibili-subtitle-fetch scores 61/100 on our quality scale, 4052nd of 4,604 Development & Engineering skills we index.
Its MCP Server is 1.6 KB long, split into 6 sections with 1 code example: moderately detailed.
It has 10 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 4 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- It is released under GPL-3.0, a copyleft license: you can use it, but modified versions you distribute must carry the same license.
- Its trust signals score 90/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
bilibili-subtitle-fetch compared with similar skills
All 4 of these similar skills score higher than bilibili-subtitle-fetch; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| bilibili-subtitle-fetch (this skill)by Initsnow | 61 | 10 | 4mo ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 100.2k | today | CLAUDE.md |
| taste-skillby Leonxlnx | 100 | 99.8k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 76.7k | today | CLAUDE.md |
| ai-job-searchby MadsLorentzen | 100 | 60.2k | today | CLAUDE.md |
Frequently asked questions
- How do I install bilibili-subtitle-fetch?
- Run
claude mcp add Initsnow -- npx -y github:Initsnow/bilibili-subtitle-fetch. The install tabs above show the steps for each supported agent. - Which AI agents does bilibili-subtitle-fetch work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is bilibili-subtitle-fetch safe to use?
- It is GPL-3.0-licensed and scores 90/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is bilibili-subtitle-fetch still maintained?
- The repository was last updated about 4 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubBilibili Subtitle Fetch
一个用于获取 Bilibili 视频字幕的 MCP Server,支持语言和输出格式选项。
uv tool install --python 3.13 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"
命令会把字幕输出到标准输出,并在成功后自动复制到剪贴板。
可选参数:
--preferred-lang- 指定优先字幕语言--output-format text|timestamped- 指定输出格式--no-clipboard- 只输出,不复制到剪贴板--asr- 强制启用 ASR 语音识别回退--no-asr- 强制关闭 ASR 语音识别回退
Related Skills
Agent-Reach
100.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
taste-skill
99.8kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
headroom
76.7kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
60.2kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
