bilibili MCP Server
bilibili MCP 服务器
英语 |简体中文
bilibili.com API 的模型上下文协议 ( MCP ) 服务器。
特征
用户信息
[x] 通过
mid获取用户信息[x] 通过
bvid搜索视频信息[x] 通过关键词搜索视频
Related MCP server: MCP Feishu Project Manager
用法
克劳德桌面
参考官方文档
npm 配置(推荐)
{
"mcpServers": {
"bilibili": {
"command": "npx",
"args": ["-y", "@wangshunnn/bilibili-mcp-server"]
}
}
}或者
本地克隆仓库的配置
{
"mcpServers": {
"bilibili": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/bilibili-mcp-server/dist/index.js"
]
}
}
}保存配置并重启,您将看到新的bilibili MCP选项,如下所示:
演示视频
https://github.com/user-attachments/assets/813dece6-c9b5-4bc5-96c1-c3b4d284cc76
本地开发
安装依赖项
pnpm i建造
pnpm build
# or
pnpm dev针对本地 repo 进行调试,请参阅上文。
出版
要将新版本发布到 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这些命令将自动:
修改 package.json 中的版本
构建项目
发布到 npm 注册表
致谢
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.14ISC
- 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