canli-mcp / Quant finance
Portfolio risk decomposition
Decompose a portfolio's volatility into each asset's risk contribution, with marginal risk, diversification ratio, effective number of assets, parametric VaR and ex-ante tracking error to a benchmark.
The tool is portfolio_risk in canli-mcp 0.22.0, free and MIT-licensed, with no account and no API key. It comes from canli-quant-mcp, which canli-mcp includes, and it is also its own server.
Arguments
| Argument | Required | Type |
|---|---|---|
returns | no | number[][] |
covariance | no | number[][] |
expected_returns | no | number[] |
periods_per_year | no | number |
assets | no | string[] |
weights | yes | number[] |
benchmark_weights | no | number[] |
confidence | no | number |
How a model reaches it
Ask in plain words. The model finds portfolio_risk with canli-mcp's find_tool, reads its arguments with describe_tool if it needs to, and runs it with run_tool. The call has this shape, with your values in place of the angle brackets:
{
"name": "portfolio_risk",
"arguments": {
"weights": "<number[]>"
}
}Words that find it
Besides its name, title and description, find_tool matches a question to portfolio_risk on these words: portfolio, risk, contribution, decomposition, marginal, volatility, diversification, ratio, tracking, error, ex, ante, var.
More
Nothing here is investment advice.