PlugRail Japanese Calendar logo

PlugRail Japanese Calendar

Calculates Japanese holidays and business days from Cabinet Office data through four MCP tools.

Install PlugRail Japanese Calendar

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://jp-calendar.plugrail.dev/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Claude Code command
claude mcp add --transport http plugrail-japanese-calendar https://jp-calendar.plugrail.dev/mcp

Run in your terminal, then run /mcp in Claude Code to sign in if the server asks.

Overview

PlugRail Japanese Calendar provides MCP tools for checking Japanese holidays, listing holiday dates, adding business days, and counting business days between dates. The hosted endpoint is available at https://jp-calendar.plugrail.dev/mcp, with holiday data backed by Cloudflare D1 and cached through Cloudflare KV. Business-day calculations exclude weekends and Japanese holidays, with an optional banking calendar that also excludes December 31 through January 3. Use it for scheduling, payment deadlines, and other date calculations tied to Japan’s official holiday calendar.

Use cases

  • Check whether a Japanese calendar date is a holiday
  • List national holidays for a year or date range
  • Calculate payment or delivery dates in business days
  • Count working days between two dates
  • Apply banking calendar exclusions to date calculations

Key features

  • Japanese holiday checks based on Cabinet Office data
  • Year and date-range holiday listings
  • Forward and backward business-day arithmetic
  • Configurable date-range boundary inclusion
  • Optional banking calendar with year-end exclusions
  • Hosted MCP endpoint with Cloudflare-backed storage

Tools4

What PlugRail Japanese Calendar lets your agent do. Expand a tool for its parameters.

Verified live~699 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

26/26 checks healthy over the last 111d

What it can do

From the 4 tools this server returned when we ran it.

Makes changes · 1Read-only tools · 3
Tool definitions changed on 2026-11-11. Review them if you approved this server earlier.

Observed 2026-11-27 in an isolated sandbox. A description of reach, not a security audit.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit13d agoMost recent push to the default branch.
Tools exposed4Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How PlugRail Japanese Calendar works

What PlugRail Japanese Calendar does

PlugRail Japanese Calendar exposes Japanese holiday and business-day calculations through MCP. Its holiday data is adapted from the Japan Cabinet Office’s National Holidays page. The tools cover both direct holiday checks and date-range calculations, so an MCP client can answer questions such as whether a date is a holiday, which holidays fall within a period, or how many working days separate two dates.

The server is intended for workflows that depend on Japan-specific calendars. It excludes Saturdays, Sundays, and Japanese national holidays from ordinary business-day calculations. A banking calendar option additionally excludes December 31 through January 3.

How it works

The hosted MCP endpoint is https://jp-calendar.plugrail.dev/mcp. In the hosted deployment, a jp-calendar Worker accesses holiday data stored in Cloudflare D1 and uses Cloudflare KV for cached data. An MCP client sends structured tool calls and receives the resulting holiday or date calculation.

add_business_days counts from the day after the supplied date when moving forward. Negative values count backward from the preceding day, and the starting date is not included. business_days_between uses an exclusive from and inclusive to boundary by default. Its include_from and include_to options change those boundaries. Reversed dates produce a signed result rather than an error, using the corresponding reversed boundary settings.

Dates must use the YYYY-MM-DD format and represent real calendar dates. For list_holidays, a numeric year can be supplied, or a from and to range can be used; these two query styles cannot be combined.

Setup and configuration

For hosted use, configure an MCP client with the endpoint https://jp-calendar.plugrail.dev/mcp.

Self-hosting uses the packages/servers/jp-calendar/ package and Cloudflare resources:

  1. Copy wrangler.example.jsonc to wrangler.jsonc.
  2. Fill in the Cloudflare resource IDs.
  3. Create the D1 database and KV namespace referenced by the configuration.
  4. Deploy with pnpm --filter @plugrail/jp-calendar deploy.

The self-hosted deployment operates independently. Authentication, rate limiting, and usage metering belong to the hosted service and are not part of the self-hosted deployment.

Tools and capabilities

  • is_holiday: Checks whether a date is a Japanese national holiday or holiday based on Cabinet Office data.
  • list_holidays: Returns holidays for a numeric year or for an inclusive-looking date range specified by from and to.
  • add_business_days: Moves forward or backward by a requested number of business days, excluding weekends and Japanese holidays.
  • business_days_between: Counts business days between two dates with configurable endpoint inclusion and signed results for reversed ranges.
  • calendar="banking": Applies the additional December 31 through January 3 bank-holiday exclusion to the two business-day calculation tools.

Limitations and notes

The service is not an official Japanese government service, and its information is not guaranteed or endorsed by the National Tax Agency, Digital Agency, or other government bodies. Holiday data is based on the Cabinet Office National Holidays source.

list_holidays accepts either a numeric year or a from/to range, not both. Date strings such as 2026/01/01 and 20260101 are invalid. A days value of zero in add_business_days does not perform a movement; its skipped information can be used to determine the relevant business-day status.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about PlugRail Japanese Calendar

PlugRail Japanese Calendar is an MCP server that connects AI clients to Japanese holiday data adapted from the Cabinet Office National Holidays page. Its main tools determine whether a date is a holiday, list holidays, add business days, and count business days between dates, with an optional banking calendar.

Connect an MCP client to https://jp-calendar.plugrail.dev/mcp. The hosted endpoint exposes the holiday and business-day tools without requiring a self-hosted deployment.

It excludes Saturdays, Sundays, and Japanese holidays from ordinary calculations. Selecting calendar="banking" also excludes December 31 through January 3; forward calculations start on the day after the supplied date.

Yes, you can self-host it with Cloudflare D1 and KV. Copy the example Wrangler configuration, add the required Cloudflare resource IDs, create the referenced resources, and deploy the jp-calendar package with pnpm.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPlugRail Japanese Calendar AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/plugrail-japanese-calendar?style=directory)](https://allmcps.com/mcp/plugrail-japanese-calendar)
HTML Embed
<a href="https://allmcps.com/mcp/plugrail-japanese-calendar"><img src="https://allmcps.com/api/badge/plugrail-japanese-calendar?style=directory" alt="PlugRail Japanese Calendar on AllMCPs" /></a>