canli-mcp / Quant finance
Mean-variance portfolio for a target
Find the minimum-variance portfolio that reaches a target expected return, or the utility-maximizing portfolio for a risk aversion, long-only or unconstrained.
The tool is mean_variance_portfolio 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[] |
target_return | no | number |
risk_aversion | no | number |
long_only | no | boolean |
max_weight | no | number |
How a model reaches it
Ask in plain words. The model finds mean_variance_portfolio 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": "mean_variance_portfolio",
"arguments": {}
}Words that find it
Besides its name, title and description, find_tool matches a question to mean_variance_portfolio on these words: mean, variance, optimization, markowitz, target, return, risk, aversion, efficient, portfolio.
More
Nothing here is investment advice.