The Bilibili MCP Server provides integration with the Bilibili (Chinese video platform) API, offering tools for searching content and retrieving metadata. It exposes four primary capabilities: general keyword search, user-specific search with follower-based sorting, precise filtered search across users/videos/livestreams/articles with exact-match identification, and video danmaku (comment) retrieval. This server enables AI assistants to query and access Bilibili content programmatically, addressing the need to integrate Chinese video platform data into language model applications.
用于哔哩哔哩 API 的 MCP(模型上下文协议)服务器,支持多种操作。
clone 本项目
使用 uv 安装依赖
uv sync
{
"mcpServers": {
"bilibili": {
"command": "uv",
"args": [
"--directory",
"/your-project-path/bilibili-mcp-server",
"run",
"bilibili.py"
]
}
}
}
支持以下操作:
general_search: 基础搜索功能,使用关键词在哔哩哔哩进行搜索。search_user: 专门用于搜索哔哩哔哩用户的功能,可以按照粉丝数排序。get_precise_results: 精确搜索功能,可以过滤掉不必要的信息,支持多种搜索类型:
user):精确匹配用户名,只返回完全匹配的结果。例如搜索"双雷"只会返回用户名为"双雷"的账号信息,不会返回其他相关用户video)live)article)
返回结果包含 exact_match 字段,标识是否找到精确匹配的结果。get_video_danmaku·: 获取视频弹幕信息。MIT
com.mcparmory/google-search
io.github.pipeworx-io/brave-search
marcopesani/mcp-server-serper
brave/brave-search-mcp-server
com.mcparmory/google-search-console
acamolese/google-search-console-mcp