The discount rate where NPV=0 for a cash-flow series (solved by bisection).
Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.
| Parameter | Type | Required | Description |
|---|---|---|---|
cash_flows | array | required | Array of cash flows with at least one sign change |
curl -s https://wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "irr", "arguments": {"cash_flows": []}}}'curl -s https://wingmanprotocol.com/tools/irr \
-H 'Content-Type: application/json' \
-d '{"cash_flows": []}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/irr from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).