原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚 登录

Risk Desk

✓ avidquant.com

作者:Iman版本 0.2.0i★ 4 (星标属于其他仓库)i在云端运行官方网站 ↗
注册名称com.avidquant/riskdesk

安装方法

能做什么

Portfolio risk from supplied data or a synthetic example: VaR, ES, stress, credit, FRTB.

作者提供的原文

  • 连接方式 在云端运行
  • 账号或密钥 无需密钥
  • 分类 会计、财务与税务

为什么排在这里

此项在“连接 AI 的应用”标签中,该标签不使用星标,按以下顺序排列

1. 在 Claude 连接器目录中否
2. 团队实测过否
3. 适合泰国用户否
4. 不计星标的使用量20/100热度 0 · 新鲜度 12 · 仍在响应 8 · 用户喜欢 +0
5. 登记日期2026-11-10

用户喜欢: 0 · 最多加 5 分(每人 1 分),不能用钱买。

质量: 基础检查通过 3/5 项(仅展示,不用于排序)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 Risk Desk。按照 https://mcp.popnx.com/i/avidquant-riskdesk.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 3/5 项检查 · 你的提问会经过开发者的服务器(riskdesk.avidquant.com) · ✓ 命令已检查 2026年11月13日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude · 约 2 分钟

不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加

  1. 打开 Claude 的 Connectors 页面

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. 点击“Add” → “Custom” → “Web”,填写这 2 项

    把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue

    Name · 名称Risk Desk
    Remote MCP server URL · 地址https://riskdesk.avidquant.com/mcp

    在 Claude 检测到的登录设置页点击 Continue · Authentication 按作者说明选择(Sign in now、Sign in when needed 或 No sign in),然后点击 Add

  3. 在聊天中开启

    +ConnectorsRisk Desk

  4. 试一试

    用 Risk Desk 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Risk Desk,或回答中出现 Risk Desk 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

能否连接 ChatGPT 取决于方案

完整 MCP:网页版 ChatGPT Business、Enterprise 或 Edu · Pro:以读取/获取权限连接,修改数据的工具可能用不了 · Plus:官方文档尚未确认,如果在插件页看到添加自定义 MCP 的选项可以试试 · 仅限网页

  1. 在网页版 ChatGPT 打开添加 MCP 的页面

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 填写名称和地址

    输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin

    Name · 名称Risk Desk
    Connection · 地址https://riskdesk.avidquant.com/mcp
  3. 在聊天中选择 Risk Desk

    开启新聊天,输入前先从插件列表中选择 Risk Desk

  4. 试一试

    用 Risk Desk 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 ChatGPT 说正在使用 Risk Desk,或回答中出现 Risk Desk 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Claude Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  2. 粘贴这条命令并按 Enter

    claude mcp add --transport http --scope user riskdesk https://riskdesk.avidquant.com/mcp
  3. 在 Claude Code 中输入 /mcp

    应能看到 Risk Desk 在列表中并显示已连接

  4. 试一试

    用 Risk Desk 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Risk Desk,或回答中出现 Risk Desk 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  2. 在 Cursor 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Risk Desk 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Risk Desk,或回答中出现 Risk Desk 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  2. 在 VS Code 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Risk Desk 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Risk Desk,或回答中出现 Risk Desk 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

通过网页连接的应用使用的地址

地址https://riskdesk.avidquant.com/mcp

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Risk Desk 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

通过网页连接

Claude Code

claude mcp add --transport http --scope user riskdesk https://riskdesk.avidquant.com/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "riskdesk": {
      "url": "https://riskdesk.avidquant.com/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "riskdesk": {
      "type": "http",
      "url": "https://riskdesk.avidquant.com/mcp"
    }
  }
}

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

