Bilibili Subtitle Fetch logo

Bilibili Subtitle Fetch

by Initsnow

This is an MCP server designed for fetching Bilibili video subtitles. It allows users to retrieve subtitles in various languages and formats.

View on GitHub

Last updated: N/A

What is Bilibili Subtitle Fetch?

Bilibili Subtitle Fetch is an MCP server that retrieves subtitles from Bilibili videos, providing options for language selection and output format.

How to use Bilibili Subtitle Fetch?

To use the server, set the required Bilibili credentials (BILIBILI_SESSDATA, BILIBILI_BILI_JCT, BILIBILI_BUVID3) as environment variables. Then, run the server using scoop install uv and uvx bilibili-subtitle-fetch. You can also use the MCP tool with a JSON payload specifying the video URL, preferred language, and output format.

Key features of Bilibili Subtitle Fetch

  • Fetches Bilibili video subtitles

  • Supports multiple languages

  • Offers text and timestamped subtitle formats

  • Configurable via environment variables and CLI arguments

Use cases of Bilibili Subtitle Fetch

  • Generating subtitles for personal use

  • Creating translated subtitles for Bilibili videos

  • Archiving subtitles for research purposes

  • Integrating subtitle retrieval into other applications

FAQ from Bilibili Subtitle Fetch

What are the required Bilibili credentials?

The required credentials are BILIBILI_SESSDATA, BILIBILI_BILI_JCT, and BILIBILI_BUVID3.

How do I set the preferred subtitle language?

You can set the preferred language using the BILIBILI_PREFERRED_LANG environment variable or the --preferred-lang CLI argument.

What subtitle formats are supported?

The server supports text and timestamped subtitle formats.

How do I find my Bilibili credentials?

Refer to this link: https://nemo2011.github.io/bilibili-api/#/get-credential.md

Is this tool officially supported by Bilibili?

No, this is a third-party tool and is not officially supported by Bilibili.