Introduction¶
In the plugin ecosystem of DeepSeek Harness (DSH), agents often need to access external data to enrich their responses. For agents in finance or investment, obtaining real-time information about funds and stocks is a common requirement. The traditional approach often involves writing complex crawlers or maintaining dedicated databases. The xby-fund-knowledge-query plugin introduced below is based on the Model Context Protocol (MCP) standard and provides DSH with the ability to access a fund knowledge base.
Plugin Positioning¶
This is a fund knowledge base server maintained by xby-skill, categorized as a “memory” plugin. Its core purpose is to provide querying and retrieval capabilities for fund-related knowledge, and it supports multiple deployment modes and protocols, aiming to solve data source integration issues when agents process financial data.
Core Features¶
The plugin primarily provides the following capabilities:
1. set_xby_apikey: Sets an API key in the chat context. This operation is automatically persisted and remains valid after restart.
2. fund.echo: Echoes back a message, serving as a skeleton example for the interface.
3. fund.knowledge: Retrieves knowledge base list information.
4. fund.stock_search: Searches stock information, powered by the Eastmoney API at the underlying level.
Installation and Activation¶
Before using it, the plugin must be installed first. Since it is an open-source project under the MIT license, it can be installed directly using the official command-line tool.
dsh plugin --profile web add github:xby_skill/xby-fund-knowledge-query
After installation, the plugin runs with the DSH process, and its specific features can be invoked through chat commands.
Typical Usage¶
To use this plugin, you must first obtain access credentials.
- Obtain the API key: Register an account on the Xiaobenyang official website to get the API key used for calls.
- Set the key: In the DSH chat window, use the
set_xby_apikeycommand to configure the key you just obtained. - Query the knowledge base: Use the
fund.knowledgecommand to view the currently available knowledge base list. - Search stocks: Use the
fund.stock_searchcommand to query specific stock information.
Applicable Scenarios and Notes¶
This plugin is suitable for agent developers who need to integrate fund and stock data querying capabilities.
Notes:
- The plugin runs with the permissions of the current DSH process. It is recommended to review the source code and license before installation.
- The API key must be obtained through the Xiaobenyang official website. This is a prerequisite for using the search features.
Summary¶
xby-fund-knowledge-query brings fund knowledge base capabilities into the DSH ecosystem through the MCP protocol, providing developers with a standardized financial data querying solution. Combined with automatic key persistence and Eastmoney API-powered search capabilities, it can effectively improve the quality of agents’ responses in finance.