GitHub 星标i
4 (星标属于其他仓库)
此条目指向他人的仓库,因此星标不计入排名
每周下载量i
不在 npm/PyPI 上
已验证域名
✓ avidquant.com
许可证i
未注明许可证
连接方式
在云端运行
传输方式
streamable-http
最新版本i
0.2.0
发布到注册中心i
2026年11月10日
代码最后更新i
2026年11月10日
最近检查
2026年11月16日
作者
Iman
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

通过互联网连接,适用于

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

全部应用及其优缺点 →

它能做什么

工具名称和描述与服务器在 2026年11月16日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。

  • risk_desk_status

    Check the Risk Desk data mode, the public example, the size limits and the sign convention before requesting any figure. No market data feed, no broker connection and no hosted XVA exist.

  • risk_tail

    Historical VaR and Expected Shortfall over supplied horizon P&L. Report degraded status and the loss sign convention before the numbers. Omit the request to run the public synthetic energy example instead. For supplied data, require permission and set rights_confirmed=true; this

  • risk_exposure

    Gross and net exposure, leverage against NAV and concentration for signed linear positions in one stated base currency. Omit the request to run the public synthetic energy example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a

  • risk_stress

    Apply explicit asset shocks to all linear positions. No scenario probability is inferred or attached. Omit the request to run the public synthetic energy example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_tail_models

    VaR and ES side by side: historical, normal, Student-t, EVT, GARCH filtered historical, GARCH-EVT and GARCH-t. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_backtest

    Backtest a VaR (and optional ES) series against realised P&L: Kupiec, Christoffersen, Basel zone and Acerbi-Szekely Z2. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licen

  • risk_derivatives_greeks

    Cash delta, gamma, vega, theta and rho of a book of linear positions and European options. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_derivatives_grid

    Full revaluation of an options book over a spot and vol shock grid, against delta-gamma-vega. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_derivatives_historical

    Historical full-revaluation P&L, VaR and ES of an options book under supplied spot and vol moves. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_covariance

    Sample, EWMA or Ledoit-Wolf covariance, volatility and correlation of a supplied return history. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_var_attribution

    Parametric normal VaR and ES with Euler contributions and incremental VaR per position. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_es_attribution

    Historical-simulation ES with Euler contributions per position. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_factor_exposure

    Factor betas and the split of portfolio variance into systematic and idiosyncratic parts. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_limits

    Grade a limit set against exposure, tail and stress results already returned by Risk Desk. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_what_if

    Apply proposed trades to a book, recompute exposure, stress and tail, and grade limits after. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_liquidity

    Days to liquidate, holdings by day, spread cost and liquidity-adjusted VaR. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_stress_replay

    Replay a dated historical window from the caller's own price levels on linear positions. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_reverse_stress

    The most plausible shock under a supplied covariance that produces a target loss. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_scenario_scale

    Scale a scenario so the book loses a target amount. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_saccr

    Basel SA-CCR exposure at default for one netting set (CRE52), with every intermediate figure. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_exposure_profile

    Peak PFE, EPE, Effective EE and Effective EPE from a supplied simulated exposure profile. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_credit_asrf

    Vasicek asymptotic single risk factor credit VaR, expected and unexpected loss. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_credit_copula

    Seeded one-factor Gaussian copula Monte Carlo credit VaR and ES for a finite portfolio. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_frtb_imcc

    FRTB liquidity-adjusted, stress-scaled ES and IMCC from supplied ES figures (MAR33). Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_frtb_ima_capital

    FRTB IMA aggregate capital, multiplier, amber-desk surcharge and RWA (MAR33, MAR32.9). Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_frtb_pla

    FRTB P&L attribution test: Spearman and Kolmogorov-Smirnov metrics and the desk zone (MAR32). Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_frtb_backtest

    FRTB VaR backtesting exception counts at 97.5% and 99%, desk verdict or bank zone (MAR32). Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_frtb_sbm_fx

    FRTB standardised sensitivities-based FX delta and vega capital (MAR21). Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.

  • risk_scenario_library

    The dated historical windows Risk Desk knows, with sources. Dates only; no prices are shipped. Replay one with risk_stress_replay and your own price levels.

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月20日

  • ! 注意

    作者与仓库一致

    发布者(avidquant.com)不是仓库所有者(Iman);可能是其他人代为上架的

  • ✓ 通过

    仍在维护

    代码最后更新于10天前

  • ! 注意

    有许可证

    GitHub 无法识别许可证类型;请打开文件自行查看

  • ✓ 通过

    端点有响应

    在 118 毫秒内响应(HTTP 200)

  • – 不适用

    使用 OAuth 登录

    无需登录

  • ✓ 通过

    工具描述中没有隐藏指令

    已读取 29 个工具描述,未发现针对 AI 的隐藏指令

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/avidquant-riskdesk.svg)](https://mcp.popnx.com/en/servers/avidquant-riskdesk)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“会计、财务与税务”中的其他服务器比较i

  • 星标数多于此分类中其他 3448 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 3448 个服务器的 76% 更新
  • 基础检查结果等于或优于此分类中其他 3448 个服务器的 12%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Risk Desk 安全吗?

它在 5 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。

它还在维护吗?

GitHub 仓库最后更新于10天前,最新版本(0.2.0)于10天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于接受远程 MCP 的应用,例如网页版 ChatGPT(Business 及以上为完整 MCP;Pro 为只读)。

有什么可以替代它?

同一分类中有:SolidInvoice, Signal8, Journalit, Beancount.io, Tapetide - Indian Stock Market MCP

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

SolidInvoice

Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.

作者:SolidInvoice正在增长★ 99011天前更新

在云端运行✓ 服务方 · solidinvoice.co

Signal8

SEC filings, dilution, insider & institutional ownership, and political-trade data for AI agents.

作者:signal8ai正在增长↓ 431/周★ 42511天前更新

电脑或云端✓ 服务方 · signal8.ai

Journalit

Trading journal in Obsidian. Ask Claude or ChatGPT about your trades; edits are previewed first.

作者:Cursivez正在增长★ 26112天前更新

在云端运行✓ 服务方 · journalit.co

Beancount.io

Query, edit, and reconcile a hosted Beancount ledger: BQL, reports, files, and bank imports.

作者:bex-co正在增长★ 707 整个仓库的星标上个月更新

在云端运行✓ 服务方 · beancount.io
与相似项目对比
本项
Risk Desk
SolidInvoiceSignal8JournalitBeancount.ioTapetide - Indian Stock Market MCP
运行位置在云端运行,无需安装在云端运行,无需安装云端或安装在电脑上都可以在云端运行,无需安装在云端运行,无需安装云端或安装在电脑上都可以
需要密钥否否是否否是
可在 Claude 中按 + 添加否否否否否否
基础检查3/54/65/54/44/45/5
许可证NOASSERTIONMITMITNOASSERTIONMITMIT
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Risk Desk

Risk Desk is a portfolio risk engine that computes loss measures from supplied files and reports the method, units and assumptions with every result. From a P&L sample it computes historical Value at Risk (VaR) and Expected Shortfall (ES), six model-based estimates of the same two measures, and four backtests of a forecast record. From signed linear positions it computes gross and net exposure, stress P&L, Euler risk attribution, limit grades, a pre-trade what-if and liquidity-adjusted VaR. For books with European options it computes cash Greeks and full revaluation through the Option Desk engine. It also computes SA-CCR exposure at default, portfolio credit VaR and FRTB capital components from figures the caller supplies. Counterparty exposure and XVA come from a local Open Source Risk Engine (ORE) project.

The stated limits are part of the output. Scenarios carry no probability, no horizon is rescaled, and regulatory figures are calculations over supplied inputs. The software reads no market data and sends no order.

The CLI and 30 local MCP tools call the same runtime functions. An agent and a person therefore obtain the same numbers, with the same provenance, units, assumptions and degraded flag attached. A local dashboard shows the core results in a browser, and 14 plugin skills cover these tasks and setup.

See the desk

riskdesk report writes this page from the synthetic energy book in examples/. The inputs are synthetic examples. They are not market data and not a record of any position. The page states its sign convention and prints its degraded flag whether or not the flag is set. It embeds its own styling and charts, so it opens with no network.

The captures show the dark default. A light mode follows the system setting of the reader.

The dashboard

The dashboard serves the same numbers over a loopback socket in five views, namely overview, exposure, stress, tail risk and counterparty XVA. The inputs shown are synthetic examples, not market data. The server binds a loopback address and refuses any other, makes no outbound request, and reads no path from the request. Every view prints the sign convention and the degraded flag whether or not the flag is set. A view whose input was absent states the absence in words that do not imply a zero.

The exposure view draws the sign convention. The ladder places each of the 6 legs of the synthetic energy book on the side of the zero line that its sign gives. A short position is therefore visible without the minus sign. The concentration chart is ordered and names the total of which each share is a part.

Get started

The requirements are Git and a supported Python. pyproject.toml declares 3.11 or later. The fixed-version dependency set and the ORE wheel were tested on CPython 3.13, macOS ARM64.

git clone https://github.com/Iman/agent-driven-risk-desk-and-skills.git

cd agent-driven-risk-desk-and-skills ./install.sh ./demo.sh

Then, for the web view:

.venv/bin/riskdesk dashboard          # http://127.0.0.1:8899

install.sh creates .venv, installs the package with its development extra, attempts the optional ORE extra, reports the outcome, and runs the tests. The package needs the Option Desk engine, which pip installs from PyPI. INSTALL.md gives the command that checks its hash. demo.sh runs the core commands over the example books and prints the meaning of each result. The 29 example input files cover every command. Neither script prints colour, neither reaches the network beyond pip, and both exit non-zero on any failure.

Or run it in a container

The container route needs no Python on the host, and the examples are part of the image.

docker build -t risk-desk .

docker run --rm --user "$(id -u):$(id -g)" \ -v "$PWD/artifacts:/artifacts" risk-desk demo docker run --rm risk-desk # what this image can do

--user is required on Linux. The image runs as a fixed non-root uid, and a Linux bind mount keeps its host ownership, so without the flag the container cannot write into the mounted directory. The entrypoint refuses that case, and each other unusable mount, with its own exit code. INSTALL.md lists the codes.

The image contains the core scope. The ORE extra depends on the platform. On python:3.13-slim pip resolves open-source-risk-engine 1.8.16.0 at linux/amd64 and reports no distribution of any version at linux/arm64. The build therefore attempts the extra and records the outcome, and docker run risk-desk prints that status. Where the extra is absent, xva is refused before any worker starts. To make a missing extra fail the build, build with --build-arg WITH_XVA=require.

Ask your agent

Install the plugin

The runtime is a normal Python install, and the plugin tells an agent where to find it. Installing the plugin does not install the runtime. Install the runtime first with ./install.sh. Then make riskdesk-mcp reachable. Either activate .venv in the environment that launches the agent, or give the client the absolute path of .venv/bin/riskdesk-mcp.

RuntimeInstall the pluginManifest it reads
Claude Code/plugin marketplace add Iman/agent-driven-risk-desk-and-skills then /plugin install risk-desk@risk-desk.claude-plugin/plugin.json, listed in .claude-plugin/marketplace.json
CodexConfigure the plugin through a Codex marketplace, or add its runtime with codex mcp add riskdesk -- "$PWD/.venv/bin/riskdesk-mcp". Hosted setup is in OpenAI connections..codex-plugin/plugin.json, which points at skills/ and .mcp.json

Both manifests describe the same plugin and point at the same 14 skill directories. A validation test fails the build if either stops matching the directories on disk. Use the MCP server covers a client without a plugin and the hosted endpoint.

Prompts

With the plugin installed, an agent accepts requests such as these.

RequestSkillTool it calls
"Here is a year of daily P&L in GBP. What is my 99% one-day VaR and Expected Shortfall, and is the sample big enough to say?"risk-tailrisk_tail
"Take examples/energy_book.json. What is my gross and net exposure, my leverage against NAV, and which asset is the biggest share of gross?"risk-portfoliorisk_exposure
"Apply the two shapes in examples/energy_stress.json and tell me the loss, the stressed NAV, and the three positions that hurt most in each."risk-stressrisk_stress
"Run this ORE project and give me the CVA and DVA. Tell me first whether ORE reported any error and which adjustments were actually enabled."risk-xvarisk_xva
"Put the historical VaR beside the normal, Student-t, EVT and GARCH estimates for this P&L, and backtest last year's VaR forecasts."risk-tail, risk-backtestrisk_tail_models, risk_backtest
"My book holds calls and puts on two futures. What are its cash delta, gamma and vega, and what does a 10% fall with vol up five points do?"risk-derivativesrisk_derivatives_greeks, risk_derivatives_grid
"Which positions drive the VaR, am I inside my limits, and what would selling half the largest leg do to them?"risk-attribution, risk-limitsrisk_var_attribution, risk_limits, risk_what_if
"Replay the 2022 gilt window on my prices, and find the most plausible move that loses 5 million."risk-stressrisk_stress_replay, risk_reverse_stress
"Here is a CSV of my positions with market values in a column called MV. Turn it into a request and tell me what you had to repair."risk-data-importthe tool for that contract

Each skill states the sign convention and the degraded status before the numbers, because a loss figure cannot be read without them.

Commands and agents

The plugin also carries 10 commands and 4 agents. The runtime discovers them by directory, and the manifest does not declare them.

CommandStated before any number
/risk-tailThe observation count, the tail mass and the degraded status
/risk-exposureGross before net, and the largest share of gross
/risk-stressThe sign convention, and that no probability is attached
/risk-xvaThe ORE error level, and a refusal in place of a quote
/risk-reportThat an absent input is not a measure of zero
/risk-dashboardLoopback only, and the meaning of each refusal code
/risk-backtestExceptions against expected, and that a high p-value is not proof
/risk-limitsBreaches first, and that not evaluated is not within
/risk-whatifBefore beside after, and that no trade is placed
/risk-dailyEvery degraded result and breach, and which inputs were synthetic

The agents have these tasks.

  • risk-data-auditor checks whether the inputs support any conclusion.
  • risk-reviewer tests whether a number can be trusted, as distinct from whether its arithmetic is right.
  • risk-model-validator derives a model result again, backtests it and compares challenger models.
  • stress-scenario-designer builds historical, hypothetical and reverse scenarios from the data of the caller and the dated library.

The reviewer and the validator must state when they find no reason to doubt a result.

Read it in a browser

riskdesk dashboard serves the synthetic energy book by default, from examples/. It takes the same --input, --tail, --exposure and --xva flags as riskdesk report. It computes nothing of its own. The views come from the functions that the CLI and the MCP tools call, through the same shaping path as the saved report page. A test compares the two payloads field by field.

The dashboard serves one machine. It has no authentication, so it binds a loopback address and refuses any other host. Each failure has its own exit code and one sentence on stderr. The codes are 64 for a host that is not loopback, 66 for a missing input, 67 for an input that fails its contract, and 73 for a port already in use.

The XVA view never runs ORE. The adapter needs a trusted local project directory, a new output directory and a separate process. The view therefore reprints a result that the adapter already wrote, or states what is missing.

Use it from LangChain or LangGraph

agent/ is a separate package, riskdesk-agent 0.2.0, the Risk Desk port of the Option Desk agent layer. It is not a dependency of riskdesk.

python -m pip install -e ./agent

python -m pip install "langgraph==1.2.19" # only for the graph

  • desk_tools() turns

只显示了开头部分;其余内容请在仓库中阅读