canli-mcp / Quant finance

Bond price, duration and convexity

Price a fixed-rate bond from its yield on real dates and a day count: clean and dirty price, accrued interest, Macaulay and modified duration, convexity and DV01.

The tool is bond_price 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
yieldyesnumber

How a model reaches it

Ask in plain words. The model finds bond_price 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": "bond_price",
  "arguments": {
    "settlement": "<string>",
    "maturity": "<string>",
    "coupon_rate": "<number>",
    "yield": "<number>"
  }
}

Words that find it

Besides its name, title and description, find_tool matches a question to bond_price on these words: bond, price, yield, clean, dirty, accrued, interest, duration, macaulay, modified, convexity, dv01, pv01, fixed, income, treasury, corporate.

More

Nothing here is investment advice.