NPV of a cash-flow series at a discount rate (index 0 = initial outlay).
Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.
| Parameter | Type | Required | Description |
|---|---|---|---|
discount_rate_pct | number | required | Discount rate as a PERCENT (10 = 10%) |
cash_flows | array | required | Array of cash flows; index 0 is t=0 (often negative) |
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": "npv", "arguments": {"discount_rate_pct": 0.07, "cash_flows": []}}}'curl -s https://wingmanprotocol.com/tools/npv \
-H 'Content-Type: application/json' \
-d '{"discount_rate_pct": 0.07, "cash_flows": []}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/npv from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).