
Bilibili Video Info
STDIOMCP server for retrieving Bilibili video subtitles, danmaku, and comments information
MCP server for retrieving Bilibili video subtitles, danmaku, and comments information
A Bilibili MCP Server that can retrieve subtitles, danmaku (bullet comments), and comments information from videos using the video URL.
This MCP server supports three transport methods:
{ "mcpServers": { "bilibili-video-info-mcp": { "command": "uvx", "args": [ "bilibili-video-info-mcp" ], "env": { "SESSDATA": "your valid sessdata" } } } }
cp .env.example .env uvx run --env .env bilibili-video-info-mcp sse
then config your mcp client
{ "mcpServers": { "bilibili-video-info-mcp": { "url": "http://{your.ip.address}:$PORT$/sse" } } }
cp .env.example .env uvx run --env .env bilibili-video-info-mcp streamable-http
then config your mcp client
{ "mcpServers": { "bilibili-video-info-mcp": { "url": "http://{your.ip.address}:$PORT$/mcp" } } } }
{ "name": "get_subtitles", "arguments": { "url": "https://www.bilibili.com/video/BV1x341177NN" } }
{ "name": "get_danmaku", "arguments": { "url": "https://www.bilibili.com/video/BV1x341177NN" } }
{ "name": "get_comments", "arguments": { "url": "https://www.bilibili.com/video/BV1x341177NN" } }
Make sure you have set the environment variable:
export SESSDATA="your SESSDATA value"
Standard Bilibili video links are supported, such as: