astronomy-mcp-server
Server Details
Offline observational astronomy: positions, rise/set, moon phases, eclipses, and seasons.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- cyanheads/astronomy-mcp-server
- GitHub Stars
- 5
- Server Listing
- astronomy-mcp-server
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 7 tools
Each tool targets a distinct capability: event search, Horizons ephemeris, moon phase, rise/set, satellite passes, single-object position, and visible-body listing. There is minor overlap around the Moon — its phase/illumination is reachable via astronomy_get_moon_phase, astronomy_get_sky_position, and astronomy_find_events (moon_quarter) — and get_sky_position vs list_visible brush against each other, but the detailed descriptions make the boundaries clear.
All seven tools follow the astronomy_<verb>_<noun> pattern (find_events, get_ephemeris, get_moon_phase, get_rise_set, get_satellite_passes, get_sky_position, list_visible). The verbs vary (get/find/list) but are semantically motivated and the overall convention is predictable.
Seven tools is well within the ideal 3-15 range and each maps to a distinct astronomy task with no filler. The surface is tightly scoped to observational astronomy needs.
The set covers events, ephemerides, moon phase, rise/set/twilight, satellite passes, positions, and visibility — a solid lifecycle for observational astronomy. Minor gaps: no geocoding/location helper (explicitly punted upstream), no explicit body-catalog lookup tool (served via a resource instead), and no direct coordinate-frame conversion utility.
Available Tools
7 toolsastronomy_find_eventsastronomy-mcp-server: find sky eventsARead-onlyIdempotentInspect
Search forward from a start time for the next occurrences of one sky-event class, selected by the event enum: solar_eclipse, lunar_eclipse, equinox, solstice, moon_quarter, opposition, conjunction, max_elongation, perigee_apogee, or meteor_shower. Both eclipse classes and meteor_shower take an optional observer (latitude and longitude together). solar_eclipse without one returns global eclipses — kind, peak time, obscuration, and for a total or annular eclipse the latitude/longitude where it is greatest; with one it returns only eclipses visible from that point, with local contact times, local_visible, and the Sun's altitude at each contact. lunar_eclipse returns geocentric contact times, the same instants everywhere on Earth; an observer adds local_visible and the Moon's altitude at each contact. meteor_shower returns the maxima of nine major annual showers from a table bundled from the IMO Meteor Shower Calendar — ZHR, J2000 radiant, activity dates, and the Moon's geocentric illuminated fraction at each; an observer adds the radiant's and the Sun's altitude at the maximum, which can fall in daylight. The maxima are the calendar's nominal ones, with no outburst predictions. shower narrows the search to one shower by IMO code or name. A shower counts when its maximum is at or after start, so one past its maximum but still active needs an earlier start. Every other class is geocentric and ignores a location. The body-relative events (opposition, conjunction, max_elongation, perigee_apogee) require a body: opposition applies to the superior planets (mars through pluto), conjunction to any planet, max_elongation to mercury and venus, and perigee_apogee to the moon (perigee/apogee), earth, or a planet (perihelion/aphelion). conjunction with body alone is that planet's conjunction with the Sun. Add body2 for a conjunction of two bodies — the Moon or a planet with another: the instant they share one ecliptic longitude seen from Earth's center, with their separation_degrees at that instant. That separation is not always their closest approach, since two planets can pass closer days or weeks away, and listings that time conjunctions by right ascension differ by hours, or by days for slow pairs. Returns the next count occurrences (default 1), up to 20 per call: a larger count, up to 200, returns the first 20 and a notice naming the exact start and count that continue the series. Searches stop at the end of 2100, the close of the supported span; when that leaves fewer than count, a notice says so. Start defaults to now; pass an IANA timezone for observer-local timestamps, eclipse contacts included.
Inputs: event (required), body, body2, count, +6 more. Returns: cap, error, shown, events, +3 more
astronomy_get_ephemerisastronomy-mcp-server: get small-body ephemerisARead-onlyIdempotentInspect
Fetch a time-series ephemeris for a small body (asteroid or comet) or spacecraft from JPL Horizons — RA/Dec, distance, apparent magnitude, the constellation, and the angle from the Sun with its morning or evening side over a span, optionally with observer-relative altitude/azimuth. RA/Dec are astrometric ICRF (J2000), the frame of modern star charts, so they differ from the apparent of-date values astronomy_get_sky_position returns by precession, nutation, and aberration — a gap that grows with distance from the year 2000. This covers objects the in-process major-body set cannot. The designation is passed to Horizons verbatim, so it must be in a form Horizons resolves to a single record: a numbered asteroid takes a trailing-semicolon record lookup (e.g. "433;" for Eros, "1;" for Ceres), and a periodic comet takes the DES + closest-apparition form (e.g. "DES=1P;CAP" for Halley). Spacecraft take their negative SPK-ID. Anything else goes through the Horizons name search: a bare name matching nothing (e.g. "433 Eros") or several records (e.g. "1P/Halley") is rejected, but one matching a single object succeeds even when that object is not the one meant — "Eros" resolves to Kerberos, a moon of Pluto — so compare target_name, the object Horizons resolved, with the one intended. A major-body name matching several bodies (e.g. "Mars") is rejected with the ID number of each body it matched — pass one, such as "499" for the planet. start and stop are ISO 8601 UTC dates in the Gregorian calendar, extended before 1582, in years 0100 through 9999; stop must not be before start, and a stop equal to start returns the single row at that instant. step is a count plus a unit of m, h, d, mo, or y, such as "1d", "1h", or "10m". Supplying observer latitude/longitude yields topocentric coordinates and adds alt/az — supply both or neither. This is a gated, network-backed extension (JPL Horizons is keyless but rate-limited and best-effort). Each page defaults to 200 rows. Set limit to choose the page size, up to 90000. When the span continues, the notice names the exact start for the next page and supplies the original stop if it was defaulted. Horizons includes the start instant, so using the notice avoids repeating a sample. Splitting the range into smaller adjacent spans works too; keep the same step either way so no sample is lost.
Inputs: designation (required), step, stop, limit, +4 more. Returns: cap, error, shown, notice, +5 more
astronomy_get_moon_phaseastronomy-mcp-server: get moon phaseARead-onlyIdempotentInspect
Report the Moon phase for an instant: illuminated fraction, phase name, synodic age in days since the new moon, phase longitude (the Moon–Sun ecliptic-longitude difference, 180° at full), and the next four quarter phases (new, first quarter, full, last quarter) with timestamps. Answers "what is the moon phase tonight" and "when is the next full moon" in one call without iteration. The time defaults to now; pass an IANA timezone to also receive observer-local timestamps. The phase is geocentric — no observer location is needed.
Inputs: time, timezone. Returns: error, age_days, time_utc, phase_name, +4 more
astronomy_get_rise_setastronomy-mcp-server: get rise/set timesARead-onlyIdempotentInspect
Compute rise, set, and culmination (transit) times and maximum transit altitude for a solar-system body or a named bright star at an observer location. Searches forward from start (default now) for count daily cycles (default 1), including days without crossings. For the Sun, each cycle carries civil −6°, nautical −12°, and astronomical −18° twilight: dusk after its set or culmination, then dawn before the next day begins. A crossing absent from that night is null. When the Sun is down and the first cycle's day begins after start, night_in_progress carries the preceding night, including polar nights without a sunset and times before start that have passed. A first cycle beginning after the culmination of a dark day instead carries that night itself, with rise, set, and transit null. When a body is already up, the partial first cycle has null rise and the imminent set; no set precedes its own rise. Circumpolar and never-rises cycles have null crossings and explanatory notes. At most 31 cycles are served per call; a count up to 366 returns the first 31 with a notice naming the exact start and count for the rest, or saying no continuation exists past 2100. A continuation may repeat the preceding night in night_in_progress, while cycles continue without overlap. Supply star (e.g. Sirius, Polaris) instead of body to target a catalog star; body is ignored when star is set. Default elevation is 0 m; pass an IANA timezone for local output. Resolve coordinates upstream; this server does not geocode.
Inputs: latitude (required), longitude (required), body, star, +5 more. Returns: cap, body, error, shown, +5 more
astronomy_get_satellite_passesastronomy-mcp-server: get satellite passesARead-onlyIdempotentInspect
Predict visible passes of a satellite (e.g. the ISS, NORAD 25544) over an observer in the next days. Identify the satellite by exactly one of norad_id or name — supplying both, or neither, is rejected. A few well-known common names resolve directly to their catalog numbers, ignoring case: ISS or International Space Station (25544), Hubble, Hubble Space Telescope, or HST (20580), and Tiangong, CSS, or Chinese Space Station (48274). Any other name is matched as a case-insensitive substring of CelesTrak's catalog names, so it resolves only when it picks out a single object: a broader query comes back with the matching objects and their catalog numbers to choose from. Either way the result echoes the query that resolved it as resolved_from_name. Fetches the object's current GP element set from CelesTrak, propagates it with SGP4 in-process, and returns each pass's rise, peak, and set times with azimuths and the peak elevation, plus the stretch of the pass visible to the naked eye: visible_start_utc through visible_end_utc, with the elevation and azimuth at each end. A pass is returned when that visible stretch — the satellite above the horizon and sunlit while the Sun is below −6° for the observer — reaches 10° elevation, wherever in the pass it falls. sunlit reports illumination at the peak instant, so it is false on a pass seen only before it enters Earth's shadow or after it leaves. Rise, set, and the visible-stretch edges are within 1 s of the true instants; the peak is the highest sample of a 30-second scan. Every returned pass rises in the requested window or in the 30 s before start: a pass up longer than that at start is omitted rather than reported with start as its rise, so back up start to see it, while a pass still up when the window ends is reported through its actual set. Searches at most 10 days per call: a larger days, up to 30, searches the first 10 and returns a notice naming the exact start and days that continue the search with no pass repeated or skipped, while that start stays within about a month of the element set's epoch. A start further than about a month from the element set's epoch is rejected as out of range on that distance alone, and an element set that will not propagate to a window inside that horizon is rejected as a reentry — so an empty passes means only that nothing was visible. CelesTrak publishes only current element sets, so in practice start must be within about a month of today. NORAD catalog numbers and catalog names are found at celestrak.org or heavens-above.com. This is a gated, network-backed extension (CelesTrak is keyless but rate-limited; element sets are cached briefly). Default elevation 0 m; pass an IANA timezone for observer-local pass times.
Inputs: latitude (required), longitude (required), days, name, +4 more. Returns: error, notice, passes, norad_id, +3 more
astronomy_get_sky_positionastronomy-mcp-server: get sky positionARead-onlyIdempotentInspect
Compute the apparent topocentric position of one solar-system body (sun, moon, mercury through neptune, pluto) or a named bright star for an observer location and instant. Returns equatorial (RA/Dec), refraction-corrected horizontal (altitude/azimuth), and ecliptic coordinates, plus distance, apparent magnitude, angular diameter, phase angle, illuminated fraction, angular distance from the Sun, and the constellation it falls in. For a solar-system body it also returns that body card — classification, mean radius, naked-eye visibility — the same values served at astronomy://body/{body}, so a client without resource support does not need a second surface to reach them; a catalog star has no card and the field is absent. Positions are parallax- and aberration-corrected for the given observer; default elevation is 0 m and the default time is now. Supply star (e.g. "Sirius", "Polaris") instead of body to target a catalog star; body is ignored when star is set. Pass an IANA timezone to also receive the observer-local time. This server does not geocode — resolve a place name to latitude/longitude upstream first.
Inputs: latitude (required), longitude (required), body, star, +3 more. Returns: body, error, ecliptic, time_utc, +10 more
astronomy_list_visibleastronomy-mcp-server: list visible bodiesARead-onlyIdempotentInspect
List naked-eye solar-system bodies and optional catalog stars for an observer location and instant. Returns altitude, azimuth, angular distance from the Sun, and a visibility note for each body meeting min_altitude. Above-horizon bodies rank first. Within each group, brighter bodies rank first, with higher altitude breaking ties. Notes flag horizon obstruction, daylight, civil twilight, or glare where applicable. The Sun’s altitude determines the returned sky condition. For tonight, use astronomy_get_rise_set on the Sun and pass an instant after astronomical dusk. Default elevation is 0 m. Resolve coordinates upstream and pass an IANA timezone for observer-local times.
Inputs: latitude (required), longitude (required), time, timezone, +3 more. Returns: error, bodies, total_count, sky_condition, +1 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Read-only astronomy calculations: sun, moon, planets, eclipses, twilight and star positions.
Elevation-corrected sun, moon, twilight, solar and tide data for any point on Earth
Birth charts, transits, moon phases and more from precise astronomical calculations. Natal Compass.
Moon phase, moonrise, full Moons, eclipses, Moon sign and distance for any place in the world.
Related MCP Servers
- AlicenseAqualityFmaintenanceProvides authoritative astronomical data including moon phases, solar eclipses, and sun/moon rise and set times using the US Navy API or offline Skyfield calculations. It enables users to query Earth's seasons and celestial events for any location and date.81Apache 2.0
- AlicenseNot gradedqualityCmaintenanceProvides solar eclipse predictions, local eclipse circumstances, Moon phases, and seasons from the US Naval Observatory's Astronomical Applications API.57 npm1MIT
- AlicenseAqualityBmaintenanceCalculate the altitude, rise, and set times of celestial objects (Sun, Moon, planets, stars, and deep-space objects) for any location on Earth.21MIT
- AlicenseBqualityBmaintenanceEnables users to determine a celestial object's magnetic compass bearing, altitude, and horizon visibility for a given location and time, including coordinate conversion and timed tracking samples.5MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.