mcp-chrono
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-chrono Convert 9 AM tomorrow in New York to Shanghai time and tell me the lunar date."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-chrono
MCP server providing time, calendar, timezone, Chinese lunar calendar, almanac, and date utilities for AI agents.
Quick Start
Using npx (no installation needed)
npx mcp-chronoGlobal install
npm install -g mcp-chrono
mcp-chronoRelated MCP server: China Festival MCP Server
Usage with MCP Clients
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"chrono": {
"command": "npx",
"args": ["-y", "mcp-chrono"]
}
}
}Claude Code
claude mcp add chrono -- npx -y mcp-chronoOr with a custom data directory:
claude mcp add chrono -- npx -y mcp-chrono --data-dir /path/to/dataCursor
Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"chrono": {
"command": "npx",
"args": ["-y", "mcp-chrono"]
}
}
}Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"chrono": {
"command": "npx",
"args": ["-y", "mcp-chrono"]
}
}
}Generic MCP client (mcp.json)
Any MCP-compatible client can use the standard mcp.json format:
{
"mcpServers": {
"chrono": {
"command": "npx",
"args": ["-y", "mcp-chrono"],
"transportType": "stdio"
}
}
}With custom data directory:
{
"mcpServers": {
"chrono": {
"command": "npx",
"args": ["-y", "mcp-chrono", "--data-dir", "/path/to/data"],
"transportType": "stdio"
}
}
}Data Directory
Holiday API responses are cached locally to avoid repeated network requests. Default location: ~/.mcp-chrono/
Override with --data-dir:
npx mcp-chrono --data-dir /tmp/mcp-chrono-dataTools
Time & Timezone
get_current_time
Get current time in any IANA timezone with detailed components (timestamp, weekday, week of year, day of year, UTC offset, etc.)
Parameter | Type | Required | Default | Description |
| string | No |
| IANA timezone (e.g. |
| string | No |
| Output format: |
convert_timezone
Convert a datetime between two IANA timezones.
Parameter | Type | Required | Description |
| string | Yes | ISO 8601 datetime (e.g. |
| string | Yes | Source IANA timezone |
| string | Yes | Target IANA timezone |
list_timezones
Search IANA timezones with current offsets and Chinese city names.
Parameter | Type | Required | Description |
| string | No | Search by timezone name, city, or Chinese name |
| string | No | Filter by continent (e.g. |
parse_timestamp
Parse Unix timestamps (seconds/milliseconds) or ISO 8601 strings into date components.
Parameter | Type | Required | Default | Description |
| string | number | Yes | - | Unix timestamp (seconds or milliseconds) or ISO 8601 string |
| string | No |
| IANA timezone for output |
Date Calculation
calculate_time
Add/subtract time from a date. Returns a new date after applying the offset.
Three modes: gregorian (standard date arithmetic), lunar (Chinese calendar arithmetic), anchor (offset from a named festival like 春节 or Thanksgiving).
Parameter | Type | Required | Default | Description |
| string | No |
| Calculation mode: |
| string | No | now | Base date in ISO format. Defaults to current time if omitted |
| string | No |
| IANA timezone for the base date |
| integer | No | - | Years to add (negative to subtract) |
| integer | No | - | Months to add (negative to subtract) |
| integer | No | - | Days to add (negative to subtract) |
| integer | No | - | Hours to add (negative to subtract) |
| integer | No | - | Minutes to add (negative to subtract) |
| string | No | - | Festival name for |
| integer | No | - | Year to resolve festival date for |
date_diff
Calculate the difference between two dates in years, months, days, hours, minutes, and total counts.
Parameter | Type | Required | Default | Description |
| string | Yes | - | Start date in ISO 8601 format |
| string | Yes | - | End date in ISO 8601 format |
| string | No |
| IANA timezone for parsing dates |
countdown
Countdown from now to a target date with remaining days/hours/minutes/seconds.
Parameter | Type | Required | Default | Description |
| string | Yes | - | Target date/time in ISO 8601 format |
| string | No |
| IANA timezone for the target date |
calculate_business_days
Count or add business days, skipping weekends and optionally public holidays (supports CN makeup workdays).
Parameter | Type | Required | Default | Description |
| string | Yes | - |
|
| string | Yes | - | Start date in |
| string | No | - | End date in |
| integer | No | - | Number of business days to add (required for |
| string | No | - | Country code for public holidays (e.g. |
| string | No |
| IANA timezone |
Calendar & Festivals
convert_calendar
Convert between Gregorian and Chinese Lunar calendar. Returns Ganzhi (干支), zodiac, solar terms, festivals, constellation.
Parameter | Type | Required | Default | Description |
| string | Yes | - |
|
| integer | Yes | - | Year |
| integer | Yes | - | Month (1–12) |
| integer | Yes | - | Day (1–31) |
| boolean | No |
| For |
get_festivals
List festivals, solar terms, and public holidays within a date range. Filterable by type.
Parameter | Type | Required | Default | Description |
| string | Yes | - | Start date in |
| string | Yes | - | End date in |
| string | No |
| Country code for public holidays (e.g. |
| string[] | No | - | Filter by type: |
get_month_info
Month details: day count, first/last weekday, leap year, quarter, week count.
Parameter | Type | Required | Description |
| integer | Yes | Year (e.g. 2024) |
| integer | Yes | Month (1–12) |
Chinese Almanac
get_almanac
Chinese almanac (黄历) for a date: 宜/忌 activities, lucky directions (喜神/财神/福神), conflict zodiac, 彭祖百忌, 吉神宜趋, 凶煞宜忌, 天神, 纳音, and more.
Parameter | Type | Required | Default | Description |
| string | No | today | Date in |
Persistent Countdowns
manage_countdown
CRUD for persistent countdown timers, stored as JSON on disk.
Parameter | Type | Required | Default | Description |
| string | Yes | - |
|
| string | No | - | Countdown ID (required for |
| string | No | - | Name/description (required for |
| string | No | - | Target date in ISO 8601 format (required for |
| string | No |
| IANA timezone |
Supported Regions
Region | Festivals | Public Holiday API |
CN | 27 festivals (lunar + solar) | timor.tech (includes makeup workdays) |
US | 10 federal holidays | |
HK | 17 public holidays (lunar, Easter, Ching Ming, fixed) |
License
MIT
Available Tools
13 toolscalculate_business_daysA
Calculate business days between two dates or add/subtract business days from a date. Skips weekends and optionally public holidays.
Inputs: action (required), from (required), to, business_days, +2 more.
calculate_timeB
Add or subtract time from a date. Supports Gregorian mode, Lunar mode, and anchor mode (calculate relative to a named festival).
Inputs: mode, base_date, timezone, years, +6 more.
convert_calendarA
Convert between Gregorian (solar) and Chinese Lunar calendar. Includes Ganzhi (天干地支), zodiac animal, solar terms, and festival information.
Inputs: direction (required), year (required), month (required), day (required), +1 more.
convert_timezoneB
Convert a datetime from one timezone to another. Input can be an ISO 8601 string.
Inputs: datetime (required), from_timezone (required), to_timezone (required).
countdownA
Calculate a countdown from now to a target date/time. Returns remaining days, hours, minutes, seconds and whether the date is in the past.
Inputs: target (required), timezone.
date_diffA
Calculate the difference between two dates/times. Returns the difference in years, months, days, hours, minutes and also total days/hours/minutes.
Inputs: start (required), end (required), timezone.
get_almanacA
Get Chinese almanac (黄历/老黄历) information for a specific date. Includes suitable activities (宜), things to avoid (忌), conflict zodiac (冲), lucky directions, and more.
Inputs: date.
get_current_timeA
Get the current time in a specified timezone. Returns detailed time information including year, month, day, hour, minute, second, weekday, week of year, day of year, and UTC offset.
Inputs: timezone, format.
get_festivalsA
Get festivals, solar terms, and public holidays within a date range. Supports Chinese (lunar and solar) festivals and public holidays from various countries.
Inputs: start_date (required), end_date (required), country, types.
get_month_infoA
Get detailed information about a specific month including number of days, first/last day weekday, whether it's a leap year, and quarter.
Inputs: year (required), month (required).
list_timezonesA
List IANA timezones with current offset and time. Uses the system's full IANA timezone database. Can filter by query text or continent.
Inputs: query, continent.
manage_countdownB
Manage persistent countdown timers. Supports CRUD operations: set (create), get (read one), list (read all), delete.
Inputs: action (required), id, name, target_date, +1 more.
parse_timestampB
Parse a Unix timestamp (seconds or milliseconds) or ISO 8601 string into detailed date/time components.
Inputs: input (required), timezone.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Each tool has a clearly distinct purpose with no significant overlap. For example, calculate_business_days focuses on business days, calculate_time on time arithmetic, convert_calendar on calendar conversion, and get_almanac on almanac data. The descriptions specify unique functionalities, making misselection unlikely.
All tool names follow a consistent verb_noun pattern using snake_case, such as calculate_business_days, convert_timezone, get_festivals, and manage_countdown. This predictability aids in understanding and usage without any deviations in style.
With 13 tools, the count is well-scoped for a time and calendar utility server. Each tool serves a specific function, such as date calculations, conversions, and information retrieval, without redundancy or excessive bloat, fitting the domain appropriately.
The tool set provides comprehensive coverage for time and calendar operations, including calculations (e.g., date_diff, calculate_business_days), conversions (e.g., convert_calendar, convert_timezone), information retrieval (e.g., get_current_time, get_festivals), and management (e.g., manage_countdown). No obvious gaps are present for the stated purpose.
Related MCP Connectors
Deterministic time tools for AI agents: timezone conversion, business-day math, cron interpretation.
Time and date math for AI agents: Unix timestamp conversion, DST-correct time zone conversion, durations, epoch arithmetic, cron schedules, and holiday countdowns. Eight tools, no key.
BaZi four pillars, Chinese zodiac, lunisolar calendar and almanac days for AI agents.
Current time, timezone conversion & date math for AI agents. On Cloudflare Workers.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides comprehensive date, time, timezone, and calendar operations powered by Luxon, enabling AI agents to perform time calculations, timezone conversions, and temporal data handling across 400+ IANA timezones.29 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides Chinese holiday information, lunar calendar conversion, traditional festivals, 24 solar terms, and BaZi (Eight Characters) calculations for AI assistants to accurately handle Chinese calendar queries and date conversions.3Apache 2.0
- AlicenseAqualityDmaintenanceProvides AI assistants with rich temporal intelligence including timezone conversions, 9 cultural calendars (Hebrew, Islamic, Chinese, etc.), astronomical events, Islamic prayer times, and context-aware activity appropriateness recommendations.333 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables Chinese traditional calendar functions including BaZi calculation, calendar conversion, Huangli query, daily fortune, solar terms, and Wu Xing analysis through natural language.1MIT