DeepSeek Harness Plugin

v587d/capital-generation#dsh-plugin

Stars ★ 2 Category Tools & Capabilities Added 2026-08-16

China A-share financial data MCP server for the harness: 11 fin_data__* tools (quotes/K-lines/financials/calendar/special-data/announcements/EDB/reconcile/funds/indices) over THS free official REST (primary) + AKShare (fallback) + Wind (exclusive domains), with observable degradation, context-budget compression (result-side -72.2% measured), and an offline 10-year market-data lake; BYOK.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:v587d/capital-generation#path:/dsh-plugin

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

本目录把 capital-generation(Python 金融数据 MCP server)包装为符合 DeepSeek Harness 插件规范的 dsh.bundle 包, 供 dsh plugin add / dsh-market / awesome-dsh-plugin 生态使用。

安装

# 0. 前置: uv + Python 3.12+, 已 clone 本仓库
git clone https://github.com/v587d/capital-generation.git
export CAPITAL_GENERATION_DIR=$PWD/capital-generation

# 1. Key (BYOK): THS_API_KEY / WIND_API_KEY → ~/.dsh/.credentials.yaml (0600)

# 2. 安装插件 (本目录发布到 npm 后):
dsh plugin --profile web add capital-generation

#    或未发布时手动接入: 把 cordis.patch.yml 的内容并入 profile patch
#    (参考 servers/cordis.patch.finance.example.yml), 重启 dsh web

安装后工具以 mcp__fin__fin_data__* 暴露(11 个), 即用。

说明

  • cwd 路径: cordis.patch.ymlcwd$CAPITAL_GENERATION_DIR, 未设置时回退到仓库默认路径(按本机修改)。
  • BYOK: 同花顺/万得 Key 由使用者自备, 仓库零密钥; 缺失源自动跳过并 warnings 明示(降级可观测)。
  • 体积与上下文: v0.3.1 起结果侧压缩 -72.2% (真实 KEY 实测), 公告全文截断
    • url 兜底, 详见 docs/CONTEXT_BUDGET_RESULTS.md。
  • 发布: 本目录作为 npm 包发布时, package.json 的 dsh.bundle.patch 即 插件清单 (与 dsh-bridge-browser / dsh-mcp-bridge 同款机制)。

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →