Skip to main content
Glama

Kitbench

Server Details

Exact Japanese text & date tools: char count, business days with JP holidays, era, tax, units.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL

TDQS

Score is being calculated.

Available Tools

7 tools
add_daysAdd or Subtract Days
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
daysYesHow many days to move.
langNoLanguage of the user. Use "ja" when the user writes in Japanese (affects the source link and notes). Default "en".
unitNo"calendar" (default), "business" (Japan: skip weekends and national holidays) or "weekdays" (skip weekends only).
directionNoDefault "after".
start_dateYesDate in YYYY-MM-DD (1873-01-01 to 2200-12-31)
calculate_ageAge Calculator
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
langNoLanguage of the user. Use "ja" when the user writes in Japanese (affects the source link and notes). Default "en".
birth_dateYesDate in YYYY-MM-DD (1873-01-01 to 2200-12-31)
reference_dateNoDate in YYYY-MM-DD (1873-01-01 to 2200-12-31)
consumption_taxJapanese Consumption Tax Calculator
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
rateNoTax rate in percent. Default 10. 8 for the reduced rate (food, newspapers).
amountYesAmount in yen (whole number, up to 13 digits).
roundingNoHow to round fractions of a yen in the tax. Default "floor" (most common in Japan).
amount_typeNoIs amount tax-excluded (default; adds tax) or tax-included (extracts tax)?
convert_japanese_eraJapanese Era (Wareki) Converter
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
dayNo
eraNo明治/大正/昭和/平成/令和 or Meiji/Taisho/Showa/Heisei/Reiwa (use with year, month, day).
dateNoDate in YYYY-MM-DD (1873-01-01 to 2200-12-31)
yearNoYear in the era (1 or "元" for the first year).
monthNo
warekiNoJapanese era date to convert to Western, e.g. "令和元年5月1日", "平成31年4月30日", "S64.1.7".
convert_unitsUnit Converter (incl. Japanese units)
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesUnit id to convert to (same category).
fromYesUnit id to convert from.
langNoLanguage of the user. Use "ja" when the user writes in Japanese (affects the source link and notes). Default "en".
valueYesNumber to convert. Strings may use "," as thousands separator or fractions like "5 1/4".
categoryNoOptional; inferred from the units.
significant_digitsNoSignificant digits of result_formatted. Default 6.
count_charactersCharacter Counter (Japanese-aware)
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
textYesThe text to count (max 200,000 characters).
limitNoOptional character limit; the result then shows how many characters remain or are over.
days_betweenDays Between Two Dates
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
langNoLanguage of the user. Use "ja" when the user writes in Japanese (affects the source link and notes). Default "en".
end_dateYesDate in YYYY-MM-DD (1873-01-01 to 2200-12-31)
start_dateYesDate in YYYY-MM-DD (1873-01-01 to 2200-12-31)
include_start_dayNoCount the start day too (e.g. 2026-01-01 to 2026-01-01 = 1 day). Default false.

Tool Schema Changelog

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

  1. 7 tool updates
    • First observedadd_days
    • First observedcalculate_age
    • First observedconsumption_tax
    • First observedconvert_japanese_era
    • First observedconvert_units
    • First observedcount_characters
    • First observeddays_between

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables Japanese business calendar operations such as holiday checking, business day calculations, payment date calculation, fiscal year determination, and deadline tracking, all locally without external API.
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Provides Japanese business day calculations: add or subtract business days, count between dates, check whether a date is a business day, and reverse-calculate deadlines. Handles national holidays and year-end periods fully offline with no API keys required.
    4
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Provides accurate Japanese business day utilities including holiday checks, settlement day calculations, and fiscal period determination, all with embedded holiday data from 2020-2030.
    7
    59 npm
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources