Model Context Protocol (MCP) Server for the bilibili.com API.
Created 3 months ago
Model Context Protocol (MCP) Server for the bilibili.com API.
development
documentation
public
What is Model Context Protocol (MCP) Server for the bilibili.com API.?
This is a Model Context Protocol (MCP) Server for the bilibili.com API, allowing users to get user information by mid, search video information by bvid, and search videos by keywords.
Documentation
bilibili MCP Server
English | 简体中文
Model Context Protocol (MCP) Server for the bilibili.com API.
Features# User Info
- Get user information by
mid - Search video information by
bvid - 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\n\n# or
pnpm dev
- debug for local repo, see above.
Publishing
To publish a new version to npm:
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
Server Config
{
"mcpServers": {
"model-context-protocol-(mcp)-server-for-the-bilibili.com-api.-server": {
"command": "npx",
"args": [
"model-context-protocol-(mcp)-server-for-the-bilibili.com-api."
]
}
}
}
Links & Status
Project Info
Hosted
Featured
Created At:
Aug 07, 2025
Updated At:
Aug 07, 2025
Author:
wangshunnn
Category:
API
License:
MIT
Tags:
development
documentation
public