Monthly payment, total paid and total interest for an amortizing loan.
Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.
| Parameter | Type | Required | Description |
|---|---|---|---|
principal | number | required | Loan principal in USD |
annual_rate_pct | number | required | Annual interest rate as a PERCENT (6 = 6%) |
term_months | integer | optional | Loan term in months (or use term_years) |
term_years | number | optional | Loan term in years (used if term_months omitted) |
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": "loan", "arguments": {"principal": 100, "annual_rate_pct": 0.07}}}'curl -s https://wingmanprotocol.com/tools/loan \
-H 'Content-Type: application/json' \
-d '{"principal": 100, "annual_rate_pct": 0.07}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/loan from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).