Skip to main content
Glama

tengeworks

Kazakhstan's 2026 money rules change every year, and getting a salary, tax or benefit figure wrong by using last year's numbers is easy. tengeworks is a small forwarding client for the hosted KzCalc MCP service, a set of Kazakhstan 2026 calculators that work from the figures you supply: the tool list is answered from your own machine using captured definitions, and each call travels upstream, with the service's answer handed back exactly as it arrived.

All eleven captured tools are exposed. Read the 2026 statutory indicators with their official sources, convert a salary gross to net and back again, convert between MRP and tenge, work out a sole proprietor's form 910 taxes, find a traffic fine's 50% discount deadline, price a state-school teacher's salary, estimate maternity and childcare benefits, test a family's income against the targeted-assistance criterion, compare pension savings with the ENPF sufficiency threshold, and estimate an Otbasy Bank two-stage housing loan. Everything is a calculator over numbers the caller provides. The mortgage tool estimates a loan from supplied deposit, price and region figures — it takes no application and sends nothing to the bank — and the assistance tool tests an income criterion on a family's own supplied figures; it decides no eligibility and submits nothing to any agency.

The tools

  • kz_indicators_2026 — The 2026 statutory indicators with their official sources: MRP, minimum wage, base official salary, subsistence minimum, and the payroll rates and caps. No required arguments; an optional lang picks Russian (ru, the default) or Kazakh (kk) for source titles and notes.

  • kz_salary_gross_to_net — A monthly gross salary (gross_salary_kzt) turned into the net amount paid to the employee under 2026 rules, with employee withholdings (OPV, VOSMS, IPN) and employer contributions (OPVR, SO, OOSMS, social tax) line by line. Options cover pensioner employees, the 30 MRP base deduction, and employees born before 1975.

  • kz_salary_net_to_gross — The reverse direction: the smallest whole-tenge gross whose rounded net equals a target net_salary_kzt, with the same withholding and contribution breakdown and the same options.

  • kz_mrp_convert — An amount converted between MRP and tenge at the 2026 MRP value, in the direction named by unit (mrp or kzt). For fines, fees, benefits and thresholds the law states in MRP.

  • kz_ip910_taxes — For an individual entrepreneur without employees on the simplified declaration (form 910.00): the half-year tax on semiannual_income_kzt plus the mandatory monthly OPV, OPVR, SO and VOSMS payments on monthly_declared_income_kzt, with the exemptions for pensioners, people born before 1975 and people with disabilities.

  • kz_traffic_fine_discount — The deadline and amounts for paying an administrative fine with the 50% discount: strict deadline seven days after delivery_date, an informational working-day deadline, full and discounted amounts, and remaining days. Name the fine with a violation_id from the catalog or a custom_mrp_multiple, not both.

  • kz_teacher_salary — A state-school teacher's monthly salary under Government Decree No. 1193: position salary by education_level, experience_id and category_id at a given weekly_hours, plus class supervision, notebook checking, rural and master-degree supplements, then gross, withholdings and net.

  • kz_maternity_benefits — The state benefits around a birth: the one-off birth payment, the maternity leave payment, and the monthly childcare allowance to age 1.5, for child number child_rank. An employed mother (is_employed) also supplies her average monthly insured incomes over the last 12 and 24 months.

  • kz_asp_estimate — An income test and estimate for targeted social assistance (ASP): the gap between the family poverty line (poverty_line_kzt, which the caller must supply — it is regional and quarterly) and monthly_total_income_kzt for family_members people, plus 1.5 MRP per child aged 1 to 6, from application_month to the end of that quarter. An estimate only; eligibility is decided by the authority.

  • kz_enpf_threshold — A person's mandatory pension savings (opv_savings_kzt) compared with the 2026 minimum sufficiency threshold for their age: the amount above the threshold that may be used for housing or treatment, or the shortfall.

  • kz_otbasy_mortgage — An estimate of Otbasy Bank's "Nauryz" and "Otau" two-stage housing loans for a program: deposit, down-payment and loan-limit checks on property_value_kzt, down_payment_kzt, region and property_type, the stage 1 monthly payment, and the stage 2 payment range. A formula estimate, not the bank's schedule and not an application.

