
Calendar Mcp
cn.pianam.mcpPublished by mcp.pianam.cnOfficial publisherv1.0.0Updated Oct 24, 2026
China holidays and lunar calendar lookup, solar-to-lunar conversion and yearly schedule.
The publisher's own server: China 12306 Train Tickets MCP
Overview
Remote MCP server for China's statutory holidays, makeup workdays and solar-to-lunar calendar conversion, with zodiac and ganzhi details.
- What you can do
- Look up a single solar date for its weekday, holiday name, day type (holiday off-day, makeup workday, normal workday or weekend) and lunar date
- Convert a solar date to the lunar calendar, returning lunar year, month and day, leap-month flag, Chinese date string, zodiac animal and ganzhi
- List all statutory holidays for a year, including off-day counts, date ranges, exact off dates and makeup-workday dates
- When to use it
- Useful when an assistant needs to answer questions about Chinese public holidays, adjusted working weekends or lunar dates, for example planning around National Day or converting a birthday to the lunar calendar. The bundled data covers 2025 and 2026 only.
- Requirements
- A remote Streamable HTTP endpoint; no installation, account or API key is needed. The README also offers self-hosting with Python, FastMCP and the sxtwl library (with a lunardate fallback), configurable via MCP_HOST, MCP_PORT and MCP_ALLOWED_HOSTS.
Installation
In SourceWeft
- Open Calendar Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/cn.pianam.mcp%2Fcalendar-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config.
{
"mcpServers": {
"calendar": {
"type": "http",
"url": "https://mcp.pianam.cn/calendar-mcp/mcp"
}
}
}README
China Calendar & Lunar MCP
Chinese calendar tools for AI agents: statutory public holidays & makeup-workday schedules (2025–2026, per the State Council of China) plus accurate solar-to-lunar calendar conversion (lunar date, zodiac animal, ganzhi / heavenly-stems-earthly-branches).
- Try it in 30 seconds: a free public MCP endpoint is already running — just paste the URL into your MCP client (no install, no API key).
- Or self-host: a small FastMCP server; holiday data is bundled locally, lunar conversion uses the
sxtwlephemeris library (pure-Pythonlunardatefallback supported).
⚡ Use the hosted endpoint (no setup)
Transport: Streamable HTTP (MCP 2025-03-26 compatible). No authentication required.
🔌 Client configuration
Add this to your MCP client's mcpServers configuration (Claude Desktop claude_desktop_config.json, Cursor mcp.json, Cline, Cherry Studio, etc.):
Clients that do not accept
"type": "http"accept the same entry with just"url".
🧰 Tools
| Tool | Parameters | Returns | |
---|---|---|
| query_holiday(date) | date: solar date YYYY-MM-DD, e.g. "2026-10-01". | Weekday, holiday name (if any), day type — public holiday off-day / makeup workday / normal workday / weekend — plus the lunar date for that day. |
| solar_to_lunar(year, month, day) | year/month/day: solar date integers. | Lunar year/month/day, leap-month flag, lunar date string (Chinese), zodiac animal, and year/month/day ganzhi (干支). |
| list_holidays(year) | year: integer year, e.g. 2026. | All statutory holidays of the year: name, off-day count, date ranges, exact off dates and makeup-workday dates. |
Examples
- "2026-10-01 是节假日吗?" → National Day holiday, with lunar date attached.
- "2026-02-17 农历是多少?" → lunar date, zodiac, ganzhi.
- "列出 2026 年全部法定节假日和调休安排" → full year schedule.
📡 Data
- Holidays: official holiday-arrangement notices issued by the General Office of the State Council of China (国务院办公厅). Bundled locally for 2025 and 2026; extend
HOLIDAY_DATAto add more years. - Lunar conversion:
sxtwl(ShouWang calendar ephemeris, C extension). Ifsxtwlis unavailable the server automatically falls back to the pure-Pythonlunardatelibrary (install it separately). - No external HTTP API and no API key is required.
🐢 Self-hosting
Then point your MCP client at http://127.0.0.1:8000/mcp.
You can also run the server with uv:
🗂️ Files
calendar_server.py— the MCP server: holiday data, lunar conversion, FastMCP tool definitions.server.py— standalone Streamable HTTP entry point (binds host/port, serves the MCP app at/mcp).requirements.txt— Python dependencies.LICENSE— MIT.
🇨🇳 中文说明
中国万年历 MCP:法定节假日 / 调休安排查询(2025–2026,依据国务院办公厅通知)与公历转农历(农历年月日、闰月、生肖、干支)。
在线直连(免费、无需 Key):https://mcp.pianam.cn/calendar-mcp/mcp
工具:
query_holiday(date):查询某公历日期的节假日 / 调休安排,附带农历信息。solar_to_lunar(year, month, day):公历转农历,返回农历日期、闰月、生肖、干支。list_holidays(year):列出某年全部法定节假日放假与调休上班日期。
节假日数据内置本地(2025、2026,可逐年扩展);农历转换使用 sxtwl 历库,缺失时自动降级到纯 Python 的 lunardate;全程无需外部 API 与密钥。
📄 License
MIT © 2026 boy-373 (刘扶阳)
Source: README.md at commit 381f446
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declaredRequired10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Pianam integrations

China 12306 Train Tickets MCP
cn.pianam.mcpOfficial publisher
A read-only MCP server that lets an assistant look up China Railway 12306 train schedules and remaining seat availability by Chinese station name and date.

Weather Forecast MCP
cn.pianam.mcpOfficial publisher
Remote MCP server that lets an assistant look up current weather and up to 7-day forecasts for cities worldwide, with Chinese city names and Chinese output.

Stock Mcp
cn.pianam.mcpOfficial publisher
A remote MCP server that gives an assistant real-time China A-share stock quotes and the three major market indices, with dual-source fallback.
MCP Aggregation Gateway — 22k+ MCP search & call
cn.pianam.mcpOfficial publisher
A remote MCP gateway that lets an assistant search a catalog of 22k+ MCP servers and call 50+ hosted tools without an API key.

IP Location MCP
cn.pianam.mcpOfficial publisher
A remote MCP server that looks up IPv4 geolocation — country, region, city, coordinates, timezone, ISP and ASN — with Chinese-language output.