The bilibili MCP Server allows you to interact with Bilibili data through structured endpoints:
- Get User Information: Retrieve details of a Bilibili user using their numeric ID (
mid
). - Get Video Information: Fetch detailed information about a Bilibili video using its ID (
bvid
). - Search Videos: Search for videos using keywords, with options to specify page number and result count (up to 20 per page).
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 the bilibili.com API.
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)
or
config for local cloned repo
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
- Install dependencies
- build
- debug for local repo, see above.
Publishing
To publish a new version to npm:
These commands will automatically:
- Bump the version in package.json
- Build the project
- Publish to npm registry
Credits
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.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that integrates with Microsoft Bing Search API, allowing AI assistants to perform web, news, and image searches.Last updated -353PythonMIT License
- AsecurityFlicenseAqualityA 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 -161614JavaScript
- -securityAlicense-qualityA Model Context Protocol server that enables searching YouTube videos, retrieving and storing transcripts, and performing semantic search over video content without using the official YouTube API.Last updated -5PythonMIT License
- -securityFlicense-qualityA Model Context Protocol server that enables web search capabilities using the Tavily API, allowing AI models to retrieve current information from the internet through natural language commands.Last updated -Python