New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@icyn/date-mcp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@icyn/date-mcp

MCP server giving AI agents date context: lunar calendar, solar terms, holidays and workdays for 12 regions. Offline, no API key.

latest
Source
npmnpm
Version
0.1.5
Version published
Weekly downloads
759
Maintainers
1
Weekly downloads
 
Created
Source

@icyn/date-mcp

MCP server that gives AI agents date context — Chinese lunar calendar, 24 solar terms, holidays and workdays for 12 regions (+ US states, German Länder, UK nations). Offline. No API key.

Every answer says where it came from, down to the document:

sourcemeaning
officialfrom the government notice, cited by name (e.g. 国务院办公厅关于2026年部分节假日安排的通知)
predictedno notice published for that year yet — statutory days only, 调休 unknown
baselinefrom a holiday library, not yet verified against the government gazette
computedlunar dates, 干支, solar terms — from a table verified 1900–2100 against two independent references

Requirements

Node.js 18 or later, with npx on your PATH. The server itself has no other dependencies.

node -v    # must print v18 or higher

No Node yet? Install the LTS build from nodejs.org.

Use

Claude Desktop / Cursor / any MCP client:

{ "mcpServers": { "icyn-date": { "command": "npx", "args": ["-y", "@icyn/date-mcp"] } } }

In Claude Desktop: Settings → Developer → Edit Config. Then fully quit the app (not just close the window) and reopen it — it only reads the config and your PATH at startup.

Tools: date_context, is_workday, holidays, workdays, next_long_weekend, holiday_eve, lunar, next_lunar_date, solar_terms, regions_observing, regions.

Example — "2026 年 10 月 10 日要上班吗?" → is_workday {date:"2026-10-10", region:"CN"} →

2026-10-10 in CN: adjusted_workday (certain) [source: official — 国务院办公厅关于2026年部分节假日安排的通知(2025-11-04)]

Troubleshooting

The log is where the answer is. Claude Desktop writes one per server, mcp-server-icyn-date.log, in:

installlogs folder
macOS~/Library/Logs/Claude/
Windows, installer from claude.ai%APPDATA%\Claude\logs\
Windows, Microsoft Store (MSIX)%LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\logs\

The Store build virtualises AppData, so its config and logs are not at the usual %APPDATA%\Claude\ path — files you put there are invisible to it. Always open the config via Settings → Developer → Edit Config rather than by path. (If your install folder is C:\Program Files\WindowsApps\Claude_…, you have the Store build.)

spawn npx ENOENT / 'npx' is not recognized as an internal or external command — the client cannot find npx. Look at the PATH the log prints right above the error:

  • No Node.js directory in it at all (no nodejs, no npm) → Node is not installed. Install the LTS build, then fully quit and reopen the client.

  • Node is installed but not in that PATH — typical with nvm, nvm-windows, Volta, Scoop or Homebrew, because the client starts servers with a minimal environment. Put the absolute path in command:

    which npx          # macOS / Linux
    where.exe npx      # Windows (PowerShell)
    
    // macOS / Linux
    { "command": "/opt/homebrew/bin/npx", "args": ["-y", "@icyn/date-mcp"] }
    
    // Windows — note npx.cmd, and doubled backslashes inside JSON
    { "command": "C:\\Program Files\\nodejs\\npx.cmd", "args": ["-y", "@icyn/date-mcp"] }
    

Slow first start — npx -y downloads the package on first run (and again when its cache expires). For a faster, offline start install it once and point command at the installed binary:

npm i -g @icyn/date-mcp
which icyn-date-mcp        # or: where.exe icyn-date-mcp
{ "command": "<that absolute path>", "args": [] }

Library behind it: @icyn/date.

FAQs

Package last updated on 21 Sep 2026

Related posts