ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

MCP Chainladder

โดย datalatticeรุ่น 1.2.2i★ –iรันบนเครื่อง
ชื่อใน registryio.github.datalattice/mcp-chainladder

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

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

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add chainladder -- uvx mcp-chainladder

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

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

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

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

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub datalattice ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 18348 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 8% ของอีก 18348 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 18348 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

MCP Chainladder ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.2.2) เข้า registry 6 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, 好縮 Short

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

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

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

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

รันบนคลาวด์★ 211อัปเดต เมื่อวานซืน
ติดตั้ง

好縮 Short

โดย gooonamee

Smart URL shortener: create, tag and track short links on s.gooo.name.

รันบนคลาวด์อัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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