Calculate simple interest using the formula I = P × R × T. Available via MCP in Cursor, Claude, and other AI editors, or as REST API at /v1/finance/simple-interest. Pass principal amount, interest rate (as decimal), and time period to get exact interest calculations. Returns precise numerical results instead of approximated AI responses.
curl "https://tinyfn.io/v1/finance/simple-interest" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/finance/simple-interest', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/finance/simple-interest',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's finance tools:
{
"mcpServers": {
"tinyfn-finance": {
"url": "https://tinyfn.io/mcp/finance",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Use GET /v1/finance/simple-interest with parameters for principal, rate (as decimal like 0.05 for 5%), and time period. Returns the exact interest amount using I = P × R × T.
Pass the rate as a decimal: 0.05 for 5%, 0.125 for 12.5%. Don't use percentages like 5 or 12.5 as the calculation will be incorrect.
Yes, it's available as an MCP tool in Cursor, Claude Code, GitHub Copilot, Windsurf, Cline, OpenClaw, and Zed for reliable financial calculations in your development workflow.
Simple interest calculates interest only on the principal amount. Compound interest calculates interest on principal plus previously earned interest. This tool handles simple interest only.
The calculation uses whatever time unit you provide, but ensure your rate matches the time period (annual rate with years, monthly rate with months, etc.).
Get your free API key and start using Simple Interest in seconds.
Get Free API Key