Click on "Install 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., "@chuk-mcp-celestialWhen is the next full moon and what time does the sun rise in Seattle tomorrow?"
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.
chuk-mcp-celestial
Astronomical & Celestial Data MCP Server
An MCP (Model Context Protocol) server providing moon phases, sun/moon rise/set times, solar eclipse predictions, Earth's seasons, and planetary positions/events from the US Navy Astronomical Applications Department API and local Skyfield calculations.
This is a demonstration project provided as-is for learning and testing purposes.
π Try it now - Hosted version available! - No installation required.
Features
π Comprehensive Celestial Data:
Moon phases with exact timing (New Moon, First Quarter, Full Moon, Last Quarter)
Sun and moon rise/set/transit times for any location
Solar eclipse predictions with local circumstances
Earth's seasons (equinoxes, solstices, perihelion, aphelion)
Planetary positions (altitude, azimuth, distance, magnitude, constellation, RA/Dec, elongation, visibility)
Planetary events (rise, set, transit times)
β‘ Flexible Providers:
Navy API - Authoritative US Navy data, all features
Skyfield - 28x faster, offline calculations, research-grade accuracy
Hybrid mode - Mix providers per-tool (e.g., Skyfield for moon phases, Navy for eclipses)
S3 storage - Cloud-based ephemeris storage via chuk-virtual-fs
Artifact storage - Computation results persisted via chuk-artifacts (S3, filesystem, memory)
GeoJSON output - Location-based responses follow GeoJSON Feature spec
π Type-Safe & Robust:
Pydantic v2 models for all responses - no dictionary goop!
Enums for all constants - no magic strings!
Full async/await support with httpx
Comprehensive error handling
π Multi-Server Integration:
Combine celestial + time + weather for comprehensive astronomical intelligence
Answer complex questions like "Will the moon be visible tonight with current weather?"
β Quality Assured:
70%+ test coverage with pytest
GitHub Actions CI/CD
Automated releases to PyPI
Type checking with mypy
Code quality with ruff
Installation
Comparison of Installation Methods
Method | Setup Time | Requires Internet | Updates | Best For |
Hosted | Instant | Yes | Automatic | Quick testing, production use |
uvx | Instant | Yes (first run) | Automatic | No local install, always latest |
Local | 1-2 min | Only for install | Manual | Offline use, custom deployments |
Option 1: Use Hosted Version (Recommended)
No installation needed! Use our public hosted version:
Option 2: Install via uvx (No Installation Required)
Run directly without installing:
Option 3: Install Locally
Basic Installation (Navy API only):
With Skyfield Support (offline calculations, 28x faster):
Then configure in your MCP client:
Optional: Configure hybrid provider mode (create celestial.yaml):
Quick Start
Install
Claude Desktop Configuration
Or run locally:
Run
Supported Providers
Provider | Speed | Offline | Features |
Navy API (default) | ~700ms | No | Moon, sun/moon, eclipses, seasons. Official US government source. |
Skyfield | ~25ms | Yes | Moon phases, seasons, planet position, planet events. JPL ephemeris. |
Install Skyfield support:
Tools
Moon Phases (1 tool)
Tool | Description |
| Upcoming moon phases with exact timing (UT1) |
Sun & Moon (1 tool)
Tool | Description |
| Rise/set/transit times, twilight, moon phase, illumination for a location |
Solar Eclipses (2 tools)
Tool | Description |
| Local eclipse circumstances (type, magnitude, obscuration, timing) |
| All solar eclipses in a year |
Earth Seasons (1 tool)
Tool | Description |
| Equinoxes, solstices, perihelion, aphelion for a year |
Planets (2 tools)
Tool | Description |
| Altitude, azimuth, distance, magnitude, constellation, RA/Dec, elongation, visibility |
| Rise, set, and transit times for a planet on a given date |
Supported: Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto
Environment Variables
Variable | Required | Default | Description |
| No |
| Default provider |
| No | default | Provider for moon phases |
| No | default | Provider for Earth seasons |
| No |
| Provider for planet position |
| No |
| Provider for planet events |
| No | β | Path to celestial.yaml |
| No |
| Ephemeris storage: |
| No |
| S3 bucket for ephemeris |
| No |
| Request timeout (seconds) |
Hybrid Provider Mode
Create celestial.yaml to mix providers per-tool:
Development
Deployment
Hosted Version
No installation required:
Docker
Fly.io
Cross-Server Workflows
chuk-mcp-celestial integrates with the broader chuk MCP ecosystem:
Celestial + Time β Timezone-aware astronomy (sunrise in local time, time until next event)
Celestial + Weather β Observation planning (moon phase + cloud cover forecast)
Celestial + Tides β Coastal photography (golden hour + tide level)
Celestial + Weather β Eclipse viewing (eclipse visibility + weather forecast)
License
Apache License 2.0 - See LICENSE for details.
Credits
Built on chuk-mcp-server
Data provided by US Navy Astronomical Applications Department