MCP.so
登录

Bilibili API MCP Server

@huccihuang

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

huccihuang

关于 Bilibili API MCP Server

MCP Server for the Bilibili API, supporting various operations.

Bilibili API MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "bilibili-mcp-server": {
      "command": "uv",
      "args": [
        "sync"
      ]
    }
  }
}

Bilibili API MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

常见问题

1

What are the environment requirements?

The server requires [uv](https://docs.astral.sh/uv/) to manage dependencies.

2

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" ] } } } ```

3

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.

4

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.

5

Can I retrieve video danmaku?

Yes, the server provides the `get_video_danmaku` operation to fetch danmaku (barrage) for a given video.

评论

开发工具 分类下的更多 MCP 服务器