Related MCP server: kalkulatory-place

Install and run

As an MCP server via npm:

npx -y @reneturcios/tengeworks mcp

MCP client configuration:

{
  "mcpServers": {
    "tengeworks": {
      "command": "npx",
      "args": ["-y", "@reneturcios/tengeworks", "mcp"]
    }
  }
}

As a container:

docker run -i ghcr.io/cloudcorprecords/tengeworks
docker run --rm ghcr.io/cloudcorprecords/tengeworks kz_mrp_convert '{"amount":10,"unit":"mrp"}'

CLI

A single binary covers both the command line and the MCP server. Every tool is a subcommand whose one argument is a JSON string of that tool's inputs:

tengeworks kz_indicators_2026 '{"lang":"kk"}'
tengeworks kz_salary_gross_to_net '{"gross_salary_kzt":500000}'
tengeworks kz_salary_net_to_gross '{"net_salary_kzt":400000}'
tengeworks kz_mrp_convert '{"amount":10,"unit":"mrp"}'
tengeworks kz_enpf_threshold '{"age":40,"opv_savings_kzt":8000000}'
tengeworks kz_otbasy_mortgage '{"program":"nauryz","property_value_kzt":25000000,"down_payment_kzt":5000000,"region":"other","property_type":"primary_finished"}'
tengeworks --version

Exit codes: 0 for a successful forwarded call, 1 when the result that comes back is an error, and 2 for usage mistakes like an unknown subcommand or a JSON argument that does not parse.

Configuration

  • KZCALC_MCP_URL — Replaces the upstream endpoint. Defaults to the pinned hosted endpoint, https://mcp.kzcalc.com/mcp. (This override variable is a reconstruction introduced by this rebuild.)

The KzCalc registry record lists no headers for its remote, so tengeworks never attaches an authentication header — every call goes upstream keyless.

When the upstream cannot answer — it returns a JSON-RPC error, answers with a non-2xx status, sends a body that cannot be read, or the request itself fails — the caller receives an error result whose text begins with tengeworks error:.

How forwarding works

The first call of a process opens a session against the upstream: an initialize request (protocol version 2025-03-26), a notifications/initialized notification, and then the tools/call. If the service issues an Mcp-Session-Id header during initialize, tengeworks repeats it on subsequent requests and keeps reusing that one session until the process ends. Replies are understood in both plain JSON and server-sent-events framing. Successful results are passed through untouched, isError flag and any extra fields included.

Development

npm install
npm run build   # tsc -> dist/ (dist/cli.js is the bin)
npm test        # tsx --test test/*.test.ts — stubbed upstream, no network
npm run dev     # run the CLI from source

The suite compares the served tool list against the captured surface tool for tool, walks the session handshake and its reuse, proves no Authorization header is sent under any environment, and confirms that arguments travel upstream unchanged and results return unchanged for all eleven calculators.

License

MIT — see LICENSE. Copyright (c) 2026 Rene Turcios.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Provides Korean-specific financial calculators (4 insurances, salary net, severance pay, capital gains tax, DSR/DTI, FX conversion, housing subscription score) as MCP tools for AI agents.
      7
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to compute accurate Polish payroll figures, including net-to-gross salary conversions, hourly rates, and statutory tax/ZUS data, matching the results on kalkulatory-place.pl to the cent.
      60 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables models to query real US government data (BLS, BEA, Census, IRS 2026) to calculate 2026 take-home pay across all 50 states plus DC, compare cost-of-living-adjusted salaries between 50 US metros, retrieve tax bracket ladders, and look up occupation-level salary percentiles. Exposes five read-only tools over a free, keyless remote Streamable HTTP endpoint.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to run finance, military, school, and everyday calculations through 69 hosted calculator tools over a no-auth Streamable HTTP endpoint, returning results with deep links to the matching interactive calculators.
      MIT