
tengeworks
io.github.CloudCorpRecords/tengeworks
Kazakhstan 2026 calculators: salary, tax, benefits, fines, pension and mortgage estimates.
Documentation
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 optionallangpicks 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 targetnet_salary_kzt, with the same withholding and contribution breakdown and the same options.kz_mrp_convert— Anamountconverted between MRP and tenge at the 2026 MRP value, in the direction named byunit(mrporkzt). 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 onsemiannual_income_kztplus the mandatory monthly OPV, OPVR, SO and VOSMS payments onmonthly_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 afterdelivery_date, an informational working-day deadline, full and discounted amounts, and remaining days. Name the fine with aviolation_idfrom the catalog or acustom_mrp_multiple, not both.kz_teacher_salary— A state-school teacher's monthly salary under Government Decree No. 1193: position salary byeducation_level,experience_idandcategory_idat a givenweekly_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 numberchild_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) andmonthly_total_income_kztforfamily_memberspeople, plus 1.5 MRP per child aged 1 to 6, fromapplication_monthto 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 theirage: 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 aprogram: deposit, down-payment and loan-limit checks onproperty_value_kzt,down_payment_kzt,regionandproperty_type, the stage 1 monthly payment, and the stage 2 payment range. A formula estimate, not the bank's schedule and not an application.
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.
@reneturcios/tengeworksnpm install @reneturcios/tengeworksghcr.io/cloudcorprecords/tengeworks:0.1.0docker pull ghcr.io/cloudcorprecords/tengeworks:0.1.0:undefinedRelated Servers
io.github.CloudCorpRecords/a11yscan
WCAG accessibility audits for URLs and HTML: scans, stored reports and the full rule list.
io.github.CloudCorpRecords/abandoncheck
Judge whether a dependency is maintained, from factual signals: releases, commits, archival.
io.github.CloudCorpRecords/actionbridge
Zapier exposed actions as MCP tools via a generic action runner.