precisioncalc-mcp

v2.1.1
io.github.inity13/precisioncalc-mcp Checked 3 days ago Published 3 months ago

High-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.

ParameterTypeDescription
metric *string
params *object
currencystring

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.

ParameterTypeDescription
amount *number
from_currency *string
to_currency *string
datestring
liveboolean

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.

ParameterTypeDescription
operation *string
start_date *string
custom_holidaysarray
daysinteger
end_datestring
regionstring

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.

ParameterTypeDescription
operation *string
begin_valuenumber
compoundingstring
currencystring
end_valuenumber
future_valuenumber
present_valuenumber
ratenumber
yearsnumber

net_present_value

Net Present Value (discounted cash flow). NPV = sum(CF_t/(1+rate)^t). cashflows[0] = period 0 (usually the negative outlay).

ParameterTypeDescription
cashflows *array
rate *number
currencystring

internal_rate_of_return

Internal Rate of Return: per-period rate where NPV=0 (Newton + bisection). Requires a sign change in cashflows.

ParameterTypeDescription
cashflows *array
guessnumber

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.

ParameterTypeDescription
annual_rate *number
principal *number
term_months *integer
currencystring
extra_paymentnumber
include_scheduleboolean

depreciation

Asset depreciation schedule. method: straight_line | declining_balance | sum_of_years_digits. Book value converges to salvage_value.

ParameterTypeDescription
cost *number
method *string
salvage_value *number
useful_life_years *integer
currencystring

batch_calculate

Run many calculations in one request. calls: list of {tool, arguments} (max 100). One failure never aborts the batch.

ParameterTypeDescription
calls *array

health_check

Server health/status metadata.