The bilibili MCP Server allows you to interact with Bilibili data through structured endpoints:
Get User Information: Retrieve details of a Bilibili user using their numeric ID (
mid).Get Video Information: Fetch detailed information about a Bilibili video using its ID (
bvid).Search Videos: Search for videos using keywords, with options to specify page number and result count (up to 20 per page).
Enables querying user information by ID, searching for video information by ID, and searching videos by keywords from bilibili.com.
bilibili MCP Server
English | 简体中文
Model Context Protocol (
Features
User Info
Get user information by
midSearch video information by
bvidSearch videos by keywords
Related MCP server: WebSearch-MCP
Usage
Claude Desktop
Refer to the official documentation
config for npm (recommended)
or
config for local cloned repo
Save the configuration and restart. You will see the new bilibili MCP option as shown below:
Demo Vedio
https://github.com/user-attachments/assets/813dece6-c9b5-4bc5-96c1-c3b4d284cc76
Local Development
Install dependencies
build
debug for local repo, see above.
Publishing
To publish a new version to npm:
These commands will automatically:
Bump the version in package.json
Build the project
Publish to npm registry