@cyanheads/astronomy-mcp-server 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/AGENTS.md +17 -16
  2. package/CLAUDE.md +17 -16
  3. package/Dockerfile +91 -36
  4. package/README.md +69 -94
  5. package/changelog/0.4.x/0.4.1.md +27 -0
  6. package/changelog/0.4.x/0.4.2.md +37 -0
  7. package/dist/mcp-server/prompts/definitions/stargazing-plan.prompt.js +1 -1
  8. package/dist/mcp-server/prompts/definitions/stargazing-plan.prompt.js.map +1 -1
  9. package/dist/mcp-server/resources/definitions/body.resource.d.ts.map +1 -1
  10. package/dist/mcp-server/resources/definitions/body.resource.js +1 -3
  11. package/dist/mcp-server/resources/definitions/body.resource.js.map +1 -1
  12. package/dist/mcp-server/tools/definitions/find-events.tool.d.ts +31 -4
  13. package/dist/mcp-server/tools/definitions/find-events.tool.d.ts.map +1 -1
  14. package/dist/mcp-server/tools/definitions/find-events.tool.js +99 -25
  15. package/dist/mcp-server/tools/definitions/find-events.tool.js.map +1 -1
  16. package/dist/mcp-server/tools/definitions/get-ephemeris.tool.d.ts +29 -7
  17. package/dist/mcp-server/tools/definitions/get-ephemeris.tool.d.ts.map +1 -1
  18. package/dist/mcp-server/tools/definitions/get-ephemeris.tool.js +219 -49
  19. package/dist/mcp-server/tools/definitions/get-ephemeris.tool.js.map +1 -1
  20. package/dist/mcp-server/tools/definitions/get-moon-phase.tool.d.ts.map +1 -1
  21. package/dist/mcp-server/tools/definitions/get-moon-phase.tool.js +1 -0
  22. package/dist/mcp-server/tools/definitions/get-moon-phase.tool.js.map +1 -1
  23. package/dist/mcp-server/tools/definitions/get-rise-set.tool.d.ts +49 -2
  24. package/dist/mcp-server/tools/definitions/get-rise-set.tool.d.ts.map +1 -1
  25. package/dist/mcp-server/tools/definitions/get-rise-set.tool.js +85 -43
  26. package/dist/mcp-server/tools/definitions/get-rise-set.tool.js.map +1 -1
  27. package/dist/mcp-server/tools/definitions/get-satellite-passes.tool.d.ts +28 -4
  28. package/dist/mcp-server/tools/definitions/get-satellite-passes.tool.d.ts.map +1 -1
  29. package/dist/mcp-server/tools/definitions/get-satellite-passes.tool.js +97 -23
  30. package/dist/mcp-server/tools/definitions/get-satellite-passes.tool.js.map +1 -1
  31. package/dist/mcp-server/tools/definitions/get-sky-position.tool.d.ts.map +1 -1
  32. package/dist/mcp-server/tools/definitions/get-sky-position.tool.js +2 -1
  33. package/dist/mcp-server/tools/definitions/get-sky-position.tool.js.map +1 -1
  34. package/dist/mcp-server/tools/definitions/list-visible.tool.d.ts.map +1 -1
  35. package/dist/mcp-server/tools/definitions/list-visible.tool.js +1 -0
  36. package/dist/mcp-server/tools/definitions/list-visible.tool.js.map +1 -1
  37. package/dist/services/ephemeris/ephemeris-service.d.ts +78 -15
  38. package/dist/services/ephemeris/ephemeris-service.d.ts.map +1 -1
  39. package/dist/services/ephemeris/ephemeris-service.js +374 -98
  40. package/dist/services/ephemeris/ephemeris-service.js.map +1 -1
  41. package/dist/services/ephemeris/iso-time.d.ts +2 -2
  42. package/dist/services/ephemeris/iso-time.js +5 -5
  43. package/dist/services/ephemeris/types.d.ts +42 -1
  44. package/dist/services/ephemeris/types.d.ts.map +1 -1
  45. package/dist/services/ephemeris/types.js +16 -0
  46. package/dist/services/ephemeris/types.js.map +1 -1
  47. package/dist/services/horizons/horizons-service.d.ts +25 -3
  48. package/dist/services/horizons/horizons-service.d.ts.map +1 -1
  49. package/dist/services/horizons/horizons-service.js +154 -15
  50. package/dist/services/horizons/horizons-service.js.map +1 -1
  51. package/dist/services/horizons/types.d.ts +8 -4
  52. package/dist/services/horizons/types.d.ts.map +1 -1
  53. package/dist/services/satellite/satellite-service.d.ts +48 -10
  54. package/dist/services/satellite/satellite-service.d.ts.map +1 -1
  55. package/dist/services/satellite/satellite-service.js +215 -102
  56. package/dist/services/satellite/satellite-service.js.map +1 -1
  57. package/dist/services/satellite/types.d.ts +36 -2
  58. package/dist/services/satellite/types.d.ts.map +1 -1
  59. package/dist/services/satellite/types.js.map +1 -1
  60. package/package.json +12 -11
  61. package/server.json +10 -24
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  <div align="center">
9
9
 
10
- [![Version](https://img.shields.io/badge/Version-0.4.0-blue.svg?style=flat-square)](./CHANGELOG.md) [![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat-square)](./LICENSE) [![Docker](https://img.shields.io/badge/Docker-ghcr.io-2496ED?style=flat-square&logo=docker&logoColor=white)](https://github.com/users/cyanheads/packages/container/package/astronomy-mcp-server) [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-^2.0.0-green.svg?style=flat-square)](https://modelcontextprotocol.io/) [![npm](https://img.shields.io/npm/v/@cyanheads/astronomy-mcp-server?style=flat-square&logo=npm&logoColor=white)](https://www.npmjs.com/package/@cyanheads/astronomy-mcp-server) [![TypeScript](https://img.shields.io/badge/TypeScript-^7.0.2-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-v1.4.0-blueviolet.svg?style=flat-square)](https://bun.sh/)
10
+ [![Version](https://img.shields.io/badge/Version-0.4.2-blue.svg?style=flat-square)](./CHANGELOG.md) [![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat-square)](./LICENSE) [![Docker](https://img.shields.io/badge/Docker-ghcr.io-2496ED?style=flat-square&logo=docker&logoColor=white)](https://github.com/users/cyanheads/packages/container/package/astronomy-mcp-server) [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-^2.3.1-green.svg?style=flat-square)](https://modelcontextprotocol.io/) [![npm](https://img.shields.io/npm/v/@cyanheads/astronomy-mcp-server?style=flat-square&logo=npm&logoColor=white)](https://www.npmjs.com/package/@cyanheads/astronomy-mcp-server) [![TypeScript](https://img.shields.io/badge/TypeScript-^7.0.2-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-v1.4.3-blueviolet.svg?style=flat-square)](https://bun.sh/)
11
11
 
12
12
  </div>
13
13
 
@@ -29,33 +29,33 @@
29
29
 
30
30
  ## Overview
31
31
 
32
- Observational astronomy computed in-process from [`astronomy-engine`](https://github.com/cosinekitty/astronomy) — sky positions, rise/set and twilight times, moon phases, and eclipse/conjunction/opposition events for any place and time, plus two optional network-backed extensions for small-body ephemerides and satellite passes. List what's visible right now, plan a dark-sky window, or search forward for the next sky event — deterministic and keyless for the five core tools, given the same body, time, and observer. Runs as a stdio process, a local Streamable HTTP server, or the public hosted endpoint above.
32
+ Observational astronomy computed in-process by [`astronomy-engine`](https://github.com/cosinekitty/astronomy) and a bundled bright-star catalog. Get sky positions, rise/set and twilight times, moon phases, and the next eclipse, equinox, opposition, or conjunction for any place and time, or ask what is visible right now. Two opt-in, network-backed tools add JPL Horizons small-body ephemerides and CelesTrak satellite passes. Runs as a stdio process, a local Streamable HTTP server, or the public hosted endpoint above.
33
33
 
34
34
  ### Tools
35
35
 
36
36
  | Tool | Description |
37
37
  |:---|:---|
38
- | `astronomy_get_sky_position` | Apparent position of one body or named star for an observer and instant — equatorial (RA/Dec), horizontal (alt/az), ecliptic, plus distance, magnitude, angular diameter, phase, angular distance from the Sun, and constellation. |
39
- | `astronomy_get_rise_set` | Rise, set, and culmination times for a body at a location, with maximum altitude at transit. For the Sun, also the three twilight pairs (civil/nautical/astronomical). |
40
- | `astronomy_get_moon_phase` | Moon phase for an instant: illuminated fraction, phase name, synodic age, phase longitude, and the next four quarter phases with timestamps. |
41
- | `astronomy_find_events` | Forward search for the next occurrences of one sky-event class: eclipses, equinoxes, solstices, moon quarters, oppositions, conjunctions, greatest elongations, and apsides. |
42
- | `astronomy_list_visible` | The one-call "what's up right now" answer: every naked-eye body (and optional bright stars) above the horizon, ranked, annotated, and gated by the Sun's altitude into daylight/twilight/dark. |
43
- | `astronomy_get_ephemeris` | *(gated extension)* Time-series ephemeris for a small body (asteroid/comet) or spacecraft via JPL Horizons — covers what the in-process major-body set cannot. Off by default. |
44
- | `astronomy_get_satellite_passes` | *(gated extension)* Visible passes of a satellite (by NORAD catalog number, or by a name resolved against the catalog) over an observer, from a CelesTrak GP element set propagated with SGP4 in-process. Off by default. |
38
+ | `astronomy_get_sky_position` | Apparent position of one body or named star: RA/Dec, alt/az, ecliptic, magnitude, phase, Sun elongation, constellation |
39
+ | `astronomy_get_rise_set` | Rise, set, and transit times for a body, plus civil, nautical, and astronomical twilight for the Sun |
40
+ | `astronomy_get_moon_phase` | Illuminated fraction, phase name, synodic age, and the next four quarter phases |
41
+ | `astronomy_find_events` | Next eclipses, equinoxes, solstices, moon quarters, oppositions, conjunctions, greatest elongations, or apsides |
42
+ | `astronomy_list_visible` | What's up now: naked-eye bodies (and optional bright stars) above the horizon, ranked, with a sky-condition gate |
43
+ | `astronomy_get_ephemeris` | Small-body or spacecraft ephemeris from JPL Horizons (opt-in) |
44
+ | `astronomy_get_satellite_passes` | Visible satellite passes from a CelesTrak element set propagated with SGP4 (opt-in) |
45
45
 
46
46
  ### Resources
47
47
 
48
48
  | Resource | Description |
49
49
  |:---|:---|
50
- | `astronomy://body/{body}` | Static reference card for a solar-system body — canonical name, type, mean radius (km), and naked-eye visibility. `{body}` is one of `sun`, `moon`, `mercury` … `pluto`. |
50
+ | `astronomy://body/{body}` | Reference card for a solar-system body: name, type, mean radius, naked-eye visibility |
51
51
 
52
- Also reachable via tools — `astronomy_get_sky_position` returns the same body metadata inline — so tool-only clients lose nothing.
52
+ Tool-only clients get the same type, radius, and naked-eye fields inline from `astronomy_get_sky_position`.
53
53
 
54
54
  ### Prompts
55
55
 
56
56
  | Prompt | Description |
57
57
  |:---|:---|
58
- | `astronomy_stargazing_plan` | Structures a "plan tonight's stargazing from \<place\>" workflow, chaining the tools in order and naming the cross-server geocoding and weather steps. |
58
+ | `astronomy_stargazing_plan` | Plan a night of stargazing from a place, chaining the astronomy tools with geocoding and weather steps |
59
59
 
60
60
  Design reference: [`docs/design.md`](./docs/design.md).
61
61
 
@@ -63,96 +63,73 @@ Design reference: [`docs/design.md`](./docs/design.md).
63
63
 
64
64
  ### `astronomy_get_sky_position` <sub>tool</sub>
65
65
 
66
- - Target one solar-system body (`body`) or a named bright star (`star`, takes precedence over `body`) — one of the two is required
67
- - `star` draws on a bundled 32-star catalog (about 30 of the brightest stars plus Polaris) by common name or Bayer designation, with the Greek letter spelled out or as a symbol and the constellation as genitive or IAU abbreviation — `Alpha Canis Majoris`, `Alpha CMa`, and `α CMa` all resolve to Sirius; a miss lists every catalog star
68
- - Returns equatorial (RA/Dec), refraction-corrected horizontal (alt/az), and ecliptic coordinates plus distance, magnitude, angular diameter, phase angle, illuminated fraction, `sun_elongation_degrees` (angular distance from the Sun), and constellation in one call
69
- - For a solar-system body, also inlines its `astronomy://body/{body}` reference card (type, mean radius, naked-eye visibility) — absent for a star, which has no card
70
- - `magnitude`, `angular_diameter_arcsec`, `phase_angle_degrees`, and `illuminated_fraction` are `null`, never fabricated, where the engine can't compute them
71
- - Default elevation 0 m, default time now; pass `timezone` for observer-local output alongside UTC
66
+ - `body` (`sun`, `moon`, `mercury` … `pluto`) or `star` is required, with `star` winning when both are set; `star` resolves against a bundled 32-star catalog by common name or Bayer designation (`Sirius`, `α CMa`), and a miss fails as `star_not_found` listing the catalog
67
+ - Returns `equatorial`, refraction-corrected `horizontal`, and `ecliptic` coordinates plus `magnitude`, `angular_diameter_arcsec`, `phase_angle_degrees`, `illuminated_fraction`, `sun_elongation_degrees`, and `constellation`
68
+ - Solar-system bodies also carry `body_metadata`, the resource card's `type`, `mean_radius_km`, and `naked_eye`; a star has none
72
69
 
73
70
  ---
74
71
 
75
72
  ### `astronomy_get_rise_set` <sub>tool</sub>
76
73
 
77
- - Searches forward from `start` (default now) and returns the next `count` cycles — default 1, max 31
78
- - For `body: "sun"`, each cycle also carries the three twilight pairs (civil −6°, nautical −12°, astronomical −18°), each covering the night after that cycle's set: `dusk` that evening, `dawn` the following morning — so the dawn listed beside a sunrise is the next day's, and the dawn before it is in the previous cycle
79
- - Circumpolar or never-rises situations return `null` rise/set fields with an explanatory `note`, not an error
80
- - When the body is already up at `start`, that cycle's `rise` is `null` (it precedes the search) so a `set` is never reported earlier than its paired `rise`
81
- - Default elevation 0 m; pass `timezone` for observer-local times alongside UTC
74
+ - One `body` searched forward from `start` (default now) for the next `count` cycles, default 1; 31 are served per call, and a `count` up to 366 returns the first 31 with a notice naming the `start` and `count` that continue the series (or saying none can, once the next cycle falls after 2100)
75
+ - Each cycle carries `rise_utc`, `set_utc`, `transit_utc`, and `transit_altitude_degrees`; a circumpolar or never-rising body gets `null` rise/set and a `note` instead of an error, and one already up at `start` gets a `null` `rise_utc`
76
+ - For `body: "sun"`, a `twilight` block holds `civil`, `nautical`, and `astronomical` pairs covering the night after that cycle's set (after its culmination when it has none), so each `dawn_utc` falls the day after the cycle's rise; each pair is bounded to its own night, so a depth the night never reaches is `null`
77
+ - A `start` between sunset and sunrise adds `night_in_progress`, the night already under way (its dusk may precede `start`), because the first cycle then opens at the next sunrise; a continuation call repeats there the night the previous call's last cycle carried
78
+ - One cycle covers one day: a day the body neither rises nor sets on (polar night, midnight sun) is a cycle of its own, so each night appears in exactly one cycle; a start in the afternoon of a polar-night day opens with the rest of that day (rise, set, and transit `null`) and its night
82
79
 
83
80
  ---
84
81
 
85
82
  ### `astronomy_get_moon_phase` <sub>tool</sub>
86
83
 
87
- - Geocentric — no observer location needed
88
- - Returns illuminated fraction, phase name, synodic age in days, and the next four quarter phases (new/first/full/last) in one call
89
- - `phase_longitude_degrees` is the Moon–Sun ecliptic-longitude difference (0 new, 90 first quarter, 180 full, 270 last quarter) — not the Sun–body–observer `phase_angle_degrees` of `astronomy_get_sky_position`, which reads 0 at full moon
90
- - `time` defaults to now; pass `timezone` for observer-local timestamps alongside UTC
84
+ - Geocentric: takes only `time` (default now) and an optional `timezone`
85
+ - Returns `illuminated_fraction`, `phase_name`, `age_days`, `next_quarters`, and `phase_longitude_degrees` (0 new, 180 full), which is not the `phase_angle_degrees` of `astronomy_get_sky_position`
91
86
 
92
87
  ---
93
88
 
94
89
  ### `astronomy_find_events` <sub>tool</sub>
95
90
 
96
- - One `event` enum covers nine classes: `solar_eclipse`, `lunar_eclipse`, `equinox`, `solstice`, `moon_quarter`, `opposition`, `conjunction`, `max_elongation`, `perigee_apogee`
97
- - Both eclipse classes take an optional observer (`latitude` and `longitude` together — one alone is rejected):
98
- - `solar_eclipse` without one returns global eclipses, with the peak's `peak_latitude_degrees`/`peak_longitude_degrees` for total and annular eclipses; with one it returns only eclipses visible from that point, with local contact times
99
- - `lunar_eclipse` contact times are geocentric either way; an observer adds local circumstances
100
- - Local circumstances are `local_visible` (the eclipsed body above the horizon at any contact) and `contact_altitudes_degrees` (its altitude at each contact), so a sunrise or sunset eclipse reads differently from a midday one
101
- - Every other class is geocentric and ignores a location
102
- - Body-relative events require `body`, gated to which bodies each applies to: `opposition` to mars through pluto, `conjunction` to any planet, `max_elongation` to mercury or venus, `perigee_apogee` to the moon, earth, or a planet
103
- - Returns the next `count` occurrences, default 1, max 20; searches stop at the end of 2100, and a notice says so when that returns fewer than `count`
104
- - `perigee_apogee` on earth returns perihelion/aphelion; `conjunction` on mercury or venus returns both the inferior and superior pass, labelled by `conjunction_kind`
91
+ - One `event` (`solar_eclipse`, `lunar_eclipse`, `equinox`, `solstice`, `moon_quarter`, `opposition`, `conjunction`, `max_elongation`, `perigee_apogee`) and the next `count` occurrences, default 1; 20 are served per call, and a `count` up to 200 returns the first 20 with a notice naming the `start` and `count` that continue the series; searches stop at the end of 2100, with a notice when that returns fewer
92
+ - Body-relative events require `body` (`body_required`), and a body the event doesn't apply to fails as `body_not_supported`: `opposition` takes mars through pluto, `conjunction` any planet, `max_elongation` mercury or venus, and `perigee_apogee` the moon, `earth`, or a planet; `apsis_kind` and `conjunction_kind` label which kind came back
93
+ - `conjunction` with `body` alone is that planet's conjunction with the Sun; adding `body2` (the Moon or a planet, different from `body`) finds the instant the two share an ecliptic longitude seen from Earth's center and reports `separation_degrees` at that instant, which is not always their closest approach. `body2` with any other event, the same body twice, or a `sun`/`earth` `body` fails as `invalid_body_pair`
94
+ - Eclipses take an optional observer (`latitude` and `longitude` together, else `incomplete_observer`) that adds `local_visible` and `contact_altitudes_degrees` and limits `solar_eclipse` to locally visible events; a global solar search reports `peak_latitude_degrees`/`peak_longitude_degrees` for total and annular eclipses
105
95
 
106
96
  ---
107
97
 
108
98
  ### `astronomy_list_visible` <sub>tool</sub>
109
99
 
110
- - One call for every naked-eye solar-system body (plus, with `include_stars`, the bundled bright stars) above the horizon, ranked brightest-and-highest first
111
- - Each body carries a deterministic `visibility_note` computed from real magnitude and altitude, plus its `sun_elongation_degrees`
112
- - The note states when conditions hide or dim a body — daylight, civil twilight, or within 15° of the Sun (lost in glare); the Sun, the Moon, and a negative-magnitude Venus take no daylight or twilight caveat
113
- - Returns the whole-sky `sky_condition` (`daylight` / `civil_twilight` / `nautical_twilight` / `astronomical_twilight` / `dark`) and the Sun's altitude alongside the list
114
- - `time` is a single evaluation instant, not a window; `min_altitude` (default 0) filters out bodies grazing the horizon
115
- - Default elevation 0 m; pass `timezone` for observer-local times per body
100
+ - Observer coordinates and one evaluation instant, `time` (default now, not a window); `min_altitude` (default 0) and `include_stars` (default false) shape the list
101
+ - Returns `sky_condition` (`daylight`, `civil_twilight`, `nautical_twilight`, `astronomical_twilight`, `dark`), `sun_altitude_degrees`, and `bodies` ranked brightest-and-highest first, each with a `visibility_note` that says when daylight, civil twilight, or Sun glare within 15° hides or dims it
116
102
 
117
103
  ---
118
104
 
119
105
  ### `astronomy_get_ephemeris` <sub>tool</sub>
120
106
 
121
- - Registered only when `ASTRONOMY_ENABLE_HORIZONS` is set; off by default
122
- - Time-series ephemeris for a small body or spacecraft via JPL Horizons — RA/Dec, distance, magnitude, and optional alt/az when observer `latitude`/`longitude` are both supplied (one alone is rejected)
123
- - `designation` should resolve to a single Horizons record: numbered asteroid as `"433;"`, periodic comet as `"DES=1P;CAP"`, spacecraft as a negative SPK-ID — a bare name matching nothing or several records is rejected, and one matching a single object can land on the wrong one (`"Eros"` resolves to Kerberos), so the result carries `target_name`, the object Horizons resolved
124
- - `start`/`stop` accept a `Z` or numeric UTC offset (a value with neither is read as UTC); Horizons receives the resolved UTC instant
125
- - No 1900–2100 limit applies, but a span outside the target's own Horizons data is rejected as `time_out_of_range`, and the message gives the bound Horizons reports (e.g. Mars ends after A.D. 2599-DEC-31); an unknown designation is `body_not_found`
126
- - `step` is a count plus unit (`m`/`h`/`d`/`mo`/`y`, e.g. `"1h"`); `stop` must be after `start` (defaults to a 24h span from now)
127
- - Truncates inline at 200 rows; the truncation notice names the exact `start` to resume from, one step past the last row returned
107
+ - `designation` is passed to Horizons verbatim (`"433;"` for a numbered asteroid, `"DES=1P;CAP"` for a periodic comet, a negative SPK-ID for a spacecraft); `start` defaults to now, `stop` to 24 h later, and `step` to `"1h"` (a count plus `m`, `h`, `d`, `mo`, or `y`); `latitude` and `longitude` together add alt/az, with `elevation` then limited to the observer altitudes Horizons accepts (`invalid_elevation` outside them; a geocentric request ignores it)
108
+ - One page of up to 200 rows per call, and when `truncated` is true the notice names the `start` to resume from; `stop` equal to `start` returns the single row at that instant; `step` counts can be any positive integer up to 2147483647, months and years follow the calendar from `start`, and fractional seconds in `start` are kept; `start` and `stop` are Gregorian dates (extended before 1582) in years 0100 through 9999
109
+ - `target_name` is the object Horizons resolved, since a bare name can land on the wrong one; a name matching several major bodies fails as `ambiguous_designation` listing each ID number, Earth fails as `observer_is_target`, and a designation with an apostrophe or any character outside printable ASCII fails as `body_not_found` (use `DES=6P;CAP`, not `6P/d'Arrest`, and `2867;`, not `Šteins`); misses fail as `body_not_found`, a `step` longer than the target's data as `invalid_step`, spans outside the target's Horizons data as `time_out_of_range`, and a value Horizons refuses outright as `request_rejected`, which names the input to correct
110
+ - Registered only when `ASTRONOMY_ENABLE_HORIZONS=true`
128
111
 
129
112
  ---
130
113
 
131
114
  ### `astronomy_get_satellite_passes` <sub>tool</sub>
132
115
 
133
- - Registered only when `ASTRONOMY_ENABLE_SATELLITES` is set; off by default
134
- - Identify the satellite by exactly one of `norad_id` or `name` — both or neither is rejected
135
- - `name` resolves the common names ISS / International Space Station (25544), Hubble / Hubble Space Telescope / HST (20580), and Tiangong / CSS / Chinese Space Station (48274) directly; any other name is a case-insensitive substring match against CelesTrak's catalog
136
- - Fetches the current GP element set from CelesTrak and propagates it with SGP4 in-process; only naked-eye-plausible passes (sunlit at peak, observer sky dark) are returned
137
- - A pass must rise inside the window: one already up at `start` is omitted, one still up when the window ends is reported through its set
138
- - `start` must be within about a month of the element set's epoch — older elements no longer describe the orbit, and an element set that won't propagate inside that window is rejected as a reentry
139
- - Searches the next `days` ahead, default 7, max 10; pass `timezone` for observer-local pass times
116
+ - Exactly one of `norad_id` or `name` (ISS, Hubble/HST, and Tiangong/CSS resolve directly; other names are substring-matched against CelesTrak, and an ambiguous one fails as `ambiguous_satellite_name` listing candidates); `start` must be within about a month of today, and `days` defaults to 7; 10 are searched per call, and a `days` up to 30 searches the first 10 with a notice naming the `start` and `days` that continue the search, or saying none can when that start would lie more than about a month from the element set's epoch
117
+ - Returns `norad_id`, `satellite_name`, and `passes` kept by their visible stretch (satellite above the horizon and sunlit while the Sun is below −6°, reaching 10° elevation), each with rise/peak/set times (within 1 s) and azimuths, `peak_altitude_degrees`, `duration_seconds`, `sunlit` (illumination at the peak, so it can be `false` on a pass seen only before or after the satellite crosses Earth's shadow), and the stretch itself as `visible_start_utc`/`visible_end_utc` with their `_local`, altitude, and azimuth fields
118
+ - Registered only when `ASTRONOMY_ENABLE_SATELLITES=true`
140
119
 
141
120
  ---
142
121
 
143
122
  ### `astronomy://body/{body}` <sub>resource</sub>
144
123
 
145
- - Static reference card as `application/json`: canonical name, type (`star`/`planet`/`moon`/`dwarf`), mean radius in km, naked-eye visibility
146
- - `{body}` is one of `sun`, `moon`, `mercury` … `pluto`; supports name completion
147
- - Also returned inline by `astronomy_get_sky_position` for solar-system bodies, so tool-only clients lose nothing
124
+ - `{body}` is one of `sun`, `moon`, `mercury` … `pluto`, with name completion; anything else fails as `unknown_body`
125
+ - `application/json` card with `body`, `name`, `type` (`star`/`planet`/`moon`/`dwarf`), `mean_radius_km`, and `naked_eye`
148
126
 
149
127
  ---
150
128
 
151
129
  ### `astronomy_stargazing_plan` <sub>prompt</sub>
152
130
 
153
- - Arguments: `location` required; `date` optional (`YYYY-MM-DD`), defaults to tonight
154
- - Returns one user message chaining the five core tools in order — sunset/dusk, moon phase and moon rise/set, then the ranked visible list with `include_stars` on
155
- - Names the cross-server geocoding and weather steps this server doesn't cover, and anchors every step to the observer's local night rather than UTC midnight
131
+ - Arguments: `location` required; `date` (`YYYY-MM-DD`) optional, defaults to tonight
132
+ - Returns one user message that chains `astronomy_get_rise_set` (sun, then moon), `astronomy_get_moon_phase`, and `astronomy_list_visible` with `include_stars`, anchored to the observer's local night (reading `night_in_progress` when the sun query starts after sunset), plus the geocoding and weather steps this server doesn't cover
156
133
 
157
134
  ## Features
158
135
 
@@ -160,19 +137,18 @@ Built on [`@cyanheads/mcp-ts-core`](https://github.com/cyanheads/mcp-ts-core): s
160
137
 
161
138
  Astronomy-specific:
162
139
 
163
- - Keyless, offline, deterministic core — `astronomy-engine` is the source of truth for positional astronomy; no network, no rate limit, no API key for the five core tools, and the keyless core is pure JS with no native deps
164
- - Positions are accurate to sub-arcminute precision within the engine's ≈1900–2100 span; a `time`/`start` outside that range is rejected as `time_out_of_range`
165
- - Both UTC and observer-local time on every output when a `timezone` is supplied; the server never guesses a timezone from coordinates
166
- - Bundled bright-star catalog so `astronomy_list_visible` and `astronomy_get_sky_position` answer for named stars
167
- - Two gated extensions (off by default) reach beyond the major-body set — JPL Horizons small bodies and CelesTrak satellite passes — each with its own timeout/retry boundary; they degrade loudly and never silently fall back to the core
168
- - Does not geocode — resolve a place name to coordinates upstream (e.g. via an OpenStreetMap server) and pass an IANA `timezone` for observer-local output
140
+ - Keyless, offline, deterministic core: the five core tools need no network, API key, or rate limit, and return the same answer for the same body, time, and observer
141
+ - Times outside the engine's high-accuracy span (≈1900–2100) fail as `time_out_of_range`; the Horizons tool is bounded by each target's own data span instead
142
+ - Times are ISO 8601 UTC, and a value with no zone is read as UTC; pass an IANA `timezone` (or set `ASTRONOMY_DEFAULT_TIMEZONE`) to get `*_local` fields alongside UTC. The server never infers a timezone from coordinates
143
+ - No geocoding: resolve a place name to latitude/longitude and a timezone upstream, then pass the coordinates (`elevation` defaults to 0 m)
144
+ - The two opt-in extensions each carry their own timeout and retry; an upstream failure surfaces as `horizons_unavailable` or `celestrak_unavailable` and never falls back to core output
169
145
 
170
146
  Agent-friendly output:
171
147
 
172
- - Preserves uncertainty — magnitude, angular diameter, phase, and illuminated fraction are `null` (never fabricated or zeroed) where the engine can't compute them, and `format()` renders "unavailable" rather than inventing a value
173
- - Deterministic visibility notes — `astronomy_list_visible`'s plain-language headline is computed from real magnitude, altitude, sky condition, and distance from the Sun, never a synthetic confidence score
174
- - Typed error contracts with recovery hints — out-of-range time, missing observer/body, unresolved designation — so callers can correct and retry
175
- - Rounded-plus-exact dual values — `format()` pairs a rounded display figure with its exact counterpart in brackets (e.g. `RA 4.4116 h [4.411597993526305]`), dropped only when the rounding already round-trips, so a `content[]`-only client never needs a second call to recover full precision
148
+ - Uncertainty preserved: `magnitude`, `angular_diameter_arcsec`, `phase_angle_degrees`, and `illuminated_fraction` are `null` where the engine can't compute them, rendered as "unavailable", never zeroed
149
+ - Deterministic visibility notes: `visibility_note` comes from real magnitude, altitude, sky condition, and Sun elongation, not a synthetic score
150
+ - Typed error contracts: each declared failure carries a typed `reason` and a recovery hint, so callers can correct and retry
151
+ - Exact values behind rounded text: `format()` pairs each rounded figure with its exact value in brackets (`RA 4.4116 h [4.411597993526305]`), so a `content[]`-only client loses no precision
176
152
 
177
153
  ## Getting started
178
154
 
@@ -193,7 +169,7 @@ A public instance is available at `https://astronomy.caseyjhand.com/mcp` — no
193
169
 
194
170
  ### Self-Hosted / Local
195
171
 
196
- Add the following to your MCP client configuration file. The five core tools need no configuration; set `ASTRONOMY_ENABLE_HORIZONS` and/or `ASTRONOMY_ENABLE_SATELLITES` to `true` to register the gated extensions.
172
+ Add the following to your MCP client configuration file. The core tools need no configuration; set `ASTRONOMY_ENABLE_HORIZONS` and/or `ASTRONOMY_ENABLE_SATELLITES` to `true` to register the extensions.
197
173
 
198
174
  ```json
199
175
  {
@@ -253,7 +229,7 @@ MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http
253
229
  ### Prerequisites
254
230
 
255
231
  - [Bun v1.4.0](https://bun.sh/) or higher (or Node.js v24+).
256
- - No API key required — both the offline core and the two keyless extensions (JPL Horizons, CelesTrak) need no credentials.
232
+ - No API key. The core is offline, and both extensions (JPL Horizons, CelesTrak) are keyless.
257
233
 
258
234
  ### Installation
259
235
 
@@ -279,29 +255,28 @@ bun install
279
255
 
280
256
  ```sh
281
257
  cp .env.example .env
282
- # edit .env only to enable the gated extensions or override a default
258
+ # edit .env only to enable the extensions or override a default
283
259
  ```
284
260
 
285
261
  ## Configuration
286
262
 
287
- All configuration is optional and validated at startup via Zod schemas in `src/config/server-config.ts`. The core runs with no configuration at all.
263
+ Every variable is optional; the core runs with none set.
288
264
 
289
265
  | Variable | Description | Default |
290
266
  |:---|:---|:---|
291
- | `ASTRONOMY_ENABLE_HORIZONS` | Register the `astronomy_get_ephemeris` tool (JPL Horizons). | `false` |
292
- | `ASTRONOMY_ENABLE_SATELLITES` | Register the `astronomy_get_satellite_passes` tool (CelesTrak + SGP4). | `false` |
293
- | `ASTRONOMY_HORIZONS_BASE_URL` | Override the JPL Horizons API endpoint. | `https://ssd.jpl.nasa.gov/api/horizons.api` |
294
- | `ASTRONOMY_CELESTRAK_BASE_URL` | Override the CelesTrak GP endpoint. | `https://celestrak.org/NORAD/elements/gp.php` |
295
- | `ASTRONOMY_DEFAULT_TIMEZONE` | Fallback IANA timezone when a tool call omits `timezone`. Unset = UTC-only output. | none |
296
- | `ASTRONOMY_REQUEST_TIMEOUT_MS` | HTTP timeout (ms) for Horizons and CelesTrak requests. | `15000` |
297
- | `ASTRONOMY_TLE_CACHE_TTL_MS` | In-process element-set cache TTL (ms) — respects CelesTrak's refetch guidance (~once/2h). | `7200000` |
267
+ | `ASTRONOMY_ENABLE_HORIZONS` | Register `astronomy_get_ephemeris` (JPL Horizons). | `false` |
268
+ | `ASTRONOMY_ENABLE_SATELLITES` | Register `astronomy_get_satellite_passes` (CelesTrak + SGP4). | `false` |
269
+ | `ASTRONOMY_DEFAULT_TIMEZONE` | Fallback IANA timezone when a call omits `timezone`. Unset means UTC-only output. | none |
270
+ | `ASTRONOMY_REQUEST_TIMEOUT_MS` | HTTP timeout for Horizons and CelesTrak requests, in ms. | `15000` |
271
+ | `ASTRONOMY_TLE_CACHE_TTL_MS` | In-process element-set cache TTL, in ms. The 2 h default follows CelesTrak's refetch guidance. | `7200000` |
272
+ | `ASTRONOMY_HORIZONS_BASE_URL` | JPL Horizons API endpoint. | `https://ssd.jpl.nasa.gov/api/horizons.api` |
273
+ | `ASTRONOMY_CELESTRAK_BASE_URL` | CelesTrak GP endpoint. | `https://celestrak.org/NORAD/elements/gp.php` |
298
274
  | `MCP_TRANSPORT_TYPE` | Transport: `stdio` or `http`. | `stdio` |
299
- | `MCP_HTTP_PORT` | Port for the HTTP server. | `3010` |
300
- | `MCP_AUTH_MODE` | Auth mode: `none`, `jwt`, or `oauth`. | `none` |
301
- | `MCP_LOG_LEVEL` | Log level (RFC 5424). | `info` |
302
- | `LOGS_DIR` | Directory for log files (Node.js only). | `<project-root>/logs` |
303
- | `STORAGE_PROVIDER_TYPE` | Storage backend. | `in-memory` |
304
- | `OTEL_ENABLED` | Enable [OpenTelemetry instrumentation](https://github.com/cyanheads/mcp-ts-core/tree/main/docs/telemetry). | `false` |
275
+ | `MCP_HTTP_PORT` | HTTP server port. | `3010` |
276
+ | `MCP_SESSION_MODE` | HTTP session mode: `stateless`, `stateful`, or `auto`. | `stateless` |
277
+ | `MCP_AUTH_MODE` | Authentication: `none`, `jwt`, or `oauth`. | `none` |
278
+ | `MCP_LOG_LEVEL` | Log level (`debug`, `info`, `warning`, `error`, etc.). | `info` |
279
+ | `OTEL_ENABLED` | Enable [OpenTelemetry](https://github.com/cyanheads/mcp-ts-core/tree/main/docs/telemetry). | `false` |
305
280
 
306
281
  See [`.env.example`](./.env.example) for the full list of optional overrides.
307
282
 
@@ -333,7 +308,7 @@ See [`.env.example`](./.env.example) for the full list of optional overrides.
333
308
 
334
309
  ```sh
335
310
  docker build -t astronomy-mcp-server .
336
- docker run --rm -e MCP_TRANSPORT_TYPE=stdio astronomy-mcp-server
311
+ docker run --rm -p 3010:3010 astronomy-mcp-server
337
312
  ```
338
313
 
339
314
  The Dockerfile defaults to HTTP transport, stateless session mode, and logs to `/var/log/astronomy-mcp-server`. OpenTelemetry peer dependencies are installed by default — build with `--build-arg OTEL_ENABLED=false` to omit them.
@@ -344,12 +319,12 @@ The Dockerfile defaults to HTTP transport, stateless session mode, and logs to `
344
319
  |:---|:---|
345
320
  | `src/index.ts` | `createApp()` entry point — registers tools/resources/prompts and inits services. |
346
321
  | `src/config` | Server-specific environment variable parsing and validation with Zod. |
347
- | `src/mcp-server/tools` | Tool definitions (`*.tool.ts`). Five core tools plus two gated extensions. |
322
+ | `src/mcp-server/tools` | Tool definitions (`*.tool.ts`). Five core tools plus two opt-in extensions. |
348
323
  | `src/mcp-server/resources` | Resource definitions (`*.resource.ts`). Body reference card. |
349
324
  | `src/mcp-server/prompts` | Prompt definitions (`*.prompt.ts`). Stargazing plan. |
350
- | `src/services/ephemeris` | The offline compute core — `astronomy-engine` wrapper, body-radius table, and bundled bright-star catalog. |
351
- | `src/services/horizons` | JPL Horizons HTTP client (gated extension). |
352
- | `src/services/satellite` | CelesTrak GP/OMM fetch + SGP4 propagation (gated extension). |
325
+ | `src/services/ephemeris` | Offline compute core — `astronomy-engine` wrapper, body table, bright-star catalog. |
326
+ | `src/services/horizons` | JPL Horizons HTTP client (extension). |
327
+ | `src/services/satellite` | CelesTrak element-set fetch and SGP4 propagation (extension). |
353
328
  | `tests/` | Unit and integration tests mirroring `src/`. |
354
329
 
355
330
  ## Development guide
@@ -0,0 +1,27 @@
1
+ ---
2
+ summary: "mcp-ts-core 0.13.14: tool error results carry their request ID, integers and numeric strings are repaired before argument validation, the Docker image installs dependencies in a build-platform deps stage, and the registry entries launch through npx."
3
+ breaking: false
4
+ security: false
5
+ ---
6
+
7
+ # 0.4.1 — 2026-10-08
8
+
9
+ ## Changed
10
+
11
+ - **Docker image** — a `deps` stage on `$BUILDPLATFORM` cross-installs production dependencies with `--os`/`--cpu`, where the production stage previously ran `bun install` on the target platform; a multi-arch build no longer runs Bun under QEMU. (mcp-ts-core 0.13.10)
12
+ - **Docker image OpenTelemetry install** — `scripts/install-otel.ts` installs the OpenTelemetry peers at the framework's declared ranges, through `bunfig.toml`'s release-age gate and scanner. (mcp-ts-core 0.13.10)
13
+ - **Docker image musl prune** — `scripts/prune-musl-packages.ts` removes musl-only packages from the glibc runtime image. (mcp-ts-core 0.13.11)
14
+ - **Docker image environment** — the unread `MCP_FORCE_CONSOLE_LOGGING` is no longer set (mcp-ts-core 0.13.8); the base image moves from Bun 1.4.0 to 1.4.2 (mcp-ts-core 0.13.7). `.dockerignore` excludes every `.env*` file and the MCP Registry token files.
15
+ - **`server.json`** — both npm entries use `runtimeHint: "npx"` with no package arguments, where they used `runtimeHint: "bun"` with `run start:stdio` / `run start:http`; the streamable-http entry sets `MCP_TRANSPORT_TYPE` to `http`. (mcp-ts-core 0.13.11)
16
+ - **`astronomy_get_satellite_passes`** — the `time_out_of_range` recovery hint now reads "An element set describes the orbit for weeks either side of its epoch — request a start within about a month of today."
17
+ - **Error throw sites** — handlers no longer forward `ctx.recoveryFor(...)` per `ctx.fail`; the framework fills the declared hint (mcp-ts-core 0.13.10). Tests assert the hint on the wire envelope for every bare `ctx.fail` and for the `astronomy://body/{body}` resource's `unknown_body`.
18
+ - **`.mcpb` bundle** — `.mcpbignore` excludes `docs/idea.md`, `logs/`, `.cache/`, and `tests/`.
19
+ - **Repo files** — `.gitignore` ignores every `.env*` file except `.env.example`, `.env.template`, and `.env.sample`; `codeql.yml` runs one matrix job per language (`actions`, `javascript-typescript`), each under its own `/language:<language>` category.
20
+ - **Tooling and skills** — `framework-skills/` and the `devcheck`, `lint:mcp`, `lint:packaging`, skill-version, anti-pattern, and `release:github` scripts are re-synced to mcp-ts-core 0.13.14; `lint:packaging` now checks the Dockerfile build platform and the `server.json` npm launch shape.
21
+ - **Docs** — the README tool, feature, and configuration sections are rewritten against current behavior, and its Docker example runs the default HTTP transport. `CLAUDE.md` and `AGENTS.md` follow the framework's error and context docs. `.env.example` documents `MCP_REQUEST_STATE_KEY`, `LOG_TOOL_FAILURE_PAYLOADS`, `LOG_TOOL_FAILURE_PAYLOAD_MAX_BYTES`, `LOG_LLM_INTERACTIONS`, and the `OTEL_EXPORTER_OTLP_*_ENDPOINT` variables.
22
+
23
+ ## Dependencies
24
+
25
+ - `@cyanheads/mcp-ts-core` ^0.13.6 → ^0.13.14 — tool error results close `content[]` with `request <id>` and carry `data.requestId` (0.13.10); an integer sent for a string field is repaired to its digits (0.13.9) and a numeric or boolean string sent for a number or boolean field is parsed (0.13.14) before argument validation; declared `recovery` hints reach the wire without per-throw forwarding (0.13.10). Advertised tool schemas are unchanged.
26
+ - `@modelcontextprotocol/server` ^2.0.0 → ^2.2.0 comes in through the framework (0.13.9 raised it to ^2.1.0, 0.13.11 to ^2.2.0).
27
+ - Deps: `pino-pretty` ^13.1.3 → ^13.2.0; dev `@biomejs/biome` 2.5.14 → 2.5.15, `@socketsecurity/bun-security-scanner` ^1.1.2 → ^1.1.3, `@types/node` ^26.6.2 → ^26.6.4, `ignore` ^7.0.9 → ^7.0.12, `tsc-alias` ^1.9.5 → ^1.9.7, `vitest` ^5.0.1 → ^5.0.3
@@ -0,0 +1,37 @@
1
+ ---
2
+ summary: "Two-body conjunctions in astronomy_find_events, per-call caps with continuation notices on rise/set, events, and satellite passes, night_in_progress and polar-day cycles in astronomy_get_rise_set, a visible-stretch pass rule for satellites, and Horizons paging, refusal, and calendar fixes."
3
+ breaking: false
4
+ security: false
5
+ ---
6
+
7
+ # 0.4.2 — 2026-10-15
8
+
9
+ ## Added
10
+
11
+ - **`astronomy_find_events` `body2`** — a `conjunction` of two bodies (the Moon or a planet with another), found where they share an ecliptic longitude seen from Earth's center. Events carry `body2` and `separation_degrees`; `invalid_body_pair` rejects `body2` with another event, the same body twice, or a `sun`/`earth` `body`. (#51)
12
+ - **`astronomy_get_rise_set` `night_in_progress`** — for the Sun, a `start` between sunset and sunrise returns the night already under way (dusk through dawn, times before `start` included), since the first cycle then opens at the next sunrise. (#49)
13
+ - **`astronomy_get_satellite_passes` visible stretch** — each pass carries `visible_start_utc`/`visible_end_utc` with `_local`, altitude, and azimuth fields. (#47)
14
+ - **Typed Horizons refusals** — `ambiguous_designation` lists the candidate ID numbers of a name matching several major bodies, `observer_is_target` rejects Earth, `invalid_elevation` rejects observer elevations Horizons refuses, and `request_rejected` names the input of a request Horizons refuses with HTTP 400. `invalid_step` also covers a step longer than the target's data and a count past 2147483647. (#53)
15
+
16
+ ## Changed
17
+
18
+ - **Per-call caps** — `astronomy_get_rise_set` `count` accepts up to 366 (31 cycles per call), `astronomy_find_events` `count` up to 200 (20 per call), and `astronomy_get_satellite_passes` `days` up to 30 (10 per call). A capped call returns a notice naming the exact `start` and `count`/`days` that continue the series, or saying no call can when the continuation falls past 2100 or beyond the element set's epoch horizon. Eclipse continuations resume 10 days past the last event. (#50)
19
+ - **`astronomy_get_satellite_passes` pass rule** — a pass is kept when its visible stretch (above the horizon, sunlit, Sun below −6°) reaches 10° elevation, wherever in the pass that falls; `sunlit` still reports the peak instant. Rise, set, and visible-stretch edges are bisected to 1 s. (#47, #52)
20
+ - **`astronomy_get_rise_set` twilight** — each cycle's pairs are bounded to their own night, so a depth the night never reaches is `null`. (#56)
21
+ - **`astronomy_get_rise_set` polar days** — a day with no rise or set (polar night, midnight sun) is a cycle of its own, so consecutive cycles are consecutive days and each night appears in exactly one. (#60)
22
+ - **`astronomy_get_ephemeris` request shape** — one request asks Horizons for one page, with `STOP_TIME` clamped to the 201st row, rather than the whole span. (#48)
23
+ - **`astronomy_get_ephemeris` dates** — `start` and `stop` are Gregorian (extended before 1582) in years 0100 through 9999; fractional seconds in `start` are kept; `stop` equal to `start` returns the single row at that instant. (#55, #57, #58)
24
+ - **`time_out_of_range` recovery** — a year-span rejection from any tool carries that tool's declared recovery on the wire; the satellite tool's declared hint covers both its year-span and epoch-distance checks. (#61)
25
+ - **Docs** — README, `docs/design.md`, `CLAUDE.md`, and `AGENTS.md` describe the changes above; the `astronomy_stargazing_plan` prompt reads `night_in_progress` when the sun query starts after sunset.
26
+
27
+ ## Fixed
28
+
29
+ - **`astronomy_get_ephemeris` calendar-step resume** — a `mo` or `y` step with a count above 1 resumes on the row Horizons prints next, where it previously skipped rows (`5mo` from Jan 31 prints Jul 31). (#54)
30
+ - **`astronomy_get_ephemeris` apostrophes and non-ASCII designations** — a designation with an apostrophe (`6P/d'Arrest`) or a character outside printable ASCII (`Šteins`) fails as `body_not_found` naming the record-resolving form (`DES=6P;CAP`, `2867;`), where Horizons searched the text before the apostrophe. (#59)
31
+
32
+ ## Dependencies
33
+
34
+ - `@cyanheads/mcp-ts-core` ^0.13.14 → ^0.13.15; `@modelcontextprotocol/server` ^2.2.0 → ^2.3.1 comes in through the framework.
35
+ - Bun 1.4.2 → 1.4.3 (`packageManager`, the Dockerfile `oven/bun` base images, README badge).
36
+ - `zod` ^4.6.5 → ^4.6.6; dev `@types/node` ^26.6.4 → ^26.6.5, `vitest` ^5.0.3 → ^5.0.4.
37
+ - `framework-skills/` re-synced to mcp-ts-core 0.13.15.
@@ -33,7 +33,7 @@ export const stargazingPlanPrompt = prompt('astronomy_stargazing_plan', {
33
33
  'Using the location and date above, work through these steps in order:',
34
34
  '',
35
35
  `1. Resolve the location to latitude/longitude with a geocoding tool (e.g. openstreetmap_search_places), and its IANA timezone with a timezone lookup (e.g. ref_timezone_lookup, given the place's city or region). This astronomy server does not geocode. Pass that zone as the \`timezone\` parameter on every astronomy call below: without it the tools answer in UTC only, and you cannot tell which local night a returned instant belongs to.`,
36
- `2. Call astronomy_get_rise_set with body "sun" at those coordinates for the local evening of <date> in that timezone, to find sunset and the astronomical-dusk time (the start of the dark window). Anchor <date> in the observer's zone, not UTC — resolving it against UTC midnight lands on the adjacent local night for any observer far enough from Greenwich.`,
36
+ `2. Call astronomy_get_rise_set with body "sun" at those coordinates for the local evening of <date> in that timezone, to find sunset and the astronomical-dusk time (the start of the dark window). Anchor <date> in the observer's zone, not UTC — resolving it against UTC midnight lands on the adjacent local night for any observer far enough from Greenwich. If the call's \`start\` falls after sunset, read that night's dusk and dawn from \`night_in_progress\`: the first cycle then opens at the next sunrise, and its twilight is the following night's.`,
37
37
  `3. Call astronomy_get_moon_phase for <date> and note the illuminated fraction — a bright moon washes out faint objects.`,
38
38
  `4. Call astronomy_get_rise_set with body "moon" at those coordinates across the same local <date> night in that timezone, to get moonrise and moonset, then compare them against the dark window from step 2. Phase alone is geocentric and does not say whether the moon is above the observer's horizon; a full moon that has already set does not interfere.`,
39
39
  `5. Call astronomy_list_visible at those coordinates with \`include_stars\` set to true, at a time just after the astronomical dusk found in step 2 on the local <date> night in that timezone, to get the ranked list of what is up. The tool omits the bundled bright-star catalog unless \`include_stars\` is true, so leaving it off returns solar-system bodies only — not the named stars a stargazer is most likely to be asking about.`,
@@ -1 +1 @@
1
- {"version":3,"file":"stargazing-plan.prompt.js","sourceRoot":"","sources":["../../../../src/mcp-server/prompts/definitions/stargazing-plan.prompt.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAEnD,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,2BAA2B,EAAE;IACtE,WAAW,EACT,8TAA8T;IAChU,KAAK,EAAE,+CAA+C;IACtD,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;QACb,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,CAAC,oEAAoE,CAAC;QACjF,IAAI,EAAE,CAAC;aACJ,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,4EAA4E,CAAC;KAC1F,CAAC;IACF,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE;QACjB,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC;QACzC,MAAM,IAAI,GAAG;YACX,yCAAyC;YACzC,EAAE;YACF,iNAAiN;YACjN,EAAE;YACF,aAAa,IAAI,CAAC,QAAQ,aAAa;YACvC,SAAS,SAAS,SAAS;YAC3B,EAAE;YACF,uEAAuE;YACvE,EAAE;YACF,sbAAsb;YACtb,qWAAqW;YACrW,yHAAyH;YACzH,iWAAiW;YACjW,+aAA+a;YAC/a,+KAA+K;YAC/K,EAAE;YACF,uOAAuO;SACxO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACb,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"stargazing-plan.prompt.js","sourceRoot":"","sources":["../../../../src/mcp-server/prompts/definitions/stargazing-plan.prompt.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAEnD,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,2BAA2B,EAAE;IACtE,WAAW,EACT,8TAA8T;IAChU,KAAK,EAAE,+CAA+C;IACtD,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;QACb,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,CAAC,oEAAoE,CAAC;QACjF,IAAI,EAAE,CAAC;aACJ,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,4EAA4E,CAAC;KAC1F,CAAC;IACF,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE;QACjB,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC;QACzC,MAAM,IAAI,GAAG;YACX,yCAAyC;YACzC,EAAE;YACF,iNAAiN;YACjN,EAAE;YACF,aAAa,IAAI,CAAC,QAAQ,aAAa;YACvC,SAAS,SAAS,SAAS;YAC3B,EAAE;YACF,uEAAuE;YACvE,EAAE;YACF,sbAAsb;YACtb,wiBAAwiB;YACxiB,yHAAyH;YACzH,iWAAiW;YACjW,+aAA+a;YAC/a,+KAA+K;YAC/K,EAAE;YACF,uOAAuO;SACxO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACb,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;CACF,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"body.resource.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/resources/definitions/body.resource.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAY,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAIjE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;GAmEvB,CAAC"}
1
+ {"version":3,"file":"body.resource.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/resources/definitions/body.resource.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAY,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAIjE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;GAiEvB,CAAC"}
@@ -45,9 +45,7 @@ export const bodyResource = resource('astronomy://body/{body}', {
45
45
  handler(params, ctx) {
46
46
  const key = params.body.trim().toLowerCase();
47
47
  if (!BODY_NAMES.includes(key)) {
48
- throw ctx.fail('unknown_body', `Unknown body "${params.body}".`, {
49
- ...ctx.recoveryFor('unknown_body'),
50
- });
48
+ throw ctx.fail('unknown_body', `Unknown body "${params.body}".`);
51
49
  }
52
50
  const meta = BODY_META[key];
53
51
  ctx.log.debug('Body reference', { body: key });
@@ -1 +1 @@
1
- {"version":3,"file":"body.resource.js","sourceRoot":"","sources":["../../../../src/mcp-server/resources/definitions/body.resource.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"body.resource.js","sourceRoot":"","sources":["../../../../src/mcp-server/resources/definitions/body.resource.ts"],"names":[],"mappings":"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"}
@@ -2,8 +2,11 @@
2
2
  * @fileoverview astronomy_find_events — consolidated forward search for nine event
3
3
  * classes under one `event` enum. Both eclipse classes take an optional observer:
4
4
  * solar eclipses are global without one and local with one, and lunar eclipses gain
5
- * the Moon's altitude at each contact. Every other class is geocentric. Every search
6
- * stops at the end of the supported span, with a notice when that cuts a list short.
5
+ * the Moon's altitude at each contact. Every other class is geocentric; `body2` turns a
6
+ * conjunction with the Sun into one of two bodies. Every search stops at the end of the
7
+ * supported span, with a notice when that cuts a list short, and serves at most
8
+ * `EVENTS_PER_CALL` events per call with a notice naming the `start` and `count` that
9
+ * continue.
7
10
  * Validation gates fail fast when an event needs a body that was not supplied, when an
8
11
  * eclipse observer is half-specified, or when the body has no such event.
9
12
  * @module mcp-server/tools/definitions/find-events.tool
@@ -45,6 +48,8 @@ export declare const FindEventsOutput: z.ZodObject<{
45
48
  new: "new";
46
49
  }>>;
47
50
  body: z.ZodOptional<z.ZodString>;
51
+ body2: z.ZodOptional<z.ZodString>;
52
+ separation_degrees: z.ZodOptional<z.ZodNumber>;
48
53
  conjunction_kind: z.ZodOptional<z.ZodEnum<{
49
54
  inferior: "inferior";
50
55
  superior: "superior";
@@ -92,6 +97,17 @@ export declare const findEventsTool: import("@cyanheads/mcp-ts-core").ToolDefini
92
97
  uranus: "uranus";
93
98
  venus: "venus";
94
99
  }>>;
100
+ body2: z.ZodOptional<z.ZodEnum<{
101
+ jupiter: "jupiter";
102
+ mars: "mars";
103
+ mercury: "mercury";
104
+ moon: "moon";
105
+ neptune: "neptune";
106
+ pluto: "pluto";
107
+ saturn: "saturn";
108
+ uranus: "uranus";
109
+ venus: "venus";
110
+ }>>;
95
111
  latitude: z.ZodOptional<z.ZodNumber>;
96
112
  longitude: z.ZodOptional<z.ZodNumber>;
97
113
  elevation: z.ZodDefault<z.ZodNumber>;
@@ -131,6 +147,8 @@ export declare const findEventsTool: import("@cyanheads/mcp-ts-core").ToolDefini
131
147
  new: "new";
132
148
  }>>;
133
149
  body: z.ZodOptional<z.ZodString>;
150
+ body2: z.ZodOptional<z.ZodString>;
151
+ separation_degrees: z.ZodOptional<z.ZodNumber>;
134
152
  conjunction_kind: z.ZodOptional<z.ZodEnum<{
135
153
  inferior: "inferior";
136
154
  superior: "superior";
@@ -162,8 +180,14 @@ export declare const findEventsTool: import("@cyanheads/mcp-ts-core").ToolDefini
162
180
  }, {
163
181
  readonly reason: "body_not_supported";
164
182
  readonly code: JsonRpcErrorCode.InvalidParams;
165
- readonly when: "The body has no such event — opposition for the Sun, Moon, Earth, or an inner planet; conjunction for the Sun, Moon, or Earth; max_elongation for anything but mercury or venus; perigee_apogee for the Sun.";
166
- readonly recovery: "Pick a body the event is defined for: a superior planet (mars through pluto) for opposition, any planet for conjunction, mercury or venus for max_elongation, and the moon, earth, or a planet for perigee_apogee.";
183
+ readonly when: "The body has no such event — opposition for the Sun, Moon, Earth, or an inner planet; conjunction without `body2` for the Sun, Moon, or Earth; max_elongation for anything but mercury or venus; perigee_apogee for the Sun.";
184
+ readonly recovery: "Pick a body the event is defined for: a superior planet (mars through pluto) for opposition, any planet for conjunction (or the Moon with a planet as body2), mercury or venus for max_elongation, and the moon, earth, or a planet for perigee_apogee.";
185
+ readonly thrownBy: "service";
186
+ }, {
187
+ readonly reason: "invalid_body_pair";
188
+ readonly code: JsonRpcErrorCode.InvalidParams;
189
+ readonly when: "`body2` was supplied with an event other than conjunction, names the same body as `body`, or is paired with a `body` of sun or earth.";
190
+ readonly recovery: "body2 applies only to event \"conjunction\" and pairs two different bodies among the Moon and the planets (mercury through pluto). For a planet's conjunction with the Sun, pass the planet as body and omit body2; for the Moon's, search moon_quarter for the new moon.";
167
191
  readonly thrownBy: "service";
168
192
  }, {
169
193
  readonly reason: "invalid_time";
@@ -185,6 +209,9 @@ export declare const findEventsTool: import("@cyanheads/mcp-ts-core").ToolDefini
185
209
  readonly thrownBy: "service";
186
210
  }], {
187
211
  readonly totalCount: z.ZodNumber;
212
+ readonly truncated: z.ZodOptional<z.ZodBoolean>;
213
+ readonly shown: z.ZodOptional<z.ZodNumber>;
214
+ readonly cap: z.ZodOptional<z.ZodNumber>;
188
215
  readonly notice: z.ZodOptional<z.ZodString>;
189
216
  }>;
190
217
  //# sourceMappingURL=find-events.tool.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"find-events.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/find-events.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAgBjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8G3B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEpE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoPzB,CAAC"}
1
+ {"version":3,"file":"find-events.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/find-events.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AA6CjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0H3B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEpE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgSzB,CAAC"}