bilibili -js
Bilibili video search MCP (Model Context Protocol) service - 哔哩哔哩视频搜索MCP服务
claude mcp add --transport stdio 34892002-bilibili-mcp-js npx bilibili-mcp-js
How to use
This MCP server implements a Bilibili video search service. It exposes API capabilities to search Bilibili videos based on keywords, retrieve popular content (overall hot lists, must-watch lists, rankings, and site-wide music charts), fetch detailed video information using BV or AV identifiers, obtain Uploader/UP 主 information (basic stats like fans and followings), and provide programmatic access to a drama/anime timetable within a given date range. The project includes LangChain example integrations and test scripts to help you validate behavior within an AI-assisted workflow. You can start the service using npx bilibili-mcp-js (as shown in the npm usage example) or run the built distribution directly if you build the project locally. Once running, you can query the MCP endpoints from your AI app to retrieve structured video data, metadata, and timetables for Bilibili content.
How to install
Prerequisites: - Node.js >= 20.12.0 - npm or bun (for package management)
Install options:
- Quick start (via npx):
- Ensure Node.js is installed
- Use the MCP configuration from the README by including: { "mcpServers": { "bilibili-search": { "command": "npx", "args": ["bilibili-mcp-js"] } } } This will pull and run the bilibili-mcp-js MCP server on demand.
- Local development (build required):
- Clone or download the repository containing bilibili-mcp-js
- Install dependencies: npm install
- Build the project (if a build step exists): npm run build
- Run using the built dist file (example path shown in README): node dist/index.js
- Alternative run (via bun or npm scripts):
- Bun: bun i | bun index.ts | TRANSPORT=remote bun index.ts
- NPM: npm i | npm run start | TRANSPORT=remote npm run start Replace the path to the built entry point if you’re using a dist workflow.
Prerequisites recap:
- Compatible Node.js environment
- Access to npm or bun to install dependencies
- If you plan to build locally, ensure the project exposes a dist/index.js or equivalent entry point.
Additional notes
Tips and notes:
- If you encounter network or package resolution issues when using npx bilibili-mcp-js, ensure your npm cache is healthy and you have network access to the npm registry.
- The service relies on Bilibili data; ensure you respect API rate limits and terms of service when querying large volumes of content.
- If you customize the server, you can extend functionality to add new endpoints for additional Bilibili features or to adjust search filters and result formats.
- When running locally, you may need to adjust environment variables or configuration to point to local API keys or proxy settings if required by your hosting environment.
- If you switch from npx to a local build, make sure your entry path (e.g., dist/index.js) matches the actual built artifact in your environment.
Related MCP Servers
time
⏰ Time MCP Server: Giving LLMs Time Awareness Capabilities
mcp-manager
A web-based GUI tool for managing Model Context Protocol (MCP) servers in Claude and Cursor
unity-editor
An MCP server and client for LLMs to interact with Unity Projects
website-publisher
AI Website builder and publisher MCP. Quickly publish and deploy your AI generated code as real website URL. Support html, css, js, python etc.
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.
xgmem
Global Memory MCP server, that manage all projects data.