Introduction¶
DeepSeek Harness (DSH) embraces an “everything is a plugin” philosophy, allowing developers to extend capabilities through plugins. In financial data scenarios, agents need to call external APIs to retrieve real-world data. fundapi-cn/fundapi-dsh-plugin is the official plugin for the fund data API, providing DSH with 19 fund tools and eliminating repetitive tasks such as manually constructing API requests, handling authentication, and managing reconnections.
What Is This¶
This is a fund data DeepSeek Harness plugin maintained by fundapi-cn. It hooks the fundapi.cn MCP service into DSH, enabling DSH to call fund data directly. The plugin itself only handles tool registration and configuration passthrough; underlying transport, disconnection, and reconnection are managed by DSH’s built-in MCP client, decoupling plugin upgrades from DSH upgrades.
The plugin supports both the DeepSeek Harness desktop app and Web UI, and can also be installed via the command line.
Core Features¶
The plugin provides 19 fund tools, tiered by Free / Trial / Professional / Institutional plans:
- Free tools (no API key required):
fund_search,fund_profile,fund_screener_options - Trial and above:
fund_nav(historical NAV),fund_rank(market-wide ranking),fund_notices(announcements) - Professional and above:
fund_holdings(quarterly holdings),fund_managers(current managers),fund_estimate(intraday estimate),fund_dividends(dividends and conversions),fund_trade_rule(trading rules and fees),fund_rating(multi-agency ratings) - Institutional:
fund_overlap(holding overlap),fund_portfolio_xray(portfolio penetration),fund_holding_changes(position changes),fund_manager_history(manager tenure),fund_portfolio_diagnose(portfolio diagnosis),fund_screener(multi-criteria screening),fund_compare(fund comparison)
Tool naming follows the format mcp__fundapi__*, e.g., mcp__fundapi__fund_nav.
Plugin configuration options include:
apiKey: Reads from the environment variableFUND_KEYby default; if left empty, anonymous access is used and only the 3 free tools are availableurl: Defaults tohttps://api.fundapi.cn/mcpserverName: Defaults tofundapi, used as the tool name prefixheaders: Additional request headers, merged with the API key
Installation & Activation¶
Desktop / Web UI¶
After downloading the DeepSeek Harness desktop app, enter the package name on the “Plugins” page:
fundapi-dsh-plugin
The dsh web Web UI also uses the “Plugins” page. After installation, restart to use the tools in conversations.
Command Line¶
npx @deepseek-ai/dsh web
npx @deepseek-ai/dsh plugin --profile web add fundapi-dsh-plugin
If you have already installed dsh globally, you can replace npx @deepseek-ai/dsh with dsh.
Before installation, make sure pnpm is installed (DSH does not bundle it; the desktop app ships with a built-in copy).
Verify successful installation:
npx @deepseek-ai/dsh --profile web --dump-config
The output should include # == fundapi-dsh-plugin.
Alternative installation methods:
npx @deepseek-ai/dsh plugin --profile web add github:fundapi-cn/fundapi-dsh-plugin
npx @deepseek-ai/dsh plugin --profile web add file:/absolute/path/fundapi-dsh-plugin
Uninstall:
npx @deepseek-ai/dsh plugin --profile web remove fundapi-dsh-plugin
Typical Usage¶
Once installed, simply ask questions in a conversation:
- “What’s the code for E Fund Consumer Industry?”: uses
fund_search - “What are the fees, size, and manager of 110022?”: uses
fund_profile - “How much has 110022 returned over the past year?”: uses
fund_nav - “What are the top holdings of 110022?”: uses
fund_holdings - “What new positions were added or reduced this quarter?”: uses
fund_holding_changes - “Do these funds hold the same stocks?”: uses
fund_overlap - “Which stocks are these three funds actually invested in when combined?”: uses
fund_portfolio_xray - “Screen equity funds by 3-year returns + 5-star Morningstar rating”: uses
fund_screener - “What’s the estimated intraday change for 110022 today?”: uses
fund_estimate - “What exactly differentiates these funds?”: uses
fund_compare
Use Cases & Notes¶
Ideal for DSH users who need fund NAV, holdings, manager, rating, ranking, screening, and portfolio analysis capabilities, particularly for agent development in financial data scenarios.
Note: The plugin runs with the privileges of the current DSH process. Review the source code and license (MIT) before installing.
Conclusion¶
The plugin integrates the fund data API into DSH through 19 tools. The 3 free tools work out of the box with no configuration, while the remaining tools require an API key. It delegates tool definitions, authentication, and reconnection logic to DSH and the server, so developers only need to focus on their business queries.