Bilibili API MCP Server
@huccihuang
About Bilibili API MCP Server
MCP Server for the Bilibili API, supporting various operations.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"bilibili-mcp-server": {
"command": "uv",
"args": [
"sync"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Bilibili API MCP Server?
An MCP (Model Context Protocol) server for the Bilibili API, supporting various operations like searching and retrieving video danmaku (barrage). It is designed for developers who want to integrate Bilibili data into MCP-compatible clients.
How to use Bilibili API MCP Server?
Clone the project, install dependencies with uv sync, then configure the server in any MCP client using the provided JSON snippet that sets the command to uv with arguments pointing to the bilibili.py script. After configuration, use the client to invoke the supported operations.
Key features of Bilibili API MCP Server
- General search by keyword across Bilibili
- Dedicated user search with follower count sorting
- Precise search filtering unnecessary info (user, video, live, article)
- Retrieve danmaku (barrage) for a specific video
Use cases of Bilibili API MCP Server
- Search for Bilibili videos, users, live streams, or articles programmatically
- Find a specific user account with exact name matching using precise search
- Fetch and analyze video danmaku data
- Integrate Bilibili content discovery into AI-powered tools or assistants
FAQ from Bilibili API MCP Server
What are the environment requirements?
The server requires uv to manage dependencies.
How do I configure the server in an MCP client?
Add the following to your client's mcpServers configuration:
{
"mcpServers": {
"bilibili": {
"command": "uv",
"args": [
"--directory",
"/your-project-path/bilibili-mcp-server",
"run",
"bilibili.py"
]
}
}
}
What search types does precise search support?
Precise search supports user, video, live, and article types. The result includes an exact_match field indicating whether an exact match was found.
How can I search for a user exactly?
Use the get_precise_results operation with type user. It matches the username exactly; for example, searching "双雷" returns only the account with that exact username.
Can I retrieve video danmaku?
Yes, the server provides the get_video_danmaku operation to fetch danmaku (barrage) for a given video.
Frequently asked questions
What are the environment requirements?
The server requires [uv](https://docs.astral.sh/uv/) to manage dependencies.
How do I configure the server in an MCP client?
Add the following to your client's `mcpServers` configuration: ```json { "mcpServers": { "bilibili": { "command": "uv", "args": [ "--directory", "/your-project-path/bilibili-mcp-server", "run", "bilibili.py" ] } } } ```
What search types does precise search support?
Precise search supports `user`, `video`, `live`, and `article` types. The result includes an `exact_match` field indicating whether an exact match was found.
How can I search for a user exactly?
Use the `get_precise_results` operation with type `user`. It matches the username exactly; for example, searching "双雷" returns only the account with that exact username.
Can I retrieve video danmaku?
Yes, the server provides the `get_video_danmaku` operation to fetch danmaku (barrage) for a given video.
Basic information
More Developer Tools MCP servers

TaskerArmy Agent
TaskerArmyAsk Claude or ChatGPT what Shopify theme optimization tasks are pending on your store, a remote MCP server for TaskerArmy Agent accounts.
OrangePro
Aamir SiddiquiOrangePro local-first CLI + MCP server for behavior mapping, grounded test generation, and dynamic proof.
LocalCan
LocalCanGives AI agents public URLs (tunnels) for localhost, live HTTP traffic inspection, snapshot publishing, and access control. Part of LocalCan, the ngrok alternative for Mac, Windows and Linux. Free plan.

Apiosk
obcraftAI-native payments for tools and APIs. Discover, pay for, execute, and publish monetized APIs directly from your agent, settled per call in USDC over x402, through the Model Context Protocol. payments · finance · x402 ·
Vibgrate MCP
VibgrateQuery your team's drift, vulnerability, and migration data from any AI assistant. Vibgrate MCP connects Cursor, Claude, ChatGPT, Windsurf, or VS Code to Vibgrate Cloud: 51 tools for DriftScores, CVEs and EOL runtimes, up
Comments