# Japan Business Days

> Deterministic Japanese business day and holiday calculator with Wareki era support for 2025-2027.

Japan Business Days is a free AI agent skill on Agensi by Miu. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Miu](https://www.agensi.io/creators/miu)
- Version: 1.0
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/japan-business-days
- Tags: japan, business-days, holidays, wareki, scheduling, calendar

## About this skill

Agents frequently hallucinate Japanese holiday logic, failing to account for Substitute Holidays that cascade past other holidays or the Citizens' Holiday "sandwich" rule. This skill provides a deterministic Python engine for precise date arithmetic according to Japan's Act on National Holidays.

### What it does
- **Holiday identification** confirms if a date is a national holiday, including complex shifts like Golden Week 2026.
- **Business day arithmetic** adds or subtracts workdays while automatically skipping weekends and public holidays.
- **Wareki conversion** transforms Gregorian dates into the Japanese era format, such as Reiwa 8.
- **Interval calculation** counts the exact number of business days between two specific dates for project planning.
- **Fiscal year detection** identifies the correct Japanese fiscal year, which begins on April 1.

### How it works
1. **Validation** checks if the requested year is within the supported 2025 to 2027 range.
2. **Command execution** runs the local Python script using specific modes like `is-business-day`, `add`, or `between`.
3. **Logic processing** applies the "Happy Monday" system and calculates equinox dates based on official Cabinet Office announcements.
4. **JSON output** returns structured data for easy integration into scheduling or reporting workflows.

### Frameworks & tools
The skill uses a standalone Python 3.9+ script relying exclusively on the standard library. It requires no external dependencies and operates entirely offline.

### Why this beats prompting it yourself
LLMs struggle with the logic of Substitute Holidays that move to the next available non-holiday weekday. This script replaces probabilistic guessing with a verified, deterministic implementation of Japanese law for 2025 through 2027.

### Use cases
- Calculate exact shipping or delivery windows for Japanese customers during Golden Week.
- Set payment deadlines that avoid banking holidays and weekends in Japan.
- Generate Japanese fiscal year reports and official era (wareki) dates for documentation.
- Build project schedules that account for Silver Week "sandwich" holidays.

### Known limitations
Supports years 2025 through 2027 only. Does not include company-specific closures or regional festivals. Requires a Python 3.9+ environment to execute the scripts.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Japan Business Days skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Why should I use this skill instead of just asking an AI to calculate Japanese holidays?

Large Language Models often struggle with Japan's complex 'Substitute Holiday' cascading logic. This skill solves the issue by replacing AI guessing with a deterministic Python engine that follows the actual Act on National Holidays.

### What specific years are covered by the holiday logic?

The skill supports the years 2025, 2026, and 2027. It includes precise calculations for the 'Happy Monday' system, equinox shifts, and the 'Citizens' Holiday' sandwich rules specific to these years.

### Is this skill compatible with my specific AI agent or platform?

This skill is a standalone Python 3.9+ tool designed to be called by any AI agent or automation framework capable of executing local scripts. It returns structured JSON, making it easy to integrate into scheduling or reporting workflows.

### What is included in the purchase?

You will receive the core Python engine, documentation on the supported execution modes (like 'add' or 'between'), and the pre-configured logic for Japanese fiscal years and Wareki era conversions.

### Does the skill require any external APIs or internet connectivity to function?

No, the skill relies exclusively on the Python standard library and operates entirely offline. This ensures your scheduling data remains private and calculations are performed instantly without API latency.

### Does this account for company-specific closures or regional festivals in Japan?

The logic handles all national public holidays and the standard Monday-Friday work week. It does not account for company-specific 'Obon' closures, year-end private bank holidays, or local regional festivals.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
