JUHE API Marketplace
lesir831 avatar
MCP Server

Bilibili Video Info MCP

A Bilibili MCP Server that can retrieve subtitles, danmaku (bullet comments), and comments information from videos using the video URL.

15
GitHub Stars
11/23/2025
Last Updated
MCP Server Configuration
1{
2 "name": "bilibili-video-info-mcp",
3 "command": "uvx",
4 "args": [
5 "bilibili-video-info-mcp"
6 ],
7 "env": {
8 "SESSDATA": "your valid sessdata"
9 }
10}
JSON10 lines
  1. Home
  2. MCP Servers
  3. bilibili-video-info-mcp

README Documentation

MCP Server for Bilibili Video Info

smithery badge

A Bilibili MCP Server that can retrieve subtitles, danmaku (bullet comments), and comments information from videos using the video URL.

Usage

This MCP server supports three transport methods:

  1. stdio
{
    "mcpServers": {
        "bilibili-video-info-mcp": {
            "command": "uvx",
            "args": [
                "bilibili-video-info-mcp"
            ],
            "env": {
                "SESSDATA": "your valid sessdata"
            }
        }
    }
}
  1. sse (Server-Sent Events) run bilibili-video-info-mcp in sse mode
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"
        }
    }
}
  1. streamable-http (HTTP Streaming) run bilibili-video-info-mcp in streamable-http mode
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"
            }
        }
    }
}

MCP Tools List

1. Get Video Subtitles

{
  "name": "get_subtitles",
  "arguments": {
    "url": "https://www.bilibili.com/video/BV1x341177NN"
  }
}

2. Get Video Danmaku (Bullet Comments)

{
  "name": "get_danmaku",
  "arguments": {
    "url": "https://www.bilibili.com/video/BV1x341177NN"
  }
}

3. Get Video Comments

{
  "name": "get_comments",
  "arguments": {
    "url": "https://www.bilibili.com/video/BV1x341177NN"
  }
}

FAQ

1. How to find SESSDATA?

  1. Log in to the Bilibili website
  2. Open browser developer tools (F12)
  3. Go to Application/Storage -> Cookies
  4. Find the value corresponding to SESSDATA

2. Error "SESSDATA environment variable is required"

Make sure you have set the environment variable:

export SESSDATA="your SESSDATA value"

3. What video link formats are supported?

Standard Bilibili video links are supported, such as:

  • https://www.bilibili.com/video/BV1x341177NN
  • https://b23.tv/xxxxx (short links)
  • Any link containing a BV number

Quick Install

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved