Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

RiskModels

NPM · @RISKMODELS/MCP · 2 COMPONENTS · SCANNED AUG 3

Dividend-adjusted US equity total returns, risk decomposition, attribution & ETF hedge ratios

+15 this week 68 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security87
  • No malware found by supply-chain analysis.Pass
  • Only part of the dependency tree could be resolved (96 of 100), so this covers what we could see, not the whole tree.Partial
  • No install/post-install scripts declared.Pass
  • Only part of the dependency tree could be resolved (96 of 100), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency32
Schema Quality & AI Usability81
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (good).Pass
  • Tool/resource definitions use about 2925 tokens (~76/item across 38 items; 29 tools + 9 resources), lean.Pass
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
  • Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage99
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 96% of tool parameters carry a description.Partial
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · @riskmodels/mcp

# add to Claude Code
claude mcp add bluewatercorp-riskmodels -- npx -y @riskmodels/mcp
# add to Codex CLI
codex mcp add bluewatercorp-riskmodels -- npx -y @riskmodels/mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "bluewatercorp-riskmodels": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@riskmodels/mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add bluewatercorp-riskmodels --command npx --arg -y --arg @riskmodels/mcp
# ~/.hermes/config.yaml
mcp_servers:
  bluewatercorp-riskmodels:
    command: "npx"
    args: ["-y", "@riskmodels/mcp"]
