Nokosanzo

v0.1.2
io.github.c2nprds/nokosanzo Checked 1 day ago Published 6 days ago

Exact calculations on Japanese benefits, pensions, taxes and shipping.

An MCP server that lets AI apps call the calculations of Nokosanzo, a collection of small Japanese web tools that never store your data on a server. Instead of doing the math itself, the AI calls exact calculations based on Japanese rules and rate tables: unemployment benefits, childcare leave benefits, high-cost medical expense limits, gift tax, depreciation, parcel shipping rates and more. The tools cover Japanese systems, so their titles, descriptions and result messages are written in Japanese. Requires Node.js 22 or later. The command to start the server is:

Summary extracted from the README.

@nokosanzo/mcp

English | 日本語

An MCP server that lets AI apps call the calculations of Nokosanzo, a collection of small Japanese web tools that never store your data on a server. Instead of doing the math itself, the AI calls exact calculations based on Japanese rules and rate tables: unemployment benefits, childcare leave benefits, high-cost medical expense limits, gift tax, depreciation, parcel shipping rates and more.

  • Runs on your own machine (the AI app starts it as a child process and talks to it over stdio)
  • Sends your input nowhere. All calculations run locally with no network requests
  • The calculations come from @nokosanzo/core, the same code the site uses

The tools cover Japanese systems, so their titles, descriptions and result messages are written in Japanese.

Usage

Requires Node.js 22 or later. The command to start the server is:

npx -y @nokosanzo/mcp

Add it with a command (Claude Code)

claude mcp add nokosanzo -- npx -y @nokosanzo/mcp

Add it to a config file

Add the following to your AI app's MCP config file (.mcp.json for Claude Code, claude_desktop_config.json for Claude Desktop, .cursor/mcp.json for Cursor, and so on).

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

Tools

Each name matches the URL of the tool's page on the site (https://c2nprds.com/tools/<name>/).

Name What it calculates
unemployment-benefit Unemployment benefit (basic daily allowance and number of benefit days)
childcare-leave-benefit Childcare leave benefit, including postnatal paternity leave and the post-birth leave support benefit
family-care-leave-benefit Family care leave benefit, including split leave (93 days / 3 times in total) and reductions for wages paid during leave
sickness-allowance Sickness and injury allowance: daily amount, waiting period, remaining days of the 1 year 6 month total, and eligibility after leaving a job
maternity-allowance Maternity leave period and maternity allowance: leave start date, daily and total amounts, changes when birth differs from the due date, premium-exempt months, childcare leave start
high-cost-medical-expense High-cost medical expense limit, including household aggregation and the annual cap
working-pension-suspension Suspended amount of the old-age pension for people who keep working
pension-deferral-breakeven Break-even age for deferring the pension
gift-tax Gift tax, comparing the annual exclusion and settlement-at-inheritance taxation over several years
depreciation Depreciation
gross-from-net Gross salary from take-home pay
overtime-limit-check Overtime limits under an Article 36 agreement: monthly and annual limits, the special clause limits, and how many hours are left next month
labor-insurance-renewal Annual labor insurance renewal: final and estimated premiums, general contribution, refunds or shortfalls, installment amounts and due dates
average-wage Average wage, with leave allowance, dismissal notice allowance and the pay cut limit, including the minimum guarantee and excluded periods
parcel-compare Parcel size and rate comparison (Yamato TA-Q-BIN, Sagawa Hikyaku, Japan Post Yu-Pack)
postage-stamps Postage and stamp combinations
ad-claim-check Checker for wording banned under the Pharmaceutical and Medical Device Act and the Act against Unjustifiable Premiums and Misleading Representations

Result format

Every tool returns JSON (structuredContent) in the following shape.

Field Contents
result The calculation result (shape differs per tool)
period The period during which the tables and rates used are valid
sources Sources of the tables and rates (name, URL, date checked)
warnings Notes to keep in mind when using the result

If you pass a date outside the period a table covers, or input that cannot be calculated, the tool returns an error (isError: true) with the reason instead of a wrong amount.

Notes

  • Results are estimates. Confirm eligibility, tax amounts and other final decisions with the relevant office (Hello Work, pension office, tax office and so on)
  • Rates and tables change every fiscal year. When a release updates them, the version number goes up

License

MIT