Bilibili MCP

v1.0.0Search & Data Extractionstable

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 simp

bilibilimcp
Share:
167
Stars
0
Downloads
0
Weekly
0/5

What is Bilibili MCP?

Bilibili MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 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 i...

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 simp

This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • An MCP server that enables users to search Bilibili videos,

Use Cases

Search Bilibili videos and trending content.
Retrieve video details and anime schedules.
34892002

Maintainer

LicenseMIT License
Languagejavascript
Versionv1.0.0
UpdatedMay 13, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx bilibili-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Bilibili MCP

The Bilibili MCP Server connects AI assistants to Bilibili, China's leading video platform, exposing tools to search videos, retrieve trending and recommended content, fetch detailed video metadata by BV or AV ID, look up creator profiles and follower counts, and query anime broadcast schedules. Developers and content researchers use it to build AI workflows that analyze Bilibili trends, monitor creators, or discover anime releases without writing platform-specific API code.

Prerequisites

  • Node.js 18 or higher (or Bun runtime) installed
  • npm or bun package manager available
  • An MCP client such as Claude Desktop
  • No Bilibili account or API key required for basic search and trending features
1

Install the Bilibili MCP server via npx

Run the server directly using npx without a global install. This is the simplest way to get started.

npx bilibili-mcp-js
2

Or clone and build from source

Clone the repository and build locally if you need to customize behavior or run in a local environment.

git clone https://github.com/34892002/bilibili-mcp-js.git
cd bilibili-mcp-js
npm install
npm run build
3

Configure Claude Desktop

Add the server entry to your claude_desktop_config.json using npx to run the package.

{
  "mcpServers": {
    "bilibili": {
      "command": "npx",
      "args": ["-y", "bilibili-mcp-js"]
    }
  }
}
4

Restart Claude Desktop and verify

Restart Claude Desktop to activate the server. Ask Claude to search for a Bilibili video to confirm the tools are available.

Bilibili MCP Examples

Client configuration

Claude Desktop configuration for the Bilibili MCP server using npx.

{
  "mcpServers": {
    "bilibili": {
      "command": "npx",
      "args": ["-y", "bilibili-mcp-js"]
    }
  }
}

Prompts to try

Example prompts to use with the Bilibili MCP server for video search and content discovery.

- "Search Bilibili for videos about machine learning tutorials in Chinese"
- "What are the trending videos on Bilibili right now?"
- "Get the details for Bilibili video BV1xx411c7mD"
- "Look up the profile and follower count for Bilibili creator with UID 12345678"
- "What anime series are airing on Bilibili this week?"

Troubleshooting Bilibili MCP

Search returns no results or connection errors

The server connects to Bilibili's public API endpoints. If you are outside mainland China, some endpoints may be geo-restricted. Try using a VPN or proxy located in China, or check if the Bilibili API is temporarily unavailable.

npx command fails with 'package not found'

Ensure you are using the correct package name 'bilibili-mcp-js'. Run 'npm view bilibili-mcp-js' to verify the package is available on npm. If you have a stale npx cache, clear it with 'npx clear-npx-cache'.

Video details not found when searching by BV or AV ID

Make sure you are using the correct ID format. BV IDs start with 'BV' followed by alphanumeric characters (e.g., BV1xx411c7mD). AV IDs are numeric. Removed or region-locked videos will return empty results regardless of the ID.

Frequently Asked Questions about Bilibili MCP

What is Bilibili MCP?

Bilibili MCP is a Model Context Protocol (MCP) server that 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 simp It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Bilibili MCP?

Follow the installation instructions on the Bilibili MCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Bilibili MCP?

Bilibili MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Bilibili MCP free to use?

Yes, Bilibili MCP is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Search & Data Extraction MCP Servers

Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

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

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Bilibili MCP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides