Future value, total contributions and interest with optional periodic deposits.
Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.
| Parameter | Type | Required | Description |
|---|---|---|---|
principal | number | optional | Starting principal in USD |
annual_rate_pct | number | required | Annual interest rate as a PERCENT (6 = 6%) |
years | number | required | Number of years |
compounds_per_year | integer | optional | Compounding periods per year (default 12) |
contribution | number | optional | Deposit added each compounding period, USD |
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": "compound_interest", "arguments": {"annual_rate_pct": 0.07, "years": 30}}}'curl -s https://wingmanprotocol.com/tools/compound_interest \
-H 'Content-Type: application/json' \
-d '{"annual_rate_pct": 0.07, "years": 30}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/compound_interest from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).