canli-mcp / Quant finance

Dated NPV and IRR (XNPV, XIRR)

Compute NPV and IRR for cash flows on irregular dates (ACT/365 from the first date), as spreadsheet XNPV and XIRR do.

The tool is xnpv_xirr 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
cashflowsyesnumber[]
datesyesstring[]
ratenonumber

How a model reaches it

Ask in plain words. The model finds xnpv_xirr 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": "xnpv_xirr",
  "arguments": {
    "cashflows": "<number[]>",
    "dates": "<string[]>"
  }
}

Words that find it

Besides its name, title and description, find_tool matches a question to xnpv_xirr on these words: xnpv, xirr, irregular, dates, dated, cash, flows, money, weighted, return, private, equity.

More

Nothing here is investment advice.