bilibili MCP Server
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.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bilibili MCP Server search for videos about machine learning tutorials"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
bilibili MCP Server
English | 简体中文
Model Context Protocol (MCP) Server for the bilibili.com API.
Features
User Info
Get user information by
midSearch video information by
bvidSearch videos by keywords
Related MCP server: MCP Feishu Project Manager
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:
Demo Vedio
https://github.com/user-attachments/assets/813dece6-c9b5-4bc5-96c1-c3b4d284cc76
Local Development
Install dependencies
pnpm ibuild
pnpm build
# or
pnpm devdebug 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:majorThese commands will automatically:
Bump the version in package.json
Build the project
Publish to npm registry
Credits
Available Tools
3 toolsget_user_infoA
Get information about a Bilibili user
Inputs: mid (required).
get_video_infoB
Get detailed information about a Bilibili video
Inputs: bvid (required).
search_videosB
Search for videos on Bilibili
Inputs: keyword (required), count, page.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose targeting different resources: user information, video information, and video search. There is no overlap in functionality, making tool selection straightforward for an agent.
All tools follow a consistent verb_noun pattern (get_user_info, get_video_info, search_videos) with clear, descriptive names that align well with their functions.
With only 3 tools, the server feels thin for a Bilibili platform that likely has more capabilities (e.g., comments, playlists, subscriptions). While the tools cover basic operations, the count is borderline low for the domain's scope.
The toolset is severely incomplete for a Bilibili server, missing essential CRUD operations like creating or updating content, managing interactions (e.g., comments, likes), and accessing user-specific features (e.g., subscriptions, history). This will cause significant agent failures in broader workflows.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
AI video generation MCP server for Kling, MiniMax, Luma & Hunyuan with prompt blueprints.
Model Context Protocol server for Studex tools, notifications, and profile integrations
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to extract transcripts from YouTube videos, allowing AI to analyze and work with video content directly.110 npm4MIT
- AlicenseBqualityFmaintenanceA Model Context Protocol server that enables AI assistants to interact with Feishu project management systems, allowing retrieval of project views and work items.612MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides AI models with real-time trending content from 18 major Chinese internet platforms, including Weibo, Zhihu, and Bilibili.13ISC
- AlicenseCqualityDmaintenanceA Model Context Protocol (MCP) server that provides services for the bilibili.com API, supporting functions such as obtaining user information and video search.31Apache 2.0