bilibili-watch-mcp
v0.2.2Turns Bilibili videos into agent-readable materials: subtitles, danmaku, keyframe sheets, frames.
Values you need
| Variable | What it is | |
|---|---|---|
BILI_SESSDATA | optional secret | Optional Bilibili session cookie for AI subtitles and better search success. Preferred alternative: run a debug-enabled Chrome (see README) and the server pulls SESSDATA over CDP automatically. |
BILI_WATCH_OUT | optional | Directory where fetched materials (metadata, subtitles, sprites, frames) are written. |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add bilibili-watch-mcp -- uvx bilibili-watch-mcp==0.2.2Add to
claude_desktop_config.json{
"mcpServers": {
"bilibili-watch-mcp": {
"args": [
"bilibili-watch-mcp==0.2.2"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"bilibili-watch-mcp": {
"args": [
"bilibili-watch-mcp==0.2.2"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"bilibili-watch-mcp": {
"args": [
"bilibili-watch-mcp==0.2.2"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.bilibili-watch-mcp]
command = "uvx"
args = ["bilibili-watch-mcp==0.2.2"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: watch_video, search_videos, list_creator_videos.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json