# bilibili-api

> Use this tool when you need to access Bilibili user information, video details, or search for videos on the platform. It provides a standardized interface for models to interact with the Bilibili API, supporting functions like getting user info, video info, and searching videos. The tool accepts API requests and returns relevant data, making it suitable for applications that require Bilibili data integration.

Canonical page: https://skillsregistry.net/skills/xiaobenyang-com-bilibili-api  
JSON: https://api.skillsregistry.net/v1/skills/xiaobenyang-com-bilibili-api

## Description

# 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](https://mcp.xiaobenyang.com/inspector/1777316659451907)

Online Tool test [https://mcp.xiaobenyang.com/inspector/1777316659451907](https://mcp.xiaobenyang.com/inspector/1777316659451907)

## 服务配置 MCP Server Config


> #### 如何获取 XBY-APIKEY ？ How to get XBY-APIKEY ?
> 访问小笨羊科技网站 [https://xiaobenyang.com](https://xiaobenyang.com)，注册用户即可获得APIKEY
> Visit XiaoBenYang website [https://xiaobenyang.com](https://xiaobenyang.com), register and get the APIKEY.

### SSE
```json
{
  "mcpServers": {
    "B站API服务器": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "sse",
      "url": "https://mcp.xiaobenyang.com/1777316659451907/sse"
    }
  }
}
```
### STREAMABLE HTTP
```json
{
  "mcpServers": {
    "B站API服务器": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "streamable_http",
      "url": "https://mcp.xiaobenyang.com/1777316659451907/mcp"
    }
  }
}
```
### STDIO
```json
{
    "mcpServers": {
        "B站API服务器": {
          "command": "npx",
          "args": [
            "-y",
            "xiaobenyang-mcp"
          ],
          "env": {
            "XBY_APIKEY": "<YOUR_XBY_APIKEY>",
            "mcpId": "1777316659451907",
          },
          "transport": "stdio"
        }
      }
}

```

## Trust

- **Trust score (0–1):** 0.73
- **Verification tier:** scanned
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **Category:** media
- **Updated:** 2026-09-02

## Source

- **Source listing:** [Smithery](https://smithery.ai/server/xiaobenyang-com/bilibili-api)
- **Repository:** <https://github.com/xiaobenyang-com/1777316659451907>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "xiaobenyang-com-bilibili-api"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/xiaobenyang-com-bilibili-api` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/xiaobenyang-com-bilibili-api/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
