================== /// MCP /// /// BIL /// ================== [server:online] [protocol:ready]
bilibili-mcp-js
by 34892002
Model Context Protocol (MCP) server that enables Bilibili (B站) video search through a standardized HTTP API; includes LangChain demo, test script and inspector.
114
18
Specialized01
bilibili-search
MCP service for searching Bilibili videos, allowing AI applications to query and retrieve video information.
Installation
1. Prerequisites:
• Node.js >= 18
• npm or yarn package manager
2. Install the package:
# with npm
npm install bilibili-mcp-js --save
# or with yarn
yarn add bilibili-mcp-js
3. Basic usage skeleton (ES Module):
import { MCPServer } from 'bilibili-mcp-js';
const server = new MCPServer({
port: 8080,
/* add any required Bilibili keys or tokens here */
});
server.start();
4. Configuration:
• Create an `.env` file or pass options containing your Bilibili access key / cookie if the API endpoints you call require authentication.
• Expose PORT=8080 (or any desired port) if deploying to cloud providers.
5. Build TypeScript sources (if working from the repo):
# install dev-deps
npm install
# compile to /dist
npm run build
6. Run tests (if available):
npm test
Documentation
License: Unknown (no LICENSE file or license metadata found)
Updated 7/30/2025