bilibili-watch-mcp

v0.2.2
io.github.Liber1917/bilibili-watch-mcp Checked 4 days ago Published 4 days ago

Turns Bilibili videos into agent-readable materials: subtitles, danmaku, keyframe sheets, frames.

Values you need

VariableWhat it is
BILI_SESSDATAoptional 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_OUToptional 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.2
Add 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

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: watch_video, search_videos, list_creator_videos.
  4. 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