home / mcp / bilibili mcp server

Bilibili MCP Server

Provides Bilibili video search, popular lists, video details, creator info, and番剧 schedules via MCP

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "34892002-bilibili-mcp-js": {
      "command": "npx",
      "args": [
        "bilibili-mcp-js"
      ]
    }
  }
}

You have a Bilibili MCP server that lets you search Bilibili videos, fetch popular items, retrieve video details, get creator information, and view anime schedules. It exposes a simple MCP interface you can call from AI apps to explore Bilibili content programmatically.

How to use

Connect to the Bilibili MCP Server from your MCP client and start querying for video content. You can search for videos, fetch popular lists, request details by BV or AV number, pull creator information, and retrieve time tables for番剧 within a specified window. Use the available endpoints through your MCP client as you would with any other MCP server, then process the results in your application logic to present them in your UI or pass them to agents and chains.

How to install

Prerequisites you need before installation: a supported runtime (Node.js) and a client capable of MCP communication. Ensure you are using Node.js version that meets the project’s minimum requirements.

Step by step commands to run the server locally if you are using the provided npm/npx setup:

Additional notes

The server can be started in different modes depending on your environment. You can run it in stdio mode for local development or use a prepared build in dist for production-like testing. If you plan to integrate with LangChain examples, configure your LLM model and paths accordingly in your project to enable end-to-end testing.

Available tools

searchVideo

Search Bilibili videos by keywords and filters, returning a list with basic metadata for each result.

getPopular

Retrieve lists of popular videos, including 综合热门, 入站必刷, 排行榜, and 全站音乐榜.

getVideoDetails

Fetch detailed information for a video using BV号 or AV号, including metadata and statistics.

getUPInfo

Obtain basic uploader information such as name, follower count, and following count.

getSchedule

Provide a timetable of番剧 releases within a specified time range.