Bilibili MCP Server

1. `general_search`: 基础搜索功能,使用关键词在哔哩哔哩进行搜索。 2. `search_user`: 专门用于搜索哔哩哔哩用户的功能,可以按照粉丝数排序。 3. `get_precise_results`: 精确搜索功能,可以过滤掉不必要的信息,支持多种搜索类型: -

Local serverstdio

What is the Bilibili MCP server?

Bilibili mcp server connects Bilibili to AI assistants that speak the Model Context Protocol. 1. general_search: 基础搜索功能,使用关键词在哔哩哔哩进行搜索。 2. search_user: 专门用于搜索哔哩哔哩用户的功能,可以按照粉丝数排序。 3. get_precise_results: 精确搜索功能,可以过滤掉不必要的信息,支持多种搜索类型: - 用户搜索 (user):精确匹配用户名,只返回完全匹配的结果。例如搜索"双雷"只会返回用户名为"双雷"的账号信息,不会返回其他相关用户 - 视频搜索 (video) - 直播搜索 (live) - 专栏搜索 (article) 返回结果包含 exact_match.

What Bilibili does

  1. general_search: 基础搜索功能,使用关键词在哔哩哔哩进行搜索。 2. search_user: 专门用于搜索哔哩哔哩用户的功能,可以按照粉丝数排序。 3. get_precise_results: 精确搜索功能,可以过滤掉不必要的信息,支持多种搜索类型: - 用户搜索 (user):精确匹配用户名,只返回完全匹配的结果。例如搜索"双雷"只会返回用户名为"双雷"的账号信息,不会返回其他相关用户 - 视频搜索 (video) - 直播搜索 (live) - 专栏搜索 (article) 返回结果包含 exact_match 字段,标识是否找到精确匹配的结果。 4. get_video_danmaku·: 获取视频弹幕信息。

Installing the bilibili mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Bilibili sits in that group. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by chenmingkong.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the bilibili mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

How to install the Bilibili MCP server

3. 在任意 mcp client 中配置本 Server

```json
{
  "mcpServers": {
    "bilibili": {
      "command": "uv",
      "args": [
        "--directory",
        "/your-project-path/bilibili-mcp-server",
        "run",
        "bilibili.py"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Frequently asked questions

It connects Bilibili to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Bilibili directly.