mcp-fns-calc
v0.1.10Russian tax calculators (VAT, USN, NDFL) and FNS fiscal-status checks via MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
calc_vat
Compute Russian VAT (НДС): add on top of net or extract from gross (NK RF art. 164, 168). **When to use** - Invoice line: net→gross (mode=add) or gross→net+VAT (mode=extract). - USN taxpayers on special VAT rates 5% or 7% (from 2025 rules). - Quick sanity check before bookkeeping export. **When NOT to use** - VAT declaration filing, multi-rate invoices, or export/zero-rate cases. - Mixed taxable/exempt lines — sum per line in accounting software. **Parameters** - amount: base sum in RUB (net for add, gross for extract). - rate: 20, 10, 0, 5, or 7 (percent). - mode: `add` | `extract…
| Parameter | Type | Description |
|---|---|---|
amount * | number | Сумма (без НДС для add, с НДС для extract). |
mode | string | add — начислить сверху; extract — выделить из суммы. |
rate | number | Ставка НДС: 20/10/0 или спец 5/7 (УСН с 2025). |
calc_usn
Calculate simplified tax (USN/УСН): 6% on income or 15% income-minus-expense with minimum tax (NK RF ch. 26.2). **When to use** - Estimate USN tax for a quarter/year before payment. - Object `income` (6%): deduct paid IP contributions (capped at 50% if has_employees). - Object `income_minus_expense` (15%): apply minimum tax 1% of income if 15% base is lower. **When NOT to use** - Exact advance-payment calendar or KKT cash reporting. - Taxpayers above USN income limits — check get_rates for limits first. **Parameters**: income, obj, expenses, rate (regional override), contributions_paid…
| Parameter | Type | Description |
|---|---|---|
income * | number | Доход за период. |
advances_paid | number | Ранее уплаченные авансовые платежи. |
contributions_paid | number | Уплаченные страховые взносы (для объекта income). |
expenses | number | Расходы (для income_minus_expense). |
has_employees | boolean | Есть работники (ограничивает вычет взносов 50%). |
obj | string | income (6%) или income_minus_expense (15%). |
rate | Региональная ставка, если отличается от базовой. |
calc_insurance_ip
IP fixed insurance contributions + 1% on income above 300k RUB (NK RF art. 430). When to use: annual IP self-contribution estimate; set months<12 for partial year. When NOT to use: employee payroll — use payroll tools; amounts for closed years without snapshot check. Side effects: read-only, deterministic, offline; rates from bundled snapshot. Returns: {fixed, extra_1pct, total, income, year, months, formula, article, disclaimer}.
| Parameter | Type | Description |
|---|---|---|
income * | number | Годовой доход ИП. |
months | integer | Полных месяцев деятельности (неполный год). |
year | integer | Год расчёта. |
calc_ndfl
Progressive personal income tax (NDFL/НДФЛ) 2025+ with per-bracket breakdown (NK RF art. 224). When to use: estimate annual NDFL on salary or IP income after deductions. When NOT to use: monthly withholding by employer — use payroll; non-resident rates not modeled. Side effects: read-only, deterministic, offline; no auth or network. Returns: {tax_total, taxable_base, brackets[], formula, article, disclaimer, snapshot_date}.
| Parameter | Type | Description |
|---|---|---|
income * | number | Годовой доход. |
deductions | number | Вычеты. |
year | integer | Год (прогрессивная шкала с 2025). |
calc_patent
Patent taxation (PSN/ПСН) cost: potential income × 6% × months/12 minus contributions (NK RF ch. 26.5). When to use: compare patent cost vs USN for an activity; potential_income from regional law. When NOT to use: eligibility/OKVED limits — verify with FNS; employee-heavy cases need manual review. Side effects: read-only, deterministic, offline; no auth or network. Returns: {patent_cost, before_deduction, contributions_deduction, months, formula, article, disclaimer}.
| Parameter | Type | Description |
|---|---|---|
potential_income * | number | Потенциально возможный годовой доход (закон региона). |
contributions_paid | number | Уплаченные страховые взносы. |
has_employees | boolean | Есть работники (вычет взносов макс. 50%). |
months | integer | Срок патента в месяцах. |
calc_penalty
Estimate late-payment tax penalty (пени) per NK RF art. 75 using the CBR key rate. **When to use** - Quick what-if: how much penalty accrues on a known arrears amount and delay in days. - Org vs IP/individual: orgs use 1/300 for days 1–30, then 1/150; IP and individuals use 1/300 for all days. - Before a payment plan or negotiation — ballpark figure, not a filing document. **When NOT to use** - Multi-period calculation where the key rate changed during the delay (this tool uses one flat rate). - Penalties on non-tax debts (commercial loans, fines outside NK art. 75). - Official amoun…
| Parameter | Type | Description |
|---|---|---|
amount * | number | Сумма недоимки (руб.), на которую начисляются пени. |
days * | integer | Число календарных дней просрочки с даты, когда платёж должен был быть уплачен. |
key_rate | Ключевая ставка ЦБ РФ, % годовых. Если не задана — берётся из встроенного снапшота (см. snapshot_date в ответе). | |
payer | string | Тип плательщика: org (организация), ip (ИП), individual (физлицо, не ИП). |
get_rates
Tax rates and limits: offline snapshot (default) or live hosted pull (fresh=true, Pro key). **When to use** - Before calc_penalty: pass fresh CBR key_rate or read cbr_key_rate_default from snapshot. - Before calc_usn/calc_insurance_ip: verify USN income limits and IP contribution fixed amounts. - kinds filter narrows response: cbr_key_rate | ip_fixed_contrib | usn_limits | ndfl_scale | deflator. **When NOT to use** - Legal interpretation of limits — snapshot may lag; use fresh=true for production DD. **Parameters** - fresh: false (default) = bundled snapshot, no network; true = hosted API…
| Parameter | Type | Description |
|---|---|---|
fresh | boolean | true — тянуть свежие ставки с hosted (нужен ключ Pro); false — офлайн-снапшот. |
kinds | Фильтр: cbr_key_rate | ip_fixed_contrib | usn_limits | ndfl_scale | deflator. |
check_selfemployed
Check self-employed (NPD/НПД) status by taxpayer INN via FNS open data. Requires Pro API key. When to use: before paying a sole proprietor as individual — mandatory NPD verification. When NOT to use: offline what-if math — use calculators; without token returns missing_token error. Side effects: read-only HTTPS to hosted backend; no local data mutation. Needs MCP_FNS_CALC_TOKEN. Returns: {is_selfemployed, inn, checked_at, source, disclaimer} or error/missing_token.
| Parameter | Type | Description |
|---|---|---|
inn * | string | ИНН физлица (10 или 12 цифр). |
check_ip_status
IP registration status, OKVED and EGRIP dates by 12-digit INN. Requires Pro API key. When to use: confirm counterparty is active IP before contract/payment. When NOT to use: full EGRUL extract — use mcp-egrul; offline mode unavailable. Side effects: read-only HTTPS; needs MCP_FNS_CALC_TOKEN. Returns: {status, inn, okved, registration_date, ... disclaimer} or error.
| Parameter | Type | Description |
|---|---|---|
inn * | string | ИНН ИП (12 цифр). |
check_disqualified
Match against FNS disqualified persons register by INN or FIO. Requires Pro API key. When to use: compliance screen before appointing director/signatory; provide inn or fio. When NOT to use: sole evidence for legal decisions — result is indicative, verify manually. Side effects: read-only HTTPS; needs MCP_FNS_CALC_TOKEN. At least one of inn/fio required. Returns: {matches[], query, disclaimer} or validation/error.
| Parameter | Type | Description |
|---|---|---|
fio | ФИО для поиска (если нет ИНН). | |
inn | ИНН для поиска в реестре дисквалифицированных. |
check_account_block
Bank account operation suspension info from FNS (10–12 digit INN). Requires Pro API key. When to use: treasury/compliance check before large outbound payment. When NOT to use: real-time bank balance — different service; offline unavailable. Side effects: read-only HTTPS; needs MCP_FNS_CALC_TOKEN. Returns: {suspended, inn, details, disclaimer} or error.
| Parameter | Type | Description |
|---|---|---|
inn * | string | ИНН организации/ИП. |
check_tax_arrears
Tax arrears / debt flags from FNS Transparent Business open data. Requires Pro API key. When to use: counterparty due diligence alongside mcp-fns-check; 10–12 digit INN. When NOT to use: official debt certificate — request from FNS; offline unavailable. Side effects: read-only HTTPS; needs MCP_FNS_CALC_TOKEN. Returns: {has_arrears, inn, amounts[], disclaimer} or error.
| Parameter | Type | Description |
|---|---|---|
inn * | string | ИНН организации/ИП. |