Kitbench

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

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
98%
命名质量
94%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~2,890token 数(工具定义)
~2.3 KB典型响应大小
对注意力有显著影响(占 128k 上下文窗口的 2.26%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "kitbench": {
      "url": "https://kitbench.net/mcp"
    }
  }
}

远程端点

https://kitbench.net/mcpstreamable-http

它能做什么

工具清单

工具(7)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢count_characters(text, limit)

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.

输入模式

{
  "type": "object",
  "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."
    }
  },
  "required": [
    "text"
  ],
  "additionalProperties": false
}
🟢days_between(start_date, end_date, include_start_day, lang)

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.

输入模式

{
  "type": "object",
  "properties": {
    "start_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Date in YYYY-MM-DD (1873-01-01 to 2200-12-31)"
    },
    "end_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."
    },
    "lang": {
      "type": "string",
      "enum": [
        "ja",
        "en"
      ],
      "description": "Language of the user. Use \"ja\" when the user writes in Japanese (affects the source link and notes). Default \"en\"."
    }
  },
  "required": [
    "start_date",
    "end_date"
  ],
  "additionalProperties": false
}
🟢add_days(start_date, days, direction, unit, lang)

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.

输入模式

{
  "type": "object",
  "properties": {
    "start_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Date in YYYY-MM-DD (1873-01-01 to 2200-12-31)"
    },
    "days": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000,
      "description": "How many days to move."
    },
    "direction": {
      "type": "string",
      "enum": [
        "after",
        "before"
      ],
      "description": "Default \"after\"."
    },
    "unit": {
      "type": "string",
      "enum": [
        "calendar",
        "business",
        "weekdays"
      ],
      "description": "\"calendar\" (default), \"business\" (Japan: skip weekends and national holidays) or \"weekdays\" (skip weekends only)."
    },
    "lang": {
      "type": "string",
      "enum": [
        "ja",
        "en"
      ],
      "description": "Language of the user. Use \"ja\" when the user writes in Japanese (affects the source link and notes). Default \"en\"."
    }
  },
  "required": [
    "start_date",
    "days"
  ],
  "additionalProperties": false
}
🟢calculate_age(birth_date, reference_date, lang)

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.

输入模式

{
  "type": "object",
  "properties": {
    "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)"
    },
    "lang": {
      "type": "string",
      "enum": [
        "ja",
        "en"
      ],
      "description": "Language of the user. Use \"ja\" when the user writes in Japanese (affects the source link and notes). Default \"en\"."
    }
  },
  "required": [
    "birth_date"
  ],
  "additionalProperties": false
}
🟢convert_japanese_era(date, wareki, era, year, month, ...)

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.

输入模式

{
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Date in YYYY-MM-DD (1873-01-01 to 2200-12-31)"
    },
    "wareki": {
      "type": "string",
      "description": "Japanese era date to convert to Western, e.g. \"令和元年5月1日\", \"平成31年4月30日\", \"S64.1.7\"."
    },
    "era": {
      "type": "string",
      "description": "明治/大正/昭和/平成/令和 or Meiji/Taisho/Showa/Heisei/Reiwa (use with year, month, day)."
    },
    "year": {
      "type": [
        "integer",
        "string"
      ],
      "description": "Year in the era (1 or \"元\" for the first year)."
    },
    "month": {
      "type": "integer",
      "minimum": 1,
      "maximum": 12
    },
    "day": {
      "type": "integer",
      "minimum": 1,
      "maximum": 31
    }
  },
  "additionalProperties": false
}
🟢consumption_tax(amount, amount_type, rate, rounding)

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.

输入模式

{
  "type": "object",
  "properties": {
    "amount": {
      "type": [
        "integer",
        "string"
      ],
      "description": "Amount in yen (whole number, up to 13 digits)."
    },
    "amount_type": {
      "type": "string",
      "enum": [
        "excluding_tax",
        "including_tax"
      ],
      "description": "Is amount tax-excluded (default; adds tax) or tax-included (extracts tax)?"
    },
    "rate": {
      "type": [
        "number",
        "string"
      ],
      "description": "Tax rate in percent. Default 10. 8 for the reduced rate (food, newspapers)."
    },
    "rounding": {
      "type": "string",
      "enum": [
        "floor",
        "round",
        "ceil"
      ],
      "description": "How to round fractions of a yen in the tax. Default \"floor\" (most common in Japan)."
    }
  },
  "required": [
    "amount"
  ],
  "additionalProperties": false
}
🟢convert_units(value, from, to, category, significant_digits, ...)

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.

输入模式

{
  "type": "object",
  "properties": {
    "value": {
      "type": [
        "number",
        "string"
      ],
      "description": "Number to convert. Strings may use \",\" as thousands separator or fractions like \"5 1/4\"."
    },
    "from": {
      "type": "string",
      "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"
      ],
      "description": "Unit id to convert from."
    },
    "to": {
      "type": "string",
      "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"
      ],
      "description": "Unit id to convert to (same category)."
    },
    "category": {
      "type": "string",
      "enum": [
        "length",
        "mass",
        "temp",
        "volume",
        "area",
        "speed",
        "fuel",
        "pressure",
        "energy",
        "power",
        "data"
      ],
      "description": "Optional; inferred from the units."
    },
    "significant_digits": {
      "type": "integer",
      "minimum": 1,
      "maximum": 15,
      "description": "Significant digits of result_formatted. Default 6."
    },
    "lang": {
      "type": "string",
      "enum": [
        "ja",
        "en"
      ],
      "description": "Language of the user. Use \"ja\" when the user writes in Japanese (affects the source link and notes). Default \"en\"."
    }
  },
  "required": [
    "value",
    "from",
    "to"
  ],
  "additionalProperties": false
}

社区

评价此服务器

证据

最近观测

已验证未记录版本7 个工具