// mcp.json
{
  "mcpServers": {
    "bluewatercorp-riskmodels": {
      "command": "npx",
      "args": [
        "-y",
        "@riskmodels/mcp"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 3 Aug 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.

  • 2 Aug 26 +31
    • Provenance: unverified → fail security
    • Install scripts: unverified → pass security
    • Known CVEs: unverified → partial security
    • Malware scan: unverified → pass security
    • License: unverified → fail functional
    • Dependency health: unverified → partial functional
    • Maintenance: unverified → pass functional
    • Stability: unverified → 0.23 functional
  • 1 Aug 26 −11
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 31 Jul 26 −6
    • Provenance: unverified → fail security
    • Malware scan: pass → unverified security
    • Install scripts: unverified → pass security
    • License: unverified → fail functional
    • Maintenance: unverified → pass functional
    • Schema quality: unverified → good functional
  • 27 Jul 26 53

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Analysed npm/@riskmodels/[email protected]

Provenance none

Ecosystem: npm · Outcome: none

Dependencies 96 packages

96 packages in the resolved dependency tree · 95 deprecated · 29 stale · 1 without a linked repository.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 29 exposed · ~2,777 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
get_l3_decomposition ~126

Daily EOD hierarchical orthogonal decomposition for a single ticker: market → sector → subsector → residual. Returns parallel time-series arrays plus hedge ratios. Historical data from GCP zarr; latest snapshot from Supabase. Data freshness: daily after US market close (see _data_as_of).

NameTypeReqDescription
market_factor_etfstringMarket factor ETF for L1 (default SPY)
tickerstringyesStock ticker symbol, e.g. NVDA, AAPL
yearsintegerYears of daily history to return (1–15)

No output schema declared.

No examples provided.

get_metrics ~89

Latest daily EOD risk metrics for a ticker from the Supabase _latest table: L1/L2/L3 hedge ratios (SPY, sector ETF, subsector ETF), explained-risk fractions, daily volatility, price close, market cap. Single-row snapshot. Data freshness: daily after US market close.

NameTypeReqDescription
tickerstringyesStock ticker symbol, e.g. NVDA, AAPL

No output schema declared.

No examples provided.

get_portfolio_risk_snapshot ~153

Bundled portfolio risk report for up to 100 positions: variance decomposition (market / sector / subsector / residual / systematic), portfolio 23-day volatility, and optional diversification analytics with sector/subsector ETF correlation matrices. Returns JSON by default. Response is cached per-user per-portfolio for 1 hour.

NameTypeReqDescription
as_of_datestringYYYY-MM-DD override for the snapshot date
include_diversificationbooleanInclude diversification metrics (adds latency)
positionsarrayyesPositions as { ticker, weight } pairs. Weights need not sum to 1.
titlestring
window_daysintegerRolling window in trading days for diversification

No output schema declared.

No examples provided.

post_snapshot ~199

Run a canonical risk snapshot on a portfolio (1–100 positions): L3 variance decomposition (market / sector / subsector / residual / systematic), L3 hedge ratios per position, frozen-weight daily return attribution (gross + market / sector / subsector strips + residual), cumulative return and drawdown over the lookback window, and a risk_summary with dominant drivers, concentration flags, and top exposures. This is the canonical RiskModels public surface — same response shape across UI, CLI, SDK, and agents. Provide either weight or shares for every position (do not mix). Bills as portfolio-risk-snapshot ($0.25 per request).

NameTypeReqDescription
benchmarkstringOptional benchmark ticker (reserved for comparison views)
lookback_daysintegerTrading days of history for return curves and attribution series (default 252)
portfolioarrayyesPortfolio positions. Use weights for every position OR shares for every position — do not mix.

No output schema declared.

No examples provided.

riskmodels_analyze_portfolio ~85

Holdings-weighted L1/L2/L3 hedge_levels across names via POST /batch/analyze (hedge_ratios). Returns normalized portfolio.portfolio_hedge_levels and per-ticker blocks when present.

NameTypeReqDescription
positionsarrayyesPositions with weight or dollars (combined per ticker)
yearsintegerBatch lookback window, default 1

No output schema declared.

No examples provided.

riskmodels_call_endpoint ~147

Escape hatch for any capability without a dedicated tool. Run riskmodels_list_endpoints (and riskmodels_get_capability for params), then call with that capability's method + endpoint path. Path is relative to the API root (a leading "/api" is stripped). Blocked: SQL (/cli/query), Plaid, and chat endpoints — use the REST API directly for those.

NameTypeReqDescription
bodyobjectJSON body (POST)
methodstringyesHTTP method from list_endpoints
pathstringyesEndpoint path from list_endpoints, e.g. "/industry-panel" or "/data/benchmark/SPY"
queryobjectQuery parameters

No output schema declared.

No examples provided.

riskmodels_compare ~48

Compare tickers across market, sector, subsector, and residual risk layers. Prefer grouped bar charts when chart_data is present.

NameTypeReqDescription
tickersarrayyesTicker symbols to compare

No output schema declared.

No examples provided.

riskmodels_decompose ~111

L3 four-bet view: decompose one stock into additive market, sector, subsector, and residual layers (same semantics as POST /decompose exposure/hedge). Returns chart_data and plain_english. To compare standalone L1 vs L2 vs L3 hedge solutions (HR/ER + ETF legs), call riskmodels_get_hedge_levels or read hedge_levels on the API response.

NameTypeReqDescription
tickerstringyesTicker symbol, e.g. NVDA or AAPL

No output schema declared.

No examples provided.

riskmodels_get_capability ~45

Get full capability details (parameters, pricing, examples) by id

NameTypeReqDescription
idstringyesCapability id (e.g. ticker-returns, risk-decomposition)

No output schema declared.

No examples provided.

riskmodels_get_etf ~61

Latest canonical metrics for one ETF (GET /data/etf/{ticker}): registry metadata + portfolio surface. Resolve the ticker via riskmodels_search_etfs if unsure.

NameTypeReqDescription
tickerstringyesETF ticker, e.g. SMH

No output schema declared.

No examples provided.

riskmodels_get_etf_holdings ~62

Top-N current holdings of an ETF (GET /data/etf/{ticker}/holdings).

NameTypeReqDescription
tickerstringyesETF ticker, e.g. SMH
topintegerNumber of holdings (default 25)

No output schema declared.

No examples provided.

riskmodels_get_filer_holdings ~86

Top-N current holdings of a 13F filer (GET /13f/filers/{bw_filer_id}/holdings). Resolve bw_filer_id via riskmodels_search_filers first.

NameTypeReqDescription
bw_filer_idstringyesFiler id from riskmodels_search_filers
topintegerNumber of holdings (default 25)

No output schema declared.

No examples provided.

riskmodels_get_filer_snapshot ~77

Composed JSON snapshot for one 13F filer (GET /13f/filers/{bw_filer_id}/snapshot): registry + latest metrics + concentration. Resolve bw_filer_id via riskmodels_search_filers first.

NameTypeReqDescription
bw_filer_idstringyesFiler id from riskmodels_search_filers

No output schema declared.

No examples provided.

riskmodels_get_hedge_levels ~84

Canonical L1, L2, and L3 hedge snapshots (semantic HR/ER + hedge_etfs) from GET /metrics/{ticker}. Use this when you need to compare which cascade depth to trade, distinct from decompose four-bet exposure.

NameTypeReqDescription
tickerstringyesTicker symbol, e.g. NVDA or AAPL

No output schema declared.

No examples provided.

riskmodels_get_macro_correlation ~135

Exposure of a stock's returns to macro drivers like rates and volatility (POST /correlation). Defaults to the L3 residual return so it isolates idiosyncratic macro sensitivity.

NameTypeReqDescription
factorsarrayMacro factor ids to test (default: standard set)
methodstring"pearson" (default) or "spearman"
return_typestringReturn series to correlate (default "l3_residual")
tickerstringyesTicker symbol, e.g. NVDA
window_daysintegerRolling window in days (default 252)

No output schema declared.

No examples provided.

riskmodels_get_rankings ~104

Where a stock sits in its sector/universe percentile for a given metric (GET /rankings/{ticker}) — peer analytics / manager-skill context.

NameTypeReqDescription
cohortstringPeer cohort, e.g. sector or universe
metricstringRanking metric (see riskmodels_get_capability id=rankings)
tickerstringyesTicker symbol, e.g. NVDA
windowstringLookback window

No output schema declared.

No examples provided.

riskmodels_get_residual_signal ~100

Aggregate the L3 residual mean-reversion (stat-arb) signal across a basket (POST /signals/residual-reversion/basket). Optional weights and a minimum signal-quality quintile filter.

NameTypeReqDescription
signal_quality_min_quintileintegerDrop names below this signal-quality quintile (1-5)
tickersarrayyesBasket tickers
weightsarrayOptional weights, aligned to tickers

No output schema declared.

No examples provided.

riskmodels_get_return_attribution ~194

Daily return attribution (GET /returns-decomposition): decomposes each day's gross return into additive L1/L2/L3 factor (market/sector/subsector) and residual (stock-specific) return components from ds_erm3_returns. Isolates the residual return series — the stock-picking / alpha component — for manager-skill evaluation and stat-arb. Set include_lstar for the Lstar-dispatched residual series.

NameTypeReqDescription
include_lstarbooleanInclude lstar + lstar_residual_return arrays (default false)
market_factor_etfstringMarket factor ETF (default SPY)
thresholdnumberMarginal ER threshold for Lstar derivation (default 0.01)
tickerstringyesTicker symbol, e.g. NVDA or AAPL
yearsintegerCalendar years of daily history (default 1)

No output schema declared.

No examples provided.

riskmodels_get_returns ~130

Daily dividend-adjusted total (gross) return series for any US stock or ETF (GET /ticker-returns), with per-day L3 market/sector/subsector hedge ratios and explained-risk fractions (sum to ~1.0). Up to 15 years of point-in-time, time-safe history. Use for performance tracking, backtests, or as the clean returns input to any risk or attribution work.

NameTypeReqDescription
tickerstringyesTicker symbol, e.g. NVDA or AAPL
yearsintegerYears of daily history (default 1, max 15)

No output schema declared.

No examples provided.

riskmodels_get_schema ~61

Get JSON schema for an API response by path (e.g. ticker-returns-v2.json)

NameTypeReqDescription
pathstringyesSchema path or filename (e.g. ticker-returns-v2.json or /schemas/ticker-returns-v2.json)

No output schema declared.

No examples provided.

riskmodels_hedge_portfolio ~74

Batch hedge_ratios at a chosen cascade level (L1/L2/L3), scale HRs by dollar notionals per ticker, and aggregate ETF USD hedge legs.

NameTypeReqDescription
levelstringCascade depth; default L3
positionsarrayyes
yearsinteger

No output schema declared.

No examples provided.

riskmodels_hedge_position ~61

Scale ETF hedge ratios for a ticker to a dollar position. Returns chart-ready hedge notionals.

NameTypeReqDescription
dollarsnumberyesDollar notional of the stock position
tickerstringyesTicker symbol, e.g. NVDA

No output schema declared.

No examples provided.

riskmodels_list_endpoints ~28

List all public API capabilities (id, name, method, endpoint, short description)

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

riskmodels_portfolio_decompose ~45

Decompose a weighted portfolio into market, sector, subsector, and residual risk layers.

NameTypeReqDescription
positionsarrayyesPortfolio positions as ticker plus weight or dollars

No output schema declared.

No examples provided.

riskmodels_screen_rankings ~149

Full cross-section rank screen (POST /rankings/screen): server-side percentile/decile filtering across the universe for a metric. Use to build screens, not single-ticker lookups.

NameTypeReqDescription
as_ofstringAs-of date (YYYY-MM-DD)
cohortstringyesPeer cohort
decileintegerRestrict to a decile (1-10)
limitintegerMax rows (default 100)
metricstringyesRanking metric
min_percentilenumberMinimum percentile filter
sector_filterstringRestrict to a sector
windowstringyesLookback window

No output schema declared.

No examples provided.

riskmodels_search_etfs ~81

Find ETFs in the canonical universe by symbol or name (GET /data/etf/search). Free — resolve a hedge/benchmark ETF before pulling its metrics or holdings.

NameTypeReqDescription
limitintegerMax results (default 25)
qstringSymbol or name fragment, e.g. "semiconductor" or "SMH"

No output schema declared.

No examples provided.

riskmodels_search_filers ~88

Find 13F filers by name (GET /13f/filers/search). Free — resolve a manager like "Berkshire" to a bw_filer_id before pulling its snapshot, holdings, or concentration.

NameTypeReqDescription
limitintegerMax results (default 25)
qstringyesFiler name fragment, e.g. "berkshire"

No output schema declared.

No examples provided.

riskmodels_search_tickers ~109

Resolve a symbol or company name to RiskModels tickers (GET /tickers). Free — use this first to turn a name like "Nvidia" into a ticker before any analysis tool. mag7=true returns the Magnificent Seven.

NameTypeReqDescription
include_metadatabooleanInclude extra metadata per match
mag7booleanReturn the MAG7 set
searchstringSymbol or company-name fragment, e.g. "nvidia" or "NVDA"

No output schema declared.

No examples provided.

riskmodels_whitepaper_example ~45

Run a live example from the RiskModels white paper. Returns chapter text plus SDK/API output with chart_data.

NameTypeReqDescription
exampleIdstringyesWhite-paper example id

No output schema declared.

No examples provided.