canli-mcp / Quant finance

Z-spread over a zero curve

Solve a fixed-rate bond's z-spread: the constant spread over a continuously compounded zero curve that reprices its cash flows to the market dirty price.

The tool is z_spread 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
settlementyesstring
maturityyesstring
coupon_rateyesnumber
frequencynonumber|number|number|number
day_countno30/360|ACT/360|ACT/365F|ACT/ACT
facenonumber
clean_priceyesnumber
curveyes{years,zero_rates}

How a model reaches it

Ask in plain words. The model finds z_spread 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": "z_spread",
  "arguments": {
    "settlement": "<string>",
    "maturity": "<string>",
    "coupon_rate": "<number>",
    "clean_price": "<number>",
    "curve": "<{years,zero_rates}>"
  }
}

Words that find it

Besides its name, title and description, find_tool matches a question to z_spread on these words: z, spread, zero, volatility, credit, bond, curve, oas.

More

Nothing here is investment advice.