bilibili MCP Server

by wangshunnn

Integrations

  • Enables querying user information by ID, searching for video information by ID, and searching videos by keywords from bilibili.com.

bilibili MCP Server

English | 简体中文

Model Context Protocol (MCP) Server for bilibili.com.

Features

User Info

  • Get user information by mid
  • Search video information by bvid
  • 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:

Demo Vedio

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

Local Development

  1. Install dependencies
pnpm i
  1. build
pnpm build # or pnpm dev
  1. debug for local repo, see above.

Publishing

To publish a new version to npm:

# For patch version update (0.0.x) pnpm publish:patch # For minor version update (0.x.0) pnpm publish:minor # For major version update (x.0.0) pnpm publish:major

These commands will automatically:

  1. Bump the version in package.json
  2. Build the project
  3. Publish to npm registry

Credits

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A Model Context Protocol server that allows AI assistants to retrieve user information, search videos by ID, and find content by keywords on bilibili.com.

  1. Features
    1. User Info
  2. Usage
    1. Claude Desktop
  3. Local Development
    1. Publishing
      1. Credits

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that enables AI assistants like Claude to browse and analyze Reddit content, including searching subreddits, retrieving post details with comments, and viewing trending posts.
          Last updated -
          1
          Python
          MIT License
          • Apple
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that enables AI assistants to search and access information stored in Kibela, supporting note search, retrieval, creation and updating.
          Last updated -
          6
          107
          9
          TypeScript
          MIT License
        • A
          security
          F
          license
          A
          quality
          A Model Context Protocol server that enables AI assistants to perform real-time web searches, retrieving up-to-date information from the internet via a Crawler API.
          Last updated -
          1
          44
          8
          JavaScript
          • Apple
          • Linux
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server implementation that enables AI assistants like Claude to perform Google searches and retrieve web data directly through natural language requests.
          Last updated -
          1
          75
          3
          TypeScript
          MIT License

        View all related MCP servers

        ID: yqus9xc2k4