CJK Calendar Converter MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_ALLOWED_HOST | No | The server hostname. Should be set to the server hostname for browser clients. | |
| MCP_ALLOWED_ORIGINS | No | Comma-separated list of allowed origins for browser clients. Whitespace and empty entries are ignored. An empty origin list rejects requests with an Origin header; clients without one continue to work. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| convert_cjk_dateA | Convert a CJK (Chinese/Japanese/Korean/Vietnamese) historical date to Julian Day Number and equivalent dates in all concurrent calendars. Input examples: '崇禎三年四月初三', '康熙元年正月初一', '寛永七年四月初三', 'M45.7.30'. Returns JDN, Gregorian date, Julian date (pre-1582), ganzhi (干支), and all concurrent CJK era representations. Args: date: CJK date string, e.g. '崇禎三年四月初三' or 'M45.7.30' country: Optional country hint to disambiguate era names (chinese, japanese, korean, vietnamese) dynasty: Optional dynasty hint to disambiguate era names, e.g. '唐', '元', '北宋' emperor: Optional emperor hint to disambiguate era names, e.g. '肅宗', '順帝' |
| convert_jdnA | Convert a Julian Day Number to all calendar representations. Returns Gregorian, Julian, ganzhi (干支), and all concurrent CJK era dates. Args: jdn: Julian Day Number |
| convert_gregorian_dateA | Convert a Gregorian date (YYYY-MM-DD) to Julian Day Number and all concurrent CJK era dates. Args: date: Gregorian date in YYYY-MM-DD format |
| search_eraA | Search for era (年號) metadata by name, dynasty, or country. Returns era name, dynasty, emperor, date range, and JDN range. Args: name: Era name, e.g. '崇禎', '康熙', '寛永' dynasty: Dynasty name, e.g. '明', '清', '唐' country: Filter by country (chinese, japanese, korean, vietnamese) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: converting from a CJK date, from a Julian Day Number, from a Gregorian date, and searching era metadata. There is no overlap or ambiguity between them.
All tools follow a consistent verb_noun pattern: convert_cjk_date, convert_jdn, convert_gregorian_date, and search_era. The naming convention is uniform and predictable.
Four tools is an appropriate, minimal set for a calendar converter server. Each tool covers a necessary conversion direction or lookup, and none are redundant or missing.
The server covers all major conversion paths: from CJK, JDN, and Gregorian dates, plus era searching. It returns all relevant calendar representations (Gregorian, Julian, ganzhi, CJK eras), so the surface is complete for its domain.