Bilibili: Videos, Comments, Danmaku & Creators (B站)

io.github.serenidoPublished by GitHub account serenidov1.0.0Updated Nov 1, 2026

Bilibili (B站) data without login: video stats, comments, danmaku, creators, trending, hot searches.

VerifiedStreamable HTTPWeb executableWeb Search & ScrapingData & Analytics

Overview

AI-generated overview

Remote Apify-hosted MCP server that lets an assistant pull public Bilibili video stats, comments, danmaku, creator profiles and trending lists without logging…

What you can do
  • Search videos by keyword with views, likes, coins, favorites, shares, danmaku counts, tags and author follower counts
  • Fetch top comments with reply threads, and danmaku with the second each appears
  • Look up creator profiles
  • Retrieve trending lists: popular videos, category rankings and hot searches
  • Return results as structured rows that can be downloaded as JSON, CSV or Excel
When to use it
Useful for research on Chinese video content: tracking how a product is reviewed on Bilibili, studying creators and their audiences, or collecting comments and danmaku for sentiment analysis.
Requirements
A remote MCP endpoint at mcp.apify.com with the Bilibili tool selected; an Apify account connected via OAuth on first use. Runs in Apify's cloud, so no local runtime, proxy or code is needed. Usage is billed per row.
Before you install
Paid usage at $1 per 1,000 rows, drawn from Apify plan credit; larger runs can cost more than expected. Connecting grants the server access through your Apify account. It collects public Bilibili data, so consider platform terms and privacy when storing comments or creator details.

Installation

In SourceWeft

  1. Open Bilibili: Videos, Comments, Danmaku & Creators (B站) in the dashboard and add it to a workspace.
  2. Connect the required credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.serenido%2Fbilibili/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.

{
  "mcpServers": {
    "bilibili-videos-comments-danmaku-creator": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=serenido/bilibili-scraper"
    }
  }
}

README

Bilibili Scraper API

Get Bilibili videos, comments, danmaku (bullet comments), creators and trending lists as clean JSON. No login.

Runs in the cloud on Apify. No servers, no proxy setup, no code to maintain. Open it on Apify

Price: $1 per 1,000 rows. No monthly fee. Apify's free plan gives $5 of usage every month, no credit card needed. Current price.

What you get

  • Search videos by keyword: views, likes, coins, favorites, shares, danmaku count, tags and author followers
  • Top comments with their reply threads, and danmaku (bullet comments with the second they appear)
  • Creator profiles
  • Trending lists: popular, rankings by category, hot searches

Quick start: Python

bash
pip install -U apify-client
python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("serenido/bilibili-scraper").call(run_input={    "mode": "search",    "keywords": [        "iPhone 17"    ],    "sort": "views",    "maxResults": 50})
for item in client.dataset(run.default_dataset_id).iterate_items():    print(item)

Quick start: JavaScript (Node.js)

bash
npm install apify-client
javascript
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor("serenido/bilibili-scraper").call({    "mode": "search",    "keywords": [        "iPhone 17"    ],    "sort": "views",    "maxResults": 50});
const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);

Quick start: one HTTP call

Runs the tool and returns the rows in one request. Good for runs under 5 minutes; for bigger runs use the Python or JavaScript example.

bash
curl -X POST "https://api.apify.com/v2/acts/serenido~bilibili-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \  -H "Content-Type: application/json" \  -d '{"mode": "search", "keywords": ["iPhone 17"], "sort": "views", "maxResults": 50}'

Get your token in Apify Console > Settings > API & Integrations.

Use it from AI apps (MCP)

Any app that supports remote MCP servers (Claude, ChatGPT, Cursor, VS Code and others) can run this tool for you. Add this server URL: https://mcp.apify.com?tools=serenido/bilibili-scraper. Your Apify account connects on first use. Example config for Cursor:

json
{  "mcpServers": {    "apify": {      "url": "https://mcp.apify.com?tools=serenido/bilibili-scraper"    }  }}

Input example

json
{  "mode": "search",  "keywords": [    "iPhone 17"  ],  "sort": "views",  "maxResults": 50}

Other modes: videos, comments, danmaku, creators, trending. All options are listed on the input page.

Output example (one row)

json
{  "type": "video",  "searchKeyword": "iPhone 17",  "rank": 1,  "bvid": "BV12Kpxz9Eyb",  "url": "https://www.bilibili.com/video/BV12Kpxz9Eyb",  "title": "「小白」iPhone17全面测评:你想看的都在这了!",  "author": "小白测评",  "authorFollowers": 4729409,  "category": "数码",  "duration": "19:48",  "publishedAt": "2025-09-17T12:00:00Z",  "views": 2104350,  "likes": 53238,  "coins": 27040,  "favorites": 11874,  "shares": 8155,  "danmakuCount": 12122,  "commentCount": 5843}

Download as JSON, CSV or Excel, or connect to Make, Zapier or n8n.

Use cases

  • Video and creator research for marketing in China
  • Tracking how a product is reviewed on Bilibili
  • Danmaku and comment data for sentiment analysis

More tools by Serenido

Support

Found a bug or need a field? Open an issue here or on the Issues tab on Apify.

Use it only for public data and follow the website's terms and the laws that apply to you. This project is not affiliated with the websites it reads.

Source: README.md at commit 81ea00d

Tools

0
This server asks you to sign in, so SourceWeft could not read its tools without an account and has not indexed them. What a connected account sees can depend on that account and its permissions.

Version history

1
  1. v1.0.0LatestOct 25, 2026

Score

75% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.