bilibili MCP Server

by wangshunnn

16 stars
379 downloads
Not rated
GitHub Website

About

The bilibili MCP Server is a Model Context Protocol server that integrates with the bilibili.com API, enabling AI agents to retrieve user information and search videos directly.

Details

Author
wangshunnn
GitHub stars
16
Downloads
379
Categories
Other

- Get user information by mid
- Search video information by bvid
- Search videos by keywords

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name bilibili MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via npm (npx -y @wangshunnn/bilibili-mcp-server) or clone the repository and build locally. Configure the server in your Claude Desktop settings under mcpServers with the appropriate command and arguments, then restart Claude Desktop.

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

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "bilibili mcp server": {
            "bilibili": {
                "command": "npx",
                "args": [
                    "-y",
                    "@wangshunnn/bilibili-mcp-server"
                ]
            }
        }
    }
}

McpServers

{
    "bilibili": {
        "command": "npx",
        "args": [
            "-y",
            "@wangshunnn/bilibili-mcp-server"
        ]
    }
}

bilibili MCP Server

[![MIT licensed][badge-license]][url-license]
[![NPM version][badge-npm-version]][url-npm]
[NPM Unpacked Size (with version)][url-npm]

English | 简体中文

> _Model Context Protocol (MCP) Server for the bilibili.com API._

<a href="https://glama.ai/mcp/servers/@wangshunnn/bilibili-mcp-server">
bilibili Server MCP server
</a>

Features

User Info

- [x] Get user information by mid
- [x] Search video information by bvid
- [x] Search videos by keywords

Usage

Claude Desktop

> Refer to the official documentation

config for npm (recommended)

{
  "mcpServers": {
    "bilibili": {
      "command": "npx",
      "args": ["-y", "@wangshunnn/bilibili-mcp-server"]
    }
  }
}

_or_

config for local cloned repo

{
  "mcpServers": {
    "bilibili": {
      "command": "node",
      "args": [
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/bilibili-mcp-server/dist/index.js"
      ]
    }
  }
}

Save the configuration and restart. You will see the new bilibili MCP option as shown below:

<div align="center">




</div>

Demo Vedio

https://github.com/user-attachments/assets/813dece6-c9b5-4bc5-96c1-c3b4d284cc76

Local Development

1. Install dependencies

pnpm i

2. build

```sh
pnpm build

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.