bilibili MCP Server
About
The bilibili MCP Server is a Model Context Protocol server that integrates with the bilibili.com API, enabling AI agents to retrieve user information and search videos directly.
Details
- Author
- wangshunnn
- GitHub stars
- 16
- Downloads
- 379
- Categories
- Other
Jump to
- Get user information by mid
- Search video information by bvid
- Search videos by keywords
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
bilibili MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install via npm (npx -y @wangshunnn/bilibili-mcp-server) or clone the repository and build locally. Configure the server in your Claude Desktop settings under mcpServers with the appropriate command and arguments, then restart Claude Desktop.
get_user_info
Get information about a Bilibili user
get_video_info
Get detailed information about a Bilibili video
search_videos
Search for videos on Bilibili
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"bilibili mcp server": {
"bilibili": {
"command": "npx",
"args": [
"-y",
"@wangshunnn/bilibili-mcp-server"
]
}
}
}
}
McpServers
{
"bilibili": {
"command": "npx",
"args": [
"-y",
"@wangshunnn/bilibili-mcp-server"
]
}
}
bilibili MCP Server
[![MIT licensed][badge-license]][url-license]
[![NPM version][badge-npm-version]][url-npm]
[][url-npm]
English | 简体中文
> _Model Context Protocol (MCP) Server for the bilibili.com API._
<a href="https://glama.ai/mcp/servers/@wangshunnn/bilibili-mcp-server">
</a>
Features
User Info
- [x] Get user information by mid
- [x] Search video information by bvid
- [x] 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">



</div>
Demo Vedio
https://github.com/user-attachments/assets/813dece6-c9b5-4bc5-96c1-c3b4d284cc76
Local Development
1. Install dependencies
pnpm i
2. build
```sh
pnpm build
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



