
Exact Japanese text & date tools: char count, business days with JP holidays, era, tax, units.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Find the date N days (or N business days) after or before a date, with its weekday and Japanese era date (wareki). unit "business" skips Saturdays, Sundays and Japanese national holidays; "weekdays" skips only weekends. Good for deadlines in Japan. N from 0 to 100,000.
How many days to move.
Date in YYYY-MM-DD (1873-01-01 to 2200-12-31)
Language of the user. Use "ja" when the user writes in Japanese (affects the source link and notes). Default "en".
"calendar" (default), "business" (Japan: skip weekends and national holidays) or "weekdays" (skip weekends only).
Default "after".
Find the date N days (or N business days) after or before a date, with its weekday and Japanese era date (wareki). unit "business" skips Saturdays, Sundays and Japanese national holidays; "weekdays" skips only weekends. Good for deadlines in Japan. N from 0 to 100,000.
| Argument | Type | Description |
|---|---|---|
| days* | integer | How many days to move. |
| lang | string | Language of the user. Use "ja" when the user writes in Japanese (affects the source link and notes). Default "en". |
| unit | string | "calendar" (default), "business" (Japan: skip weekends and national holidays) or "weekdays" (skip weekends only). |
| direction | string | Default "after". |
| start_date* | string | Date in YYYY-MM-DD (1873-01-01 to 2200-12-31) |
{
"type": "object",
"required": [
"start_date",
"days"
],
"properties": {
"days": {
"type": "integer",
"maximum": 100000,
"minimum": 0,
"description": "How many days to move."
},
"lang": {
"enum": [
"ja",
"en"
],
"type": "string",
"description": "Language of the user. Use \"ja\" when the user writes in Japanese (affects the source link and notes). Default \"en\"."
},
"unit": {
"enum": [
"calendar",
"business",
"weekdays"
],
"type": "string",
"description": "\"calendar\" (default), \"business\" (Japan: skip weekends and national holidays) or \"weekdays\" (skip weekends only)."
},
"direction": {
"enum": [
"after",
"before"
],
"type": "string",
"description": "Default \"after\"."
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date in YYYY-MM-DD (1873-01-01 to 2200-12-31)"
}
},
"additionalProperties": false
}Calculate exact age from a birth date: age in years, years/months/days, Japanese kazoedoshi (traditional age), days since birth, next birthday and days until it, weekday of birth, Japanese era (wareki) of the birth date and the zodiac animal (eto). February 29 birthdays move to March 1 in non-leap years. Reference date defaults to today in Japan.
| Argument | Type | Description |
|---|---|---|
| lang | string | Language of the user. Use "ja" when the user writes in Japanese (affects the source link and notes). Default "en". |
| birth_date* | string | Date in YYYY-MM-DD (1873-01-01 to 2200-12-31) |
| reference_date | string | Date in YYYY-MM-DD (1873-01-01 to 2200-12-31) |
{
"type": "object",
"required": [
"birth_date"
],
"properties": {
"lang": {
"enum": [
"ja",
"en"
],
"type": "string",
"description": "Language of the user. Use \"ja\" when the user writes in Japanese (affects the source link and notes). Default \"en\"."
},
"birth_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date in YYYY-MM-DD (1873-01-01 to 2200-12-31)"
},
"reference_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date in YYYY-MM-DD (1873-01-01 to 2200-12-31)"
}
},
"additionalProperties": false
}Calculate Japanese consumption tax with exact integer arithmetic: tax-excluded to tax-included or tax-included to tax-excluded, at 10% (standard), 8% (reduced) or any rate from 0 to 100 with up to 2 decimals, rounding down (floor, default), half up (round) or up (ceil). Returns the tax amount, both prices and the formula. Amounts are whole yen up to 13 digits.
| Argument | Type | Description |
|---|---|---|
| rate | number | string | Tax rate in percent. Default 10. 8 for the reduced rate (food, newspapers). |
| amount* | integer | string | Amount in yen (whole number, up to 13 digits). |
| rounding | string | How to round fractions of a yen in the tax. Default "floor" (most common in Japan). |
| amount_type | string | Is amount tax-excluded (default; adds tax) or tax-included (extracts tax)? |
{
"type": "object",
"required": [
"amount"
],
"properties": {
"rate": {
"type": [
"number",
"string"
],
"description": "Tax rate in percent. Default 10. 8 for the reduced rate (food, newspapers)."
},
"amount": {
"type": [
"integer",
"string"
],
"description": "Amount in yen (whole number, up to 13 digits)."
},
"rounding": {
"enum": [
"floor",
"round",
"ceil"
],
"type": "string",
"description": "How to round fractions of a yen in the tax. Default \"floor\" (most common in Japan)."
},
"amount_type": {
"enum": [
"excluding_tax",
"including_tax"
],
"type": "string",
"description": "Is amount tax-excluded (default; adds tax) or tax-included (extracts tax)?"
}
},
"additionalProperties": false
}Convert between Western (Gregorian) dates and Japanese era dates (wareki: Meiji, Taisho, Showa, Heisei, Reiwa), using exact era start dates and "gannen" (元年) for year 1. Give either date (YYYY-MM-DD), or wareki such as "令和元年5月1日" / "R1.5.1", or era + year + month + day. Rejects dates that do not exist in that era (e.g. Heisei 31-05-01). Range 1873-01-01 to 2200-12-31.
| Argument | Type | Description |
|---|---|---|
| day | integer | |
| era | string | 明治/大正/昭和/平成/令和 or Meiji/Taisho/Showa/Heisei/Reiwa (use with year, month, day). |
| date | string | Date in YYYY-MM-DD (1873-01-01 to 2200-12-31) |
| year | integer | string | Year in the era (1 or "元" for the first year). |
| month | integer | |
| wareki | string | Japanese era date to convert to Western, e.g. "令和元年5月1日", "平成31年4月30日", "S64.1.7". |
{
"type": "object",
"properties": {
"day": {
"type": "integer",
"maximum": 31,
"minimum": 1
},
"era": {
"type": "string",
"description": "明治/大正/昭和/平成/令和 or Meiji/Taisho/Showa/Heisei/Reiwa (use with year, month, day)."
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date in YYYY-MM-DD (1873-01-01 to 2200-12-31)"
},
"year": {
"type": [
"integer",
"string"
],
"description": "Year in the era (1 or \"元\" for the first year)."
},
"month": {
"type": "integer",
"maximum": 12,
"minimum": 1
},
"wareki": {
"type": "string",
"description": "Japanese era date to convert to Western, e.g. \"令和元年5月1日\", \"平成31年4月30日\", \"S64.1.7\"."
}
},
"additionalProperties": false
}Convert units with official exact factors (NIST etc.), including Japanese units (tsubo, jo/tatami, shaku, sun, go, Japanese cups and spoons), temperature and fuel economy. Returns the exact result, a rounded display value, the factor, and extras such as feet-and-inches, inch fractions (1/16) and pounds-and-ounces. Unit ids by category - length: mm, cm, m, km, in, ft, yd, mi, nmi, shaku, sun; mass: mg, g, kg, t, oz, lb, st, ons, kwintal; temp: c, f, k; volume: ml, l, m3, tsp, tbsp, floz, cup, pt, qt, gal, flozuk, galuk, cupjp, tbspjp, tspjp, go; area: cm2, m2, ha, km2, sqin, sqft, sqyd, ac, sqmi, tsubo, jo, donum; speed: mps, kmh, mph, kn, fps; fuel: kml, l100, mpg, mpguk; pressure: pa, kpa, mpa, bar, psi, atm, mmhg; energy: j, kj, cal, kcal, wh, kwh, btu; power: w, kw, hp, ps; data: b, kb, mb, gb, tb, kib, mib, gib, tib.
| Argument | Type | Description |
|---|---|---|
| to* | string | Unit id to convert to (same category). |
| from* | string | Unit id to convert from. |
| lang | string | Language of the user. Use "ja" when the user writes in Japanese (affects the source link and notes). Default "en". |
| value* | number | string | Number to convert. Strings may use "," as thousands separator or fractions like "5 1/4". |
| category | string | Optional; inferred from the units. |
Count characters in a text exactly as KitBench's character counter does. Counts user-perceived characters (grapheme clusters: emoji sequences, combining marks and flags count as 1), plus counts excluding newlines and whitespace, half-width characters counted as 0.5, lines, paragraphs, Japanese manuscript paper (genkō yōshi, 20x20) sheets, UTF-8 bytes, English words, and a breakdown into hiragana, katakana, kanji, Latin letters, digits and other. Strong for Japanese text and character limits. Text up to 200,000 characters.
| Argument | Type | Description |
|---|---|---|
| text* | string | The text to count (max 200,000 characters). |
| limit | integer | Optional character limit; the result then shows how many characters remain or are over. |
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "The text to count (max 200,000 characters)."
},
"limit": {
"type": "integer",
"minimum": 1,
"description": "Optional character limit; the result then shows how many characters remain or are over."
}
},
"additionalProperties": false
}Count the days between two dates: total days (optionally including the start day), weeks and days, years/months/days, Japanese business days (excluding weekends and Japanese national holidays from the Cabinet Office list) and weekdays (Mon-Fri). Exact calendar arithmetic, no time zones. Dates 1873-01-01 to 2200-12-31.
| Argument | Type | Description |
|---|---|---|
| lang | string | Language of the user. Use "ja" when the user writes in Japanese (affects the source link and notes). Default "en". |
| end_date* | string | Date in YYYY-MM-DD (1873-01-01 to 2200-12-31) |
| start_date* | string | Date in YYYY-MM-DD (1873-01-01 to 2200-12-31) |
| include_start_day | boolean | Count the start day too (e.g. 2026-01-01 to 2026-01-01 = 1 day). Default false. |
{
"type": "object",
"required": [
"start_date",
"end_date"
],
"properties": {
"lang": {
"enum": [
"ja",
"en"
],
"type": "string",
"description": "Language of the user. Use \"ja\" when the user writes in Japanese (affects the source link and notes). Default \"en\"."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date in YYYY-MM-DD (1873-01-01 to 2200-12-31)"
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date in YYYY-MM-DD (1873-01-01 to 2200-12-31)"
},
"include_start_day": {
"type": "boolean",
"description": "Count the start day too (e.g. 2026-01-01 to 2026-01-01 = 1 day). Default false."
}
},
"additionalProperties": false
}| significant_digits |
| integer |
| Significant digits of result_formatted. Default 6. |
{
"type": "object",
"required": [
"value",
"from",
"to"
],
"properties": {
"to": {
"enum": [
"mm",
"cm",
"m",
"km",
"in",
"ft",
"yd",
"mi",
"nmi",
"shaku",
"sun",
"mg",
"g",
"kg",
"t",
"oz",
"lb",
"st",
"ons",
"kwintal",
"c",
"f",
"k",
"ml",
"l",
"m3",
"tsp",
"tbsp",
"floz",
"cup",
"pt",
"qt",
"gal",
"flozuk",
"galuk",
"cupjp",
"tbspjp",
"tspjp",
"go",
"cm2",
"m2",
"ha",
"km2",
"sqin",
"sqft",
"sqyd",
"ac",
"sqmi",
"tsubo",
"jo",
"donum",
"mps",
"kmh",
"mph",
"kn",
"fps",
"kml",
"l100",
"mpg",
"mpguk",
"pa",
"kpa",
"mpa",
"bar",
"psi",
"atm",
"mmhg",
"j",
"kj",
"cal",
"kcal",
"wh",
"kwh",
"btu",
"w",
"kw",
"hp",
"ps",
"b",
"kb",
"mb",
"gb",
"tb",
"kib",
"mib",
"gib",
"tib"
],
"type": "string",
"description": "Unit id to convert to (same category)."
},
"from": {
"enum": [
"mm",
"cm",
"m",
"km",
"in",
"ft",
"yd",
"mi",
"nmi",
"shaku",
"sun",
"mg",
"g",
"kg",
"t",
"oz",
"lb",
"st",
"ons",
"kwintal",
"c",
"f",
"k",
"ml",
"l",
"m3",
"tsp",
"tbsp",
"floz",
"cup",
"pt",
"qt",
"gal",
"flozuk",
"galuk",
"cupjp",
"tbspjp",
"tspjp",
"go",
"cm2",
"m2",
"ha",
"km2",
"sqin",
"sqft",
"sqyd",
"ac",
"sqmi",
"tsubo",
"jo",
"donum",
"mps",
"kmh",
"mph",
"kn",
"fps",
"kml",
"l100",
"mpg",
"mpguk",
"pa",
"kpa",
"mpa",
"bar",
"psi",
"atm",
"mmhg",
"j",
"kj",
"cal",
"kcal",
"wh",
"kwh",
"btu",
"w",
"kw",
"hp",
"ps",
"b",
"kb",
"mb",
"gb",
"tb",
"kib",
"mib",
"gib",
"tib"
],
"type": "string",
"description": "Unit id to convert from."
},
"lang": {
"enum": [
"ja",
"en"
],
"type": "string",
"description": "Language of the user. Use \"ja\" when the user writes in Japanese (affects the source link and notes). Default \"en\"."
},
"value": {
"type": [
"number",
"string"
],
"description": "Number to convert. Strings may use \",\" as thousands separator or fractions like \"5 1/4\"."
},
"category": {
"enum": [
"length",
"mass",
"temp",
"volume",
"area",
"speed",
"fuel",
"pressure",
"energy",
"power",
"data"
],
"type": "string",
"description": "Optional; inferred from the units."
},
"significant_digits": {
"type": "integer",
"maximum": 15,
"minimum": 1,
"description": "Significant digits of result_formatted. Default 6."
}
},
"additionalProperties": false
}