bilibili-subtitle-fetch
If you are the rightful owner of bilibili-subtitle-fetch and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
MCP server for fetching Bilibili video subtitles with language and format options.
Bilibili Subtitle Fetch
MCP server for fetching Bilibili video subtitles with language and format options.
Quick Start
- Set required environment variables:
export BILIBILI_SESSDATA=your_sessdata
export BILIBILI_BILI_JCT=your_jct
export BILIBILI_BUVID3=your_buvid3
- Run the server with optional parameters:
scoop install uv
uvx bilibili-subtitle-fetch
Configuration
Environment Variables
BILIBILI_SESSDATA
,BILIBILI_BILI_JCT
,BILIBILI_BUVID3
- Required Bilibili credentialsBILIBILI_PREFERRED_LANG
- Default subtitle language (default: zh-CN)BILIBILI_OUTPUT_FORMAT
- Subtitle format (text/timestamped, default: text)
CLI Arguments
--preferred-lang
- Override default subtitle language--output-format
- Override output format
MCP Tool Usage
{
"tool_name": "get_bilibili_subtitle",
"arguments": {
"url": "bilibili_video_url",
"preferred_lang": "optional_lang_code",
"output_format": "text|timestamped"
}
}