Skip to main content
Glama
Bilibili-Api

Bilibili-Api

B站API服务器 Bilibili Api

一个为bilibili.com API提供服务的Model Context Protocol (MCP)服务器,支持获取用户信息、视频搜索等功能。 A Model Context Protocol (MCP) server that provides services for the bilibili.com API, supporting functions such as obtaining user information and video search.## 工具列表 Tool List

本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。 本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。

工具 Tool

描述 Description

get_user_info

Get information about a Bilibili user

get_video_info

Get detailed information about a Bilibili video

search_videos

Search for videos on Bilibili

检查服务 ## Inspector

工具在线测试: https://mcp.xiaobenyang.com/inspector/1777316659451907

Online Tool test https://mcp.xiaobenyang.com/inspector/1777316659451907

Related MCP server: Bilibili MCP Server

服务配置 MCP Server Config

如何获取 XBY-APIKEY ? How to get XBY-APIKEY ?

访问小笨羊科技网站 https://xiaobenyang.com,注册用户即可获得APIKEY Visit XiaoBenYang website https://xiaobenyang.com, register and get the APIKEY.

SSE

{
  "mcpServers": {
    "B站API服务器": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "sse",
      "url": "https://mcp.xiaobenyang.com/1777316659451907/sse"
    }
  }
}

STREAMABLE HTTP

{
  "mcpServers": {
    "B站API服务器": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "streamable_http",
      "url": "https://mcp.xiaobenyang.com/1777316659451907/mcp"
    }
  }
}

STDIO

{
    "mcpServers": {
        "B站API服务器": {
          "command": "npx",
          "args": [
            "-y",
            "xiaobenyang-mcp"
          ],
          "env": {
            "XBY_APIKEY": "<YOUR_XBY_APIKEY>",
            "mcpId": "1777316659451907",
          },
          "transport": "stdio"
        }
      }
}

Available Tools

3 tools
get_user_infoget_user_infoC

Get information about a Bilibili user

Inputs: mid (required).

get_video_infoget_video_infoC

Get detailed information about a Bilibili video

Inputs: bvid (required).

search_videossearch_videosC

Search for videos on Bilibili

Inputs: keyword (required), page, count.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: get_user_info targets user data, get_video_info targets video metadata, and search_videos targets video discovery. There is no overlap in functionality, making tool selection unambiguous for an agent.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with 'get_' or 'search_' prefixes and snake_case formatting. This predictable naming scheme enhances readability and usability across the set.

    Tool Count3/5

    With only 3 tools, the set feels thin for a Bilibili API server, which might be expected to handle more operations like comments, playlists, or uploads. However, it covers basic user, video, and search functions adequately for a minimal scope.

    Completeness3/5

    The tools provide read-only access to users, videos, and search, but lack CRUD operations (e.g., no create, update, or delete) or broader API coverage like comments or subscriptions. This limits agents to informational tasks without full lifecycle management.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      An MCP server that enables users to search Bilibili videos, access trending rankings, and retrieve detailed information about videos, content creators, and anime schedules. It allows AI applications to interact directly with Bilibili content via simple API interfaces.
      110 npm
      198
      MIT
    • F
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that provides tools for parsing and retrieving Bilibili video information, including video details, download links, and collection listings.
      5
      18 npm
      1
      -