dsh-stockmcp
已验证 · 实测可装 StockMCP-net
功能简介
A DSH plugin for obtaining various US stock and macroeconomic data.
可用 — 实测通过,早期项目
A DSH plugin for obtaining various US stock and macroeconomic data. 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-stockmcp
Stock market intelligence for DeepSeek Harness (DSH) — quotes, financial statements, SEC filings, earnings and economic data, dynamically synced from the stockmcp.net remote MCP server as model tools.
The tool list and parameter schemas are never frozen: they are re-synced at activation, every 10 minutes, and on demand whenever a call reports an unknown tool.
Features
- 📈 Real-time quotes & price history, biggest gainers / losers / most actives
- 📊 Income statements, balance sheets, cash flow, dividends, splits
- 🗂️ SEC filings (list / sections / insider trades), company news
- 🌍 Economic indicators, treasury rates, sector & industry snapshots
- ⚙️ Hot-reloaded API key: settings page,
settings.yaml, or environment variable - 🌐 Multilingual UI (中文 / English): the settings page, tool descriptions and errors follow the DSH language environment automatically — browser language, the Settings → Language preference, then the process locale
- 🧩 Zero dependencies — pure ESM, no build step
Requirements
- DeepSeek Harness (
dshCLI) with awebprofile - Node.js >= 20
Install (one command)
dsh plugin --profile web add dsh-stockmcp
or use the one-key installer (it handles pnpm 11 quirks like the 24-hour minimum release age for brand-new versions):
bash <(curl -fsSL https://raw.githubusercontent.com/StockMCP-net/dsh-stockmcp/main/scripts/install.sh)
Restart your web profile (pm2 restart dsh-web or restart the dsh web process) and the stock tools appear in your model's toolset.
Migrating from the old manual mount? Remove any
./node_modules/StockMCP/...insert from your profile'scordis.patch.ymlbefore restarting, to avoid double-mounting.
API key
Tool calls require an API key from stockmcp.net. Configure it any of three ways:
- Settings page — DSH web → Settings → StockMCP (writes to
~/.dsh/settings.yaml, hot-reloaded) - Config file — add
stockmcp: { apiKey: ... }to~/.dsh/settings.yaml(hot-reloaded) - Environment variable —
STOCKMCP_API_KEY
Without a key the plugin stays up, but tool calls return a clear configuration error.
How it works
The host plugin wraps the stockmcp.net MCP server (JSON-RPC 2.0 over HTTPS) as model tools and exposes same-origin /stockmcp-api routes for the settings page (lib/client.js).
Development & publishing
pnpm pack --dry-run # inspect what would be published
pnpm publish # publish to npm (run pnpm login first)
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-stockmcp」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:StockMCP-net/dsh-stockmcp Headless(CLI)profile:
dsh plugin --profile headless add github:StockMCP-net/dsh-stockmcp 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。