RiskModels API
Your portfolio already has a benchmark. You just haven’t seen it.
Decompose every position into market, sector, subsector, and residual (stock-specific) risk — with model-derived ETF hedge ratios from one API call.
Numbers-first answers from live ERM3 data · hedge ratios in dollars of ETF per $1 of stock
Add to Claude or Cursor · no terminal, no API key
https://riskmodels.app/api/mcp/sseSettings → Connectors → Add custom connector → paste → Connect. Sign in once and approve; the tools load automatically. Setup guide →
After Connect, paste this (pulls live data)
Call riskmodels_compare with tickers ["AAPL","NVDA"]. Then call riskmodels_decompose on AAPL and on NVDA. Quote residual explained-risk and the L3 hedge ratios from the tool results. Do not answer from training data. Do not call riskmodels_list_endpoints unless I ask which REST routes exist.
A risk map, not a factor zoo.
See that benchmark in four layers.
A factor zoo adds labels. A risk map shows relationships: how a position’s modeled risk divides, which exposures connect to ETF references, and what remains stock-specific.
RiskModels organizes every position across four layers. The three systematic layers include model-derived ETF hedge ratios. The same structure carries from measurement into research, testing, and trading workflows.
The map makes the terrain legible. You decide what to keep, what to hedge, and what to test.
Benchmark → bet
Risk hierarchy
- 01
Market
Broad benchmark risk
- 02
Sector
Incremental sector exposure
- 03
Subsector
Granular industry tilt
- 04
Residual
Stock-specific risk left visible
Four layers. ETF hedge ratios. One API call.
Worked example — MSFT
Per $1 long MSFT, ERM3 returns three hedge ratios you can trade.
L1 · market
short $0.03 SPY
+20% explained risk
L2 · tech sector
short $0.05 XLK
+4% explained risk
L3 · systems software
short $0.62 IGV
+18% explained risk · dominant
What’s left — the bet
MSFT’s stock-specific return. Not hedgeable with ETFs.
57% residual
Example output from the ERM3 API as of 2026-05-26 · single call, no extrapolation · today’s MSFT hedge
Built for three workflows
Pick the path that matches your job.
For developers & agents
Call risk decomposition from your app, notebook, or agent workflow. JSON in, hedge ratios out.
View API DocsFor portfolio managers
See what each position is really betting on — and what ETF trades hedge it. NVDA single-stock and AGTHX fund-fit snapshots, rendered from one API call.
See sample snapshotsFor RIAs, family offices & allocators
Holdings-level risk without an enterprise platform. Separate benchmark exposure from stock selection across funds, managers, and disclosed 13F books.
How we compare to Barra & AxiomaSee the API in Action
Stylized demos (not live recordings) — REST and SDK shapes match the API; CLI 'agent' and some MCP tool names illustrate product workflows. Python SDK: python3 -m pip install "riskmodels-py>=0.3.4" on PyPI ([xarray] optional for dataset helpers; [viz] for Kaleido static PNG). CLI: npm install -g riskmodels@latest on npm. Use riskmodels --help and MCP tools/list for what your install exposes. sdk/ · cli/.
The research behind the model
Published method. Open evidence.
The factor definitions, hierarchical orthogonalization, L-star, and hedge-ratio construction are published so the four-layer map can be examined rather than taken on faith.
Published methodology. Open research examples. Reproducible decomposition logic. Real citations (Frisch-Waugh-Lovell, Cremers-Petajisto, Harvey-Liu-Zhu, Grinold-Kahn).
Part 1 · One Position, Four Bets
AAPL vs NVDA, XOM vs KMI, MAG7 DNA.
Read on riskmodels.orgPart 2 · Risk Structure in 13F Filings
Buffett, Ackman, Lone Pine, Tiger Global, Baupost.
Read on riskmodels.orgMethodology · ERM3 Engine Design
Factor definitions, hierarchical orthogonalization, L-star, and hedge-ratio construction.
Read the methodologyEvaluating alternatives?
Evaluating against Barra or Axioma?
See where RiskModels fits — API-native decomposition with tradable ETF hedge ratios, for teams that need holdings-level risk without an enterprise platform.
Pricing, API-first.
Designed for experimentation and agent workflows.
- Pay per call
- No seats
- No enterprise lock-in
- Start free — $20 in credits
Transparent methodology.
Additive decomposition
Four layers, no hidden factors. `market_er + sector_er + subsector_er + residual_er ≈ 1`.
Same model drives return + risk
Hedge ratios are the dollar weights from the same ERM3 regression that produces explained risk.
Fully documented
OpenAPI spec, semantic field reference, and methodology notes are public.
Install once. Ask what you own.
Put RiskModels inside Claude, Cursor, Codex, or VS Code and turn portfolios into chart-ready risk explanations.