other

Bilibili

by wangshunnn

Connect with Bilibili to access user info, video details, and search seamlessly. Enjoy Bilibili TV features without leav

Integrates with Bilibili video platform to retrieve user information, video details, and perform searches without switching contexts.

github stars

13

No API key neededDirect access to Chinese video platform

best for

  • / Content creators researching Bilibili videos
  • / Analyzing Chinese video content and creators
  • / Quick video fact-checking and verification

capabilities

  • / Get user information by user ID
  • / Retrieve detailed video information by video ID
  • / Search for videos by keywords
  • / Access video metadata and statistics

what it does

Access Bilibili video platform data directly in Claude. Retrieve user profiles, video details, and search results without leaving your chat interface.

about

Bilibili is a community-built MCP server published by wangshunnn that provides AI assistants with tools and capabilities via the Model Context Protocol. Connect with Bilibili to access user info, video details, and search seamlessly. Enjoy Bilibili TV features without leav It is categorized under other. This server exposes 3 tools that AI clients can invoke during conversations and coding sessions.

how to install

You can install Bilibili in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

MIT

Bilibili is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

bilibili MCP Server

MIT licensed NPM version NPM Unpacked Size (with version)

English | 简体中文

Model Context Protocol (MCP) Server for the bilibili.com API.

<a href="https://glama.ai/mcp/servers/@wangshunnn/bilibili-mcp-server"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@wangshunnn/bilibili-mcp-server/badge" alt="bilibili Server MCP server" /> </a>

Features

User Info

  • Get user information by mid
  • Search video information by bvid
  • Search videos by keywords

Usage

Claude Desktop

Refer to the official documentation

config for npm (recommended)

{
  "mcpServers": {
    "bilibili": {
      "command": "npx",
      "args": ["-y", "@wangshunnn/bilibili-mcp-server"]
    }
  }
}

or

config for local cloned repo

{
  "mcpServers": {
    "bilibili": {
      "command": "node",
      "args": [
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/bilibili-mcp-server/dist/index.js"
      ]
    }
  }
}

Save the configuration and restart. You will see the new bilibili MCP option as shown below:

<div align="center"> <img src="./assets/claude-desktop-1.png" alt="" width="500"> <img src="./assets/claude-desktop-2.png" alt="" width="500"> <img src="./assets/claude-desktop-setting.png" alt="" width="500"> </div>

Demo Vedio

https://github.com/user-attachments/assets/813dece6-c9b5-4bc5-96c1-c3b4d284cc76

Local Development

  1. Install dependencies
pnpm i
  1. build
pnpm build
# or
pnpm dev
  1. debug for local repo, see above.

Publishing

To publish a new version to npm:

# For patch version update (0.0.x)
pnpm publish:patch

# For minor version update (0.x.0)
pnpm publish:minor

# For major version update (x.0.0)
pnpm publish:major

These commands will automatically:

  1. Bump the version in package.json
  2. Build the project
  3. Publish to npm registry

Credits