Calculate the present value of future cash flows using standard time value of money formulas. Access via MCP in Cursor or Windsurf, or call GET /v1/finance/present-value with future value, discount rate, and time periods. Returns precise calculations for investment analysis, loan valuations, and financial planning scenarios.
curl "https://tinyfn.io/v1/finance/present-value" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/finance/present-value', {
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/present-value',
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 the future value, annual discount rate (as decimal), and number of periods. The tool applies PV = FV / (1 + r)^n formula automatically.
Present value discounts a single future amount, while NPV sums multiple cash flows minus initial investment. This tool handles single future values only.
Yes, Claude Code can chain present value calculations with other TinyFn finance tools to build complete discounted cash flow models programmatically.
Use your required rate of return, cost of capital, or risk-free rate plus risk premium. The tool accepts any decimal rate you specify.
The tool uses standard annual compounding. For other periods, adjust your rate and time inputs accordingly (e.g., monthly rate for monthly periods).
Get your free API key and start using Present Value in seconds.
Get Free API Key