MCP Directory

How to add Bilibili MCP to Claude Desktop

MCP server to search Bilibili videos and fetch trending lists, video details, UP-host info, and anime schedules. Paste the config into ~/Library/Application Support/Claude/claude_desktop_config.json and restart Claude Desktop.

Last updated June 14, 2026 ยท 174โ˜… ยท stdio ยท no auth

Claude Desktop config for Bilibili MCP

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

Setup steps

  1. 1Open Claude Desktop โ†’ Settings โ†’ Developer โ†’ Edit Config (this opens ~/Library/Application Support/Claude/claude_desktop_config.json).
  2. 2Paste the Bilibili MCP config below under the top-level "mcpServers" key.
  3. 3Fill in any placeholder secrets (API keys, paths) in the snippet.
  4. 4Save the file, then fully quit and reopen Claude Desktop.
  5. 5Open a chat and confirm Bilibili MCP's tools appear under the ๐Ÿ”Œ tools menu.

Before you start

  • Node.js >= 20.12.0

What Bilibili MCP can do in Claude Desktop

search-video

Search Bilibili video content and return a list of video summaries.

get-trending

Get Bilibili trending content: overall hot, must-watch (ๅ…ฅ็ซ™ๅฟ…ๅˆท), rankings, and full-site music chart.

get-video-detail

Get detailed information for a Bilibili video (supports BV number or AV number).

get-up-info

Get UP-host (creator) information such as basic profile, follower count, and following count.

get-anime-schedule

Get the anime broadcast schedule (timetable of airing anime within a time range).

Bilibili MCP + Claude Desktop FAQ

Where is the Claude Desktop config file?

Claude Desktop reads MCP servers from ~/Library/Application Support/Claude/claude_desktop_config.json. Paste the Bilibili MCP config there under the "mcpServers" key and restart the client.

How do I run it without installing?

Use the npm package via npx: configure an mcpServers entry with command "npx" and args ["bilibili-mcp-js"]. The package was published by the community contributor HQHC.

Can I run it locally from source?

Yes. Run npm run build, then point the config args at your built file, e.g. command "node" and args ["d:\\your-path\\bilibili-mcp-js\\dist\\index.js"].

Does it support a remote/HTTP transport?

Yes. The server defaults to stdio, but you can start it in streamable HTTP mode with TRANSPORT=remote (optionally setting PORT), e.g. TRANSPORT=remote npm run start.

View repo Full Bilibili MCP page