DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

StockMCP-net /

dsh-stockmcp

已验证

A DSH plugin for obtaining various US stock and macroeconomic data.

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub项目主页
README来源: main@2acedbd1

dsh-stockmcp

English | 简体中文 | 日本語

npm version license

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
  • 🧩 Zero dependencies — pure ESM, no build step

Requirements

  • DeepSeek Harness (dsh CLI) with a web profile
  • 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's cordis.patch.yml before restarting, to avoid double-mounting.

API key

Tool calls require an API key from stockmcp.net. Configure it any of three ways:

  1. Settings page — DSH web → Settings → StockMCP (writes to ~/.dsh/settings.yaml, hot-reloaded)
  2. Config file — add stockmcp: { apiKey: ... } to ~/.dsh/settings.yaml (hot-reloaded)
  3. 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

—/ 5

暂无评分

已验证 DSH bundle

Commit 2acedbd13b1f

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于