How to Generate Lunar Calendars at Scale with OpenClaw
Generate lunar calendar data at scale with OpenClaw and ToolRouter.
ToolNight SkyOpenClaw generates lunar calendar data for multiple locations and date ranges simultaneously, making it suitable for publishing platforms producing monthly astronomy content, gardening app backends serving diverse geographic regions, and agricultural planning services needing lunar data at scale.
Connect ToolRouter to OpenClaw
1Install the CLI
npm install -g toolrouter-mcp2Call tools directly from OpenClaw
toolrouter-mcp call web-search search --query "AI tools"
toolrouter-mcp toolsSteps
Once connected (see setup above), use the Night Sky tool:
- Run: "Get moon phase and sun/moon times for London, Edinburgh, Cardiff, and Belfast for May using night-sky"
- OpenClaw returns a complete dataset for all locations
- Load into your content or data systems for localised calendar production
- Schedule monthly runs on the 25th to pre-generate data for the following month
Example Prompt
Try this with OpenClaw using the Night Sky tool
Get moon phase and sunrise/sunset data for five UK cities for the next three months. Return as JSON with date, location, phase name, illumination, and twilight times.
Tips
- Pre-generate three months of data to eliminate latency in user-facing calendar features
- Use location-specific sunset times rather than a single national time for accurate regional content
- Store historical moon phase data to power anniversary and "this day in lunar history" features