In the plugin ecosystem of DeepSeek Harness (DSH), Internet access is a basic requirement for agent development. For the common scenario of retrieving Bilibili data, xby-bilibili-api provides a server-side implementation based on the Model Context Protocol (MCP). It integrates Bilibili’s public API capabilities into DSH, allowing developers to call video information, search results, or user profiles directly in a session.

This is an MCP server plugin maintained by xby-skill, designed to provide DSH with a unified access point to the Bilibili API. It solves the problem of agents being unable to directly query Bilibili video details or perform searches, and belongs to the “network tools” category.

Core Features

The plugin provides the following tool interfaces:

  • set_xby_apikey: Sets the API key in the current session. Once set, it is persisted automatically and remains valid after restart.
  • get_user_info: Retrieves detailed information for a specified Bilibili user.
  • get_video_info: Retrieves detailed metadata for a specified Bilibili video.
  • search_videos: Performs keyword searches on Bilibili.

Installation and Activation

Installing this plugin requires specifying the web profile configuration. Run the following command:

dsh plugin --profile web add github:xby_skill/xby-bilibili-api

After installation, the plugin becomes active in the current DSH process.

Configuration Notes

Before use, you must register on the Xiaobenyang official website and obtain an API key. After obtaining it, enter the key using the set_xby_apikey tool. Subsequent search and information requests will use this credential.

Use Cases and Considerations

This plugin is suitable for agent scenarios that require integrating Bilibili data, such as automatically searching video comments, analyzing video metadata, or tracking user activity.

Notes:
* The plugin runs with the permissions of the current DSH process.
* It is recommended to review the source code logic before installation to ensure it meets expectations.
* The plugin is open source under the MIT License.

Summary

With xby-bilibili-api, developers can quickly add Bilibili data query capabilities to DSH agents. For full documentation and source code, refer to the plugin directory or the GitHub repository.