RiskModels

v2.0.1
io.github.BlueWaterCorp/riskmodels Checked 4 hours ago Published 1 month ago

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

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add riskmodels -- npx -y --package=@riskmodels/mcp@2.0.1 riskmodels-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "riskmodels": {
      "args": [
        "-y",
        "--package=@riskmodels/mcp@2.0.1",
        "riskmodels-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "riskmodels": {
      "args": [
        "-y",
        "--package=@riskmodels/mcp@2.0.1",
        "riskmodels-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "riskmodels": {
      "args": [
        "-y",
        "--package=@riskmodels/mcp@2.0.1",
        "riskmodels-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.riskmodels]
command = "npx"
args = ["-y", "--package=@riskmodels/mcp@2.0.1", "riskmodels-mcp"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http riskmodels https://riskmodels.app/api/mcp/sse
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "riskmodels": {
      "args": [
        "-y",
        "mcp-remote",
        "https://riskmodels.app/api/mcp/sse"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "riskmodels": {
      "url": "https://riskmodels.app/api/mcp/sse"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "riskmodels": {
      "type": "http",
      "url": "https://riskmodels.app/api/mcp/sse"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.riskmodels]
command = "npx"
args = ["-y", "mcp-remote", "https://riskmodels.app/api/mcp/sse"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: riskmodels_get_stock_snapshot, riskmodels_decompose, riskmodels_compare, riskmodels_get_returns, riskmodels_get_return_attribution, riskmodels_get_residual_returns, riskmodels_get_residual_signal, riskmodels_get_macro_correlation, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json