Provide seamless access to Bilibili's API through a Model Context Protocol server, enabling advanced search and data retrieval operations. Perform general and precise searches for users, videos, live streams, and articles, as well as fetch video danmaku (comments). Enhance your applications with rich Bilibili content and user data effortlessly.
Tools
general_search
Search Bilibili API with the given keyword. Args: keyword: Search term to look for on Bilibili Returns: Dictionary containing the search results from Bilibili
search_user
搜索哔哩哔哩用户信息。 Args: keyword: 用户名关键词 page: 页码,默认为1 Returns: 包含用户搜索结果的字典数据
get_precise_results
获取精确的搜索结果,过滤掉不必要的信息。 Args: keyword: 搜索关键词 search_type: 搜索类型,默认为"user"(用户),可选:"video", "user", "live", "article" Returns: 精简后的搜索结果,只返回完全匹配的结果
get_video_danmaku
获取视频的弹幕数据。 Args: bv_id: 视频的BV号 Returns: 弹幕数据