How do I find my SESSDATA?
Log into Bilibili, open browser developer tools (F12), go to Application/Storage → Cookies, and copy the value for `SESSDATA`.
@lesir831
哔哩哔哩视频字幕、评论、弹幕获取
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"bilibili-video-info-mcp": {
"command": "uvx",
"args": [
"bilibili-video-info-mcp"
],
"env": {
"SESSDATA": "your valid sessdata"
}
}
}
}获取B站视频的字幕内容 Args: url: B站视频链接,例如 https://www.bilibili.com/video/BV1x341177NN Returns: 列表形式的字幕内容,按语言分组
获取B站视频的弹幕内容 Args: url: B站视频链接,例如 https://www.bilibili.com/video/BV1x341177NN Returns: 列表形式的弹幕内容
获取B站视频的热门评论 Args: url: B站视频链接,例如 https://www.bilibili.com/video/BV1x341177NN Returns: 列表形式的热门评论
Bilibili Video Info Mcp is an MCP (Model Context Protocol) server that retrieves subtitles, danmaku (barrage), and comments from Bilibili videos. It is designed for users who want to integrate Bilibili video information into AI-powered workflows.
Configure your MCP client with the command uvx and arguments ["bilibili-video-info-mcp"]. Set the environment variable SESSDATA to your valid Bilibili session cookie. Invoke the tools get_subtitles, get_danmaku, or get_comments by providing the video URL as the url argument.
get_subtitles tool.get_danmaku tool.get_comments tool.Log into Bilibili, open browser developer tools (F12), go to Application/Storage → Cookies, and copy the value for `SESSDATA`.
It means the `SESSDATA` environment variable has not been set. Ensure you export it (e.g., `export SESSDATA="your value"`) before starting the MCP server.
It supports standard Bilibili links (e.g.,

One workspace of tools for Claude and ChatGPT. Connect apps, generate video, music, and ads, and build new tools on demand. Generate and publish ad creative directly from your assistant.

Search and manage photo and video libraries through AI assistants. Find images and video moments, review duplicates, and organize collections, groups, favorites and people across local folders, Apple Photos and OneDrive.

Curated marketing libraries and an ideation engine for your AI. Connect Selfstorming to Claude, ChatGPT, Codex, Claude Code or Cursor and your assistant works from your project context plus: - 1,800+ award-winning campa

AI Poster Generator for shop promotions and events in ChatGPT and Claude on the web. Connect free with your Poster account. Quotes and reads are free; generation uses your own Poster credits.

Hosted MCP server (OAuth, no API keys) that makes short drama series (micro-dramas, sitcoms, K-drama style, any language) and other short vertical videos from Claude, ChatGPT or Codex, with the same cast every episode.
评论