原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

MCP Chainladder

作者:datalattice版本 1.2.2i★ –i在你的电脑上运行
注册名称io.github.datalattice/mcp-chainladder

安装

概览

作者提供的说明(英文原文)

Actuarial chain-ladder reserving: IBNR, Mack stochastic stats, and assumption diagnostics.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "chainladder": {
      "command": "uvx",
      "args": [
        "mcp-chainladder"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add chainladder -- uvx mcp-chainladder

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "chainladder": {
      "command": "uvx",
      "args": [
        "mcp-chainladder"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "chainladder": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-chainladder"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

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

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

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

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 datalattice 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

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

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

常见问题

MCP Chainladder 安全吗?

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

它需要哪些密钥或代码?

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

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

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.2.2)于6个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Statuser

替代选择

同一分类中其他作者的服务器,按星标数排序。

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

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

作者:formulahendry起步阶段↓ 66/周★ 44014个月前更新

在你的电脑上运行

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

作者:desktop-commander正在增长★ 2113天前更新

在云端运行✓ desktopcommander.app

Statuser

Monitor services, manage incidents and status pages in Statuser.cloud from your AI assistant.

作者:statuser-cloud起步阶段↓ 1033/周今天更新

电脑或云端

作者的 README

打开 README

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

mcp-chainladder

Actuarial chain-ladder reserving for Claude. A Model Context Protocol server that hands Claude the tools to compute IBNR, project ultimates, run Mack (1993) stochastic error estimates, check Mack (1994) model assumptions, and parse loss triangles from CSV — all from a natural- language conversation.

Calculation only — not actuarial advice. This is a mechanical

chain-ladder calculator. Selection of data, factors, tails, and

exclusions, and the interpretation of stochastic error measures,

require professional actuarial judgement.


What it does

Eight tools, exposed over MCP. Claude picks the right one when you ask a question; you don't have to call them by name.

ToolWhen Claude reaches for it
compute_chain_ladder"What's the IBNR on this triangle?" — the workhorse
project_triangle"What does the full projected triangle look like?"
mack_stochastic"What's the uncertainty on the total reserve?"
mack_diagnostics"Are there outliers or trend issues?"
parse_csv_triangle"Run the chain ladder on this CSV file"
to_incremental"Show me the incremental development pattern"
to_cumulative"Cumulate these incremental values"
sample_triangle"Show me a working example" — quick demo

All numerical conventions match the Mack 1993 and Mack 1994 papers; results are stable to ~1e-12 against hand calculation on the textbook 10×10 triangle.


Install

pipx install mcp-chainladder

or, to run on demand without installing:

uvx mcp-chainladder

Python 3.10 or newer; no other runtime dependencies beyond the official MCP SDK.

Hook into Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{

"mcpServers": { "chainladder": { "command": "uvx", "args": ["mcp-chainladder"] } } }

Quit and reopen Claude Desktop. The triangle tools appear under the 🔌 icon in any conversation.

For Cursor / Cline / Continue / Zed — same mcpServers block, each app has its own config file location (their docs walk you through it).


Examples

Run the chain ladder on a CSV
Me: I have a paid-loss triangle at ~/Desktop/motor_2026Q1.csv.

Run the chain ladder and tell me the IBNR.

Claude: [calls parse_csv_triangle, then compute_chain_ladder] Loaded a 10×10 cumulative triangle. Using volume-weighted factors: • Total paid to date: 49,458,000 USD • Total ultimate: 65,883,400 USD • Total IBNR: 16,425,400 USD Selected factors trend from 1.879 at the front of the triangle down to 1.002 at the tail.

Check whether you should worry about assumptions
Me: Same triangle — any reason not to trust the projection?

Claude: [calls mack_diagnostics] Three flags worth a look: • Inflation trend: slope 0.053, p ≈ 1e-12 — STRONG evidence link ratios are drifting upward across accident years. This violates Mack's homogeneity assumption; consider weighting recent years more. • Calendar-year: Z = 0.0, p = 1.0 — no diagonal effect. • Independence: Z = -0.35, p = 0.73 — no obvious dependence across development columns. • Outliers: 0 cells exceed |2σ|.

The inflation finding is the one to act on.

Exclude an outlier and re-run
Me: Drop the link ratio at AY 3, dev period 2→3. What changes?

Claude: [calls compute_chain_ladder with excluded=[[2, 1]]] Excluding (AY 3, 2→3): • Volume factor at 2→3 moves from 1.331 to 1.328 • Total IBNR moves from 16,425 to 16,389 (−36) • Mack SE total moves from ±354.6 to ±348.2 Net: small enough to be a "robustness check passes" rather than a finding.


Tool reference

Each tool returns a JSON object (or a 2-D list, in the case of project_triangle/to_incremental/to_cumulative). Claude reads the descriptions and types directly from the server — you don't need to memorise the shapes — but here's the cheat sheet.

compute_chain_ladder(triangle, selected_factors?, tail?, excluded?)

End-to-end chain ladder.

Field returnedMeaning
volume_factors[j]All-year volume-weighted age-to-age factor for transition j→j+1
simple_factors[j]Unweighted average of individual link ratios
selected_factors[j]The factor set actually used to project (defaults to volume)
individual_factorsiPer-row link ratio C[i,j+1] / C[i,j]; null where the pair is unobserved
cdf[j]Cumulative dev factor to ultimate; cdf[-1] == tail
latest_diagonal[i]Most recent observed value per AY
ultimates[i]Projected ultimate per AY
ibnr[i]Ultimate − Latest per AY
total_*Sums of the three above
n_acc, n_devTriangle dimensions
mack_stochastic(triangle, selected_factors, excluded?)

Mack (1993) distribution-free standard errors. Returns σ̂²_j per dev period (tail-rule backfilled when only one observation), SE & CV per row, and SE_total / CV_total including cross-row covariance per eq. 5.15.

mack_diagnostics(triangle, selected_factors, excluded?, outlier_threshold?)

Returns standardised residuals, outliers (|r| > threshold, default 2.0), the calendar-year sign test, Spearman independence test across adjacent dev columns, and the inflation slope of mean log-link-ratio against accident-year index.

p-value bands to translate to plain English:

p < 0.005 → strong evidence

p < 0.05 → significant p < 0.10 → borderline p ≥ 0.10 → no evidence

parse_csv_triangle(path)

Reads a CSV from disk, treats blank / NA / NaN / N/A / − cells as unobserved, strips embedded thousand-separator commas, and skips header / metadata rows. Returns the triangle + dimensions + the absolute path read (useful for the assistant to confirm what it loaded).

project_triangle(triangle, selected_factors)

Fills the lower-right of the triangle with chain-ladder projections. Returns a fully-rectangular list[list[float]] (no nulls). NaN where a row has no observation to project forward from.

to_incremental(cumulative) / to_cumulative(incremental)

Two conversions. Unobserved cells stay unobserved; the inverse on observed cells is exact.

sample_triangle()

Returns the textbook 10×10 cumulative paid triangle. Use as a self-check: pass it to compute_chain_ladder and you should get Paid 49,458 / Ultimate 65,883 / IBNR 16,425.


Triangle format

[

AY 1 — fully developed

[1000, 1855, 2423, 2988, 3335, 3483, 3552, 3603, 3624, 3631],

AY 2 — observed through dev 9

[1113, 2103, 2774, 3422, 3844, 4010, 4090, 4148, 4172, None],

…

AY 10 — only the first observation

[2640, None, None, None, None, None, None, None, None, None] ]

  • Outer index = accident year, oldest first
  • Inner index = development period, 0 = first age
  • Use None (or JSON null) for unobserved cells
  • All rows must be the same length — pad with trailing null

Testing

pipx install --editable mcp-chainladder

pytest -q

Tests pin every public tool against the textbook triangle's well-known parity values to ~1e-9.

Pro tier

<< UNDER REVIEW - COMING SOON >>

The free tier covers all 8 tools listed above. Pro unlocks additional methods + bulk workflows, gated by a local license file at ~/.chainladder/license (or wherever $CHAINLADDER_LICENSE_FILE points).

**Pro licenses are currently for internal and testing purposes

only — not open to the public.** No purchase channel is available

at this time. The Pro tools are listed below for reference and

will continue to return pro_license_required for external users.

Pro toolWhat it does
pro_license_statusInspect current license state (free to call)
interpret_diagnosticsMack tests with verdict labels + plain-English summaries + recommended actions
sensitivity_analysisDrop each link ratio one-at-a-time and rank by IBNR impact
tail_extrapolationFit exponential + inverse-power tail models, recommend best fit
bornhuetter_fergusonBF reserving method with side-by-side CL comparison
compare_methodsRun CL + BF in one call, report deltas + largest divergence
generate_pdf_report *(coming v1.2)*Full 5-page actuarial PDF — cover / triangle / factors / results / 3D loss surface
batch_csv_processing *(coming v1.2)*Fold the chain ladder over a directory of CSV triangles
cape_cod, mack_bf *(coming v1.3)*Additional reserving methods, all returning side-by-side comparisons
License file format
{

"product": "mcp-chainladder-pro", "owner": "alice@example.com", "expires": null, "key": "CL-PRO-1A2B3C4D", "signature": "…" }

Drop it at ~/.chainladder/license (the file's directory must exist; the server doesn't create it). Pro tools immediately respond as unlocked the next time Claude calls them.

When the license is missing or expired, every Pro tool returns {"error": "pro_license_required", "status": {...}} instead of computing — Claude reads the status and points you to the upgrade URL. The free-tier tools always work regardless of license state.

License

MIT. See LICENSE.

问 PopNx