PlugRail Japanese Calendar

Japanese holiday and business-day calculations using official Japan Cabinet Office data.

Should I use this

Quality & Safety

A
Description quality
73%
Schema completeness
98%
Naming quality
90%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (3)

  • LOWTool 'is_holiday' description lacks action verbin is_holiday
  • LOWTool 'list_holidays' description lacks action verbin list_holidays
  • LOWTool 'add_business_days' description lacks action verbin add_business_days

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,397Tokens (tool definitions)
~1.3 KBTypical response size
Moderate attention impact (1.09% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "jp-calendar": {
      "url": "https://jp-calendar.plugrail.dev/mcp"
    }
  }
}

Remote endpoints

https://jp-calendar.plugrail.dev/mcpstreamable-http

What it can do

Tool inventory

Tools (4)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
⚪is_holiday(date)

指定した日付が日本の祝日(国民の祝日・休日)かどうかを判定します。内閣府公表データに基づきます。入力例: {"date": "2026-01-01"}

Input Schema

{
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "description": "YYYY-MM-DD形式の日付。例: \"2026-01-01\""
    }
  },
  "required": [
    "date"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢list_holidays(year, from, to)

指定した年または期間の日本の祝日一覧を返します。入力例: {"year": 2026} または {"from": "2026-01-01", "to": "2026-06-30"}

Input Schema

{
  "type": "object",
  "properties": {
    "year": {
      "description": "西暦年。例: 2026。from/toとは併用不可。",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "from": {
      "description": "期間開始日 YYYY-MM-DD。例: \"2026-01-01\"。yearとは併用不可。",
      "type": "string"
    },
    "to": {
      "description": "期間終了日 YYYY-MM-DD。例: \"2026-06-30\"。yearとは併用不可。",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡add_business_days(date, days, calendar, extra_closed_dates)

指定した日付(date)の翌日から数えてN営業日目(days)の日付を返します。dateの当日は数えません。daysが負の場合は過去方向(dateの前日から遡ってN営業日目)に計算します。土日・日本の祝日を除外し、calendar="banking"を指定すると銀行休業日(12/31〜1/3)も除外します。dateが営業日かどうかだけ知りたい場合は is_holiday を使ってください(days=0でも同じ情報がskipped経由で得られます)。入力例: {"date": "2026-07-10", "days": 3}

Input Schema

{
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "description": "起点日 YYYY-MM-DD。例: \"2026-07-10\"。この日自体は数えません。"
    },
    "days": {
      "type": "number",
      "description": "何営業日先(正)/前(負)かを表す整数。0も指定可: dateをそのまま返し、dateが非営業日ならskippedに1件(date自身とその理由)を記録します。"
    },
    "calendar": {
      "description": "\"standard\"(既定)または\"banking\"(銀行休業日も除外)。",
      "type": "string"
    },
    "extra_closed_dates": {
      "description": "顧客固有の追加休業日(YYYY-MM-DD の配列)。例: [\"2026-12-29\", \"2026-12-30\"]",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "date",
    "days"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪business_days_between(from, to, calendar, extra_closed_dates, include_from, ...)

from〜to間の営業日数を数えます。既定では「fromを含まず、toを含む」境界です(例:「今日から支払期日まで何営業日か」)。include_from/include_toで境界を変更できます。土日・日本の祝日を除外し、calendar="banking"を指定すると銀行休業日(12/31〜1/3)も除外します。from > to の場合はエラーにせず、from/toとinclude_from/include_toを入れ替えて計算した結果の符号を反転した値(負の営業日数)を返します(反対称則: count(A,B,x,y) = -count(B,A,y,x)。A≠B、すなわちfrom≠toの場合に成立する恒等式で、from===toはこの分岐に入らないため対象外)。入力例: {"from": "2026-07-10", "to": "2026-07-20"}

Input Schema

{
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "description": "起点日 YYYY-MM-DD。例: \"2026-07-10\"。"
    },
    "to": {
      "type": "string",
      "description": "終点日 YYYY-MM-DD。例: \"2026-07-20\"。fromより前の日付も指定可(結果は負の営業日数になります)。"
    },
    "calendar": {
      "description": "\"standard\"(既定)または\"banking\"(銀行休業日も除外)。",
      "type": "string"
    },
    "extra_closed_dates": {
      "description": "顧客固有の追加休業日(YYYY-MM-DD の配列)。例: [\"2026-12-29\", \"2026-12-30\"]",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "include_from": {
      "description": "fromを営業日数に含めるか。既定はfalse。",
      "type": "boolean"
    },
    "include_to": {
      "description": "toを営業日数に含めるか。既定はtrue。",
      "type": "boolean"
    }
  },
  "required": [
    "from",
    "to"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded4 tools
verifiedversion not recorded4 tools
verifiedversion not recorded4 tools
verifiedversion not recorded4 tools
verifiedversion not recorded4 tools
verifiedversion not recorded4 tools