bilibili MCP Server
English | 简体中文
Model Context Protocol (MCP) Server for the bilibili.com API.
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:
Demo Vedio
https://github.com/user-attachments/assets/813dece6-c9b5-4bc5-96c1-c3b4d284cc76
Local Development
- Install dependencies
pnpm i
- build
pnpm build
# or
pnpm dev
- 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:
- Bump the version in package.json
- Build the project
- Publish to npm registry
Credits
Recommend MCP Servers 💡
wangyafu/haiguitangmcp
提供海龟汤游戏的MCP服务,让用户可独自体验情景推理游戏
Unity-MCP
AI-powered bridge connecting LLMs and advanced AI agents to the Unity Editor via the Model Context Protocol (MCP). Chat with AI to generate code, debug errors, and automate game development tasks directly within your project.
AniList MCP server
AniList MCP server for accessing anime and manga data
bilibili-mcp
一个用于获取 B 站热榜的 MCP 工具,基于 FastMCP 和 B 站公开接口。你可以通过注册到 Cursor 或其他 MCP 客户端,实时调用热门视频数据。
youtube-mcp-server
A FastMCP server providing unified access to YouTube video/channel/playlist information and management tools for memo agents and automation.
mcp-sticky
An MCP server for creating AI-generated memes and converting them into stickers for platforms like Telegram and WhatsApp, requiring no external APIs.