Compute the present or future value of an ordinary annuity or annuity-due.
Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.
| Parameter | Type | Required | Description |
|---|---|---|---|
mode | string | optional | pv or fv One of: pv, fv |
payment | number | required | Payment per period |
rate | number | required | Rate per period as a decimal |
periods | integer | required | Number of periods |
due | boolean | optional | True for annuity-due (default ordinary) |
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": "annuity", "arguments": {"payment": 80000, "rate": 0.07, "periods": 10}}}'curl -s https://wingmanprotocol.com/tools/annuity \
-H 'Content-Type: application/json' \
-d '{"payment": 80000, "rate": 0.07, "periods": 10}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/annuity from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).