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 💡
@amurshak/podbeanmcp
An MCP server for managing your podcast through the Podbean API
youtube-mp3-mcp
一个用于从YouTube URL下载MP3音频的Model-Context-Protocol (MCP)服务器,支持与Claude Desktop集成并提供音質选择、自定义输出目录等功能。
mcp-minimax-music-server
MCP server enabling AI agents to generate music and audio content using the MiniMax Music API.
instagram_dm_mcp
A Model Context Protocol (MCP) server for sending Instagram Direct Messages and managing related interactions
chesspal-mcp-engine
A Stockfish-powered chess engine exposed as an MCP server using FastMCP, providing chess move generation and game status via SSE or stdio transports.
elevenlabs-mcp
Official ElevenLabs MCP server enabling interaction with Text to Speech and audio processing APIs for MCP clients like Claude Desktop, Cursor, etc.