Updated April 2026

Install Bilibili MCP Server

Pick your client, copy the command, done.

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add bilibili-mcp-db67 -- npx bilibili-mcp-js

Environment Variables

Set these before running Bilibili MCP Server.

VariableDescriptionRequired
TRANSPORTSets the transport mode (e.g., remote for HTTP)No
PORTSets the port for remote transport modeNo

Available Tools (5)

Once configured, Bilibili MCP Server gives your AI agent access to:

search_videosSearch for Bilibili video content based on keywords.
keyword
get_trendingRetrieve popular content including rankings and trending lists.
type
get_video_detailsGet detailed information about a specific video using its BV or AV ID.
id
get_creator_infoRetrieve information about a content creator including follower counts.
mid
get_anime_scheduleGet the anime broadcast schedule for a specific time range.
start_dateend_date

Try It Out

After setup, try these prompts with your AI agent:

Search for the latest trending videos on Bilibili today.
Find the video details for BV1xxxxxxxxx.
Get the anime broadcast schedule for this week.
Show me the profile information for the Bilibili creator with ID 123456.
Prerequisites & system requirements
  • An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
  • Node.js 18+ with npm/npx installed
Alternative installation methods

Manual

npm install && npm run build

Keep this setup from going cold

Save the docs, env vars, and workflow around Bilibili MCP Server in Conare so Claude Code, Codex, and Cursor remember it next time.

Need the legacy visual installer? Open Conare IDE.
Remember this setup