Home / Servers / Calculators / compound_interest
Compound interest
An MCP tool from the Calculators server, hosted on mcp.hjlabs.in.
Future value of a lump sum and/or regular contributions with compound interest, plus total contributions and interest earned. Compounding monthly, quarterly, yearly or daily.
Name on the gateway: math__compound_interest · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
principal | number | Starting amount. Default 0. |
annual_rate required | number | Annual rate in percent. |
years required | number | How long. |
compounding | daily | monthly | quarterly | yearly | Default "monthly". |
monthly_contribution | number | Added at the end of each month. Default 0. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "math__compound_interest",
"arguments": {
"annual_rate": 0,
"years": 0
}
}Or connect the Calculators server directly, which lists 28 tools including this one:
claude mcp add --transport http hj-math https://mcp.hjlabs.in/mcp/math \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the compound interest tool with principal set to ….