Bilibili Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Bilibili Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
一个用于解析哔哩哔哩(Bilibili)视频的 Model Context Protocol (MCP) 服务器,支持视频信息提取、下载链接获取和合集解析等功能。
无需安装,直接运行:
{
"mcpServers": {
"bilibili": {
"command": "npx",
"args": ["-y", "mcp-server-bilibili"]
}
}
}npm install -g mcp-server-bilibili然后在配置文件中使用:
{
"mcpServers": {
"bilibili": {
"command": "mcp-server-bilibili"
}
}
}# 克隆仓库
git clone https://github.com/fysh1010/bilibili-mcp.git
cd bilibili-mcp
# 安装依赖
npm install
# 构建
npm run build然后在配置文件中使用:
{
"mcpServers": {
"bilibili": {
"command": "node",
"args": ["E:\\path\\to\\bilibili-mcp\\build\\index.js"]
}
}
} %APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"bilibili": {
"command": "npx",
"args": ["-y", "mcp-server-bilibili"]
}
}
} ~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"bilibili": {
"command": "npx",
"args": ["-y", "mcp-server-bilibili"]
}
}
} ~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"bilibili": {
"command": "npx",
"args": ["-y", "mcp-server-bilibili"]
}
}
}解析 Bilibili 视频链接,获取完整信息。
参数:
url (必填): Bilibili 视频链接,支持 b23.tv 短链接示例:
请解析这个 Bilibili 视频:https://b23.tv/XhtfoyZ返回数据:
{
"code": 200,
"msg": "解析成功!",
"data": {
"title": "视频标题",
"cover": "封面图片URL",
"description": "视频简介",
"url": "视频下载链接",
"user": {
"name": "UP主名称",
"avatar": "UP主头像URL"
},
"videos": [
{
"title": "视频标题",
"duration": 视频时长(秒),
"durationFormat": "04:45:58",
"url": "视频下载链接",
"index": 1
}
],
"totalVideos": 2
}
}获取 Bilibili 视频的详细信息。
参数:
url (必填): Bilibili 视频链接示例:
获取这个视频的详细信息:https://b23.tv/XhtfoyZ获取 Bilibili 视频的下载链接列表。
参数:
url (必填): Bilibili 视频链接示例:
获取这个视频的下载链接:https://b23.tv/XhtfoyZ获取 Bilibili 视频的基本信息。
参数:
url (必填): Bilibili 视频链接示例:
获取这个视频的基本信息:https://b23.tv/XhtfoyZ获取 Bilibili 合集中的所有视频列表信息。
参数:
url (必填): Bilibili 视频链接(合集链接)示例:
获取这个合集的所有视频:https://b23.tv/XhtfoyZ用户输入:
帮我解析这个 Bilibili 视频:https://b23.tv/XhtfoyZClaude 会自动调用:
parse_bilibili_video 工具返回结果: 视频的完整信息,包括标题、封面、下载链接、UP主信息等。
用户输入:
获取这个视频的下载链接:https://b23.tv/XhtfoyZClaude 会自动调用:
get_bilibili_download_urls 工具返回结果: 视频下载链接列表,包括合集中的所有视频。
用户输入:
这个合集有哪些视频?https://b23.tv/XhtfoyZClaude 会自动调用:
get_bilibili_collection 工具返回结果: 合集中的所有视频列表,包括每个视频的标题和时长。
使用 MCP Inspector 测试工具:
npm run inspector这会启动一个交互式测试界面,您可以测试所有可用的工具。
bilibili-mcp/
├── src/
│ ├── BilibiliApi.ts # Bilibili API 封装层
│ └── index.ts # MCP 服务器主入口
├── build/ # 编译输出目录
├── package.json # 项目配置
├── tsconfig.json # TypeScript 配置
└── README.md # 项目说明npm run buildnpm run watch本 MCP Server 使用第三方 API:https://api.bugpk.com/api/bilibili
支持的特性:
解决方案:
解决方案:
解决方案:
npm install -g mcp-server-bilibiliMIT License
欢迎提交 Issue 和 Pull Request!
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.