- Home
- MCP servers
- Bilibili Video Info
Bilibili Video Info
- python
19
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You can run and connect to a Bilibili video information MCP server to fetch subtitles, danmaku, and comments by video URL. It supports three transport methods so you can choose the one that fits your setup: standard I/O, Server-Sent Events, or HTTP streaming.
How to use
Choose the transport method that matches your MCP client setup. For local execution, run the server in stdio mode using the provided command, supplying your SESSDATA value for authentication. If you prefer a remote HTTP connection, use the SSE or HTTP streaming options and point your client at the corresponding URL.
How to install
Prerequisites: Ensure you have the MCP runtime available in your environment (the server is designed to run with the included runtime commands). You do not need to modify the server code to start using it.
- Prepare an environment outline if you plan to run in stdio mode. The following config shows how to run the server with stdio transport and the required SESSDATA value.
{
"mcpServers": {
"bilibili-video-info-mcp": {
"command": "uvx",
"args": [
"bilibili-video-info-mcp"
],
"env": {
"SESSDATA": "your valid sessdata"
}
}
}
}
How to use the HTTP transport options
If you want to connect over HTTP, you can use Server-Sent Events (SSE) or streamable HTTP. The client configuration points to the following endpoints.
SSE endpoint configuration in your MCP client:
{
"mcpServers": {
"bilibili-video-info-mcp": {
"url": "http://{your.ip.address}:$PORT$/sse"
}
}
}
For HTTP streaming transport
Configure your MCP client to connect to the streaming endpoint.
{
"mcpServers": {
"bilibili-video-info-mcp": {
"url": "http://{your.ip.address}:$PORT$/mcp"
}
}
}
Available tools
get_subtitles
Fetches subtitles for a given video URL.
get_danmaku
Retrieves bullet comments (danmaku) for a video URL.
get_comments
Gets user comments for a video URL.