Finance
Explore how contributions, compounding, fees, and inflation shape investment growth year by year.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/compound-interest-contribution-timeline-tutor' \
-H 'Content-Type: application/json' \
-d '{"initialPrincipal":10000,"monthlyContribution":500,"annualReturnRate":7,"annualFeeRate":0.5,"annualInflationRate":2,"years":10,"contributionTiming":"beginning"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/compound-interest-contribution-timeline-tutor| Name | Type | Required | Description |
|---|---|---|---|
| initialPrincipal | number | Yes | — |
| monthlyContribution | number | Yes | — |
| annualReturnRate | number | Yes | — |
| annualFeeRate | number | Yes | — |
| annualInflationRate | number | Yes | — |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-compound-interest-contribution-timeline-tutor": {
"name": "compound-interest-contribution-timeline-tutor",
"description": "Explore how contributions, compounding, fees, and inflation shape investment growth year by year.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=compound-interest-contribution-timeline-tutor",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "compound-interest-contribution-timeline-tutor",
"arguments": {
"initialPrincipal": 10000,
"monthlyContribution": 500,
"annualReturnRate": 7,
"annualFeeRate": 0.5,
"annualInflationRate": 2,
"years": 10,
"contributionTiming": "beginning"
}
}
}Questions or issues? Contact [email protected]
| years | number | Yes | — |
| contributionTiming | select | Yes | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}