canli-mcp / Quant finance

Mean reversion (Ornstein-Uhlenbeck) fit

Fit an AR(1) / Ornstein-Uhlenbeck model to a spread or price series: half-life, mean, speed of reversion, equilibrium volatility and the current z-score.

The tool is mean_reversion_fit 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

As the server declares them
ArgumentRequiredType
seriesyesnumber[]
dtnonumber

How a model reaches it

Ask in plain words. The model finds mean_reversion_fit 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_reversion_fit",
  "arguments": {
    "series": "<number[]>"
  }
}

Words that find it

Besides its name, title and description, find_tool matches a question to mean_reversion_fit on these words: mean, reversion, half, life, ornstein, uhlenbeck, ou, process, ar1, spread, z, score, speed.

More

Nothing here is investment advice.