precisioncalc-mcp
v2.1.1High-precision finance & business calculations for AI agents — exact decimals, never floats.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
calculate_metric
Compute a business/SaaS/finance metric with exact decimal precision. Metrics: ltv, cac, ltv_cac_ratio, payback_period_months, contribution_margin, gross_margin, churn_rate, mrr_growth_rate, arr, break_even_units, nrr, grr, rule_of_40, magic_number. Rates/margins are decimals (0.05=5%). Call list_metrics for schemas.
| Parameter | Type | Description |
|---|---|---|
metric * | string | |
params * | object | |
currency | string |
list_metrics
List every supported metric with descriptions and required/optional params.
currency_convert
Convert an amount between major currencies (USD, EUR, GBP, JPY, CAD, AUD, CHF, CNY, INR) with Decimal precision. Static offline table by default; live/historical ECB rates via date/live=true.
| Parameter | Type | Description |
|---|---|---|
amount * | number | |
from_currency * | string | |
to_currency * | string | |
date | string | |
live | boolean |
business_days
Business-day arithmetic honoring weekends + regional holidays. operation: add_business_days | count_business_days | next_business_day | previous_business_day. region: US | UK | EU | NONE. custom_holidays: list of YYYY-MM-DD.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
start_date * | string | |
custom_holidays | array | |
days | integer | |
end_date | string | |
region | string |
compound_growth
Compound-interest/growth math. operation: future_value | present_value | cagr. rate is annual decimal (0.08=8%). compounding: daily|weekly|monthly|quarterly|semiannually|annually|continuous.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
begin_value | number | |
compounding | string | |
currency | string | |
end_value | number | |
future_value | number | |
present_value | number | |
rate | number | |
years | number |
net_present_value
Net Present Value (discounted cash flow). NPV = sum(CF_t/(1+rate)^t). cashflows[0] = period 0 (usually the negative outlay).
| Parameter | Type | Description |
|---|---|---|
cashflows * | array | |
rate * | number | |
currency | string |
internal_rate_of_return
Internal Rate of Return: per-period rate where NPV=0 (Newton + bisection). Requires a sign change in cashflows.
| Parameter | Type | Description |
|---|---|---|
cashflows * | array | |
guess | number |
loan_amortization
Level-payment loan: monthly payment, total interest, payoff, and (optional) full schedule. payment = P*r/(1-(1+r)^-n), r=annual_rate/12.
| Parameter | Type | Description |
|---|---|---|
annual_rate * | number | |
principal * | number | |
term_months * | integer | |
currency | string | |
extra_payment | number | |
include_schedule | boolean |
depreciation
Asset depreciation schedule. method: straight_line | declining_balance | sum_of_years_digits. Book value converges to salvage_value.
| Parameter | Type | Description |
|---|---|---|
cost * | number | |
method * | string | |
salvage_value * | number | |
useful_life_years * | integer | |
currency | string |
batch_calculate
Run many calculations in one request. calls: list of {tool, arguments} (max 100). One failure never aborts the batch.
| Parameter | Type | Description |
|---|---|---|
calls * | array |
health_check
Server health/status metadata.