Skip to content
Back to search

bilibili-mcp-server

MCP Server for the Bilibili API, supporting various operations.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/huccihuang--bilibili-mcp-server/badge.svg)](/listings/huccihuang--bilibili-mcp-server)

HTML

<a href="/listings/huccihuang--bilibili-mcp-server"><img src="/api/listings/huccihuang--bilibili-mcp-server/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 61 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Bilibili API MCP Server
  2. 用于哔哩哔哩 API 的 MCP(模型上下文协议)服务器,支持多种操作。
  3. ## 环境要求
  4. - [uv](https://docs.astral.sh/uv/) - 一个项目管理工具,可以很方便管理依赖。
  5. ## 使用方法
  6. 1. clone 本项目
  7. 2. 使用 uv 安装依赖
  8. ```bash
  9. uv sync
  10. ```
  11. 3. 在任意 mcp client 中配置本 Server
  12. ```json
  13. {
  14. "mcpServers": {
  15. "bilibili": {
  16. "command": "uv",
  17. "args": [
  18. "--directory",
  19. "/your-project-path/bilibili-mcp-server",
  20. "run",
  21. "bilibili.py"
  22. ]
  23. }
  24. }
  25. }
  26. ```
  27. 4. 在 client 中使用
  28. ## 支持的操作
  29. 支持以下操作:
  30. 1. `general_search`: 基础搜索功能,使用关键词在哔哩哔哩进行搜索。
  31. 2. `search_user`: 专门用于搜索哔哩哔哩用户的功能,可以按照粉丝数排序。
  32. 3. `get_precise_results`: 精确搜索功能,可以过滤掉不必要的信息,支持多种搜索类型:
  33. - 用户搜索 (`user`):精确匹配用户名,只返回完全匹配的结果。例如搜索"双雷"只会返回用户名为"双雷"的账号信息,不会返回其他相关用户
  34. - 视频搜索 (`video`)
  35. - 直播搜索 (`live`)
  36. - 专栏搜索 (`article`)
  37. 返回结果包含 `exact_match` 字段,标识是否找到精确匹配的结果。
  38. 4. `get_video_danmaku·`: 获取视频弹幕信息。
  39. ## 如何为本项目做贡献
  40. 1. Fork 本项目
  41. 2. 新建分支,并在新的分支上做改动
  42. 3. 提交 PR
  43. ## License
  44. MIT

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.