Japan Calendar
Japanese national holidays, business days and wareki (era) dates, exact not guessed. No API key.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin check_date
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"jp-calendar": {
"url": "https://jp-calendar-mcp.nichika2000823.workers.dev/mcp"
}
}
}Remote-Endpunkte
https://jp-calendar-mcp.nichika2000823.workers.dev/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (6)
🟢check_date(date, year_end_break)
Tell whether a date is a Japanese national holiday, a weekend, or a business day, with the holiday name (Japanese and English) and the wareki date.
Eingabe-Schema
{
"type": "object",
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date to check, YYYY-MM-DD"
},
"year_end_break": {
"type": "boolean",
"description": "Also treat Dec 31 - Jan 3 as non-business days (common for banks and most Japanese companies). Default false."
}
},
"required": [
"date"
],
"additionalProperties": false
}🟢list_holidays(from, to)
List Japanese national holidays (including substitute holidays) between two dates, up to 5 years.
Eingabe-Schema
{
"type": "object",
"properties": {
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First date, YYYY-MM-DD"
},
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last date, YYYY-MM-DD"
}
},
"required": [
"from",
"to"
],
"additionalProperties": false
}🟢add_business_days(date, days, year_end_break)
Move forward (or backward with a negative number) by N business days in Japan, skipping weekends and national holidays. Use for due dates such as "within 5 business days".
Eingabe-Schema
{
"type": "object",
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Start date, YYYY-MM-DD (not counted)"
},
"days": {
"type": "integer",
"minimum": -2000,
"maximum": 2000,
"description": "Business days to add; negative goes back"
},
"year_end_break": {
"type": "boolean",
"description": "Also treat Dec 31 - Jan 3 as non-business days (common for banks and most Japanese companies). Default false."
}
},
"required": [
"date",
"days"
],
"additionalProperties": false
}🟢count_business_days(from, to, include_start, year_end_break)
Count business days in Japan between two dates (both ends included unless include_start is false).
Eingabe-Schema
{
"type": "object",
"properties": {
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First date, YYYY-MM-DD"
},
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last date, YYYY-MM-DD"
},
"include_start": {
"type": "boolean",
"description": "Count the first date too. Default true."
},
"year_end_break": {
"type": "boolean",
"description": "Also treat Dec 31 - Jan 3 as non-business days (common for banks and most Japanese companies). Default false."
}
},
"required": [
"from",
"to"
],
"additionalProperties": false
}🟢to_wareki(date)
Convert a Gregorian date to a Japanese era date (wareki), e.g. 2019-05-01 -> 令和元年5月1日 (R1.5.1). Supports dates from 1873-01-01.
Eingabe-Schema
{
"type": "object",
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Gregorian date, YYYY-MM-DD"
}
},
"required": [
"date"
],
"additionalProperties": false
}🟢from_wareki(text)
Convert a Japanese era date to a Gregorian date. Accepts 令和8年11月18日, 令和元年5月1日, 平成三十一年四月三十日, R8.11.18, H31/4/30, Reiwa 8.11.18. Rejects dates that did not exist in that era (e.g. 平成31年5月1日).
Eingabe-Schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"maxLength": 40,
"description": "Japanese era date text"
}
},
"required": [
"text"
],
"additionalProperties": false
}Community
Nachweis