@cyanheads/astronomy-mcp-server 0.3.1 → 0.4.0
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.
- package/AGENTS.md +4 -4
- package/CLAUDE.md +4 -4
- package/README.md +11 -8
- package/changelog/0.4.x/0.4.0.md +18 -0
- package/dist/mcp-server/tools/definitions/get-moon-phase.tool.d.ts +3 -3
- package/dist/mcp-server/tools/definitions/get-moon-phase.tool.js +6 -6
- package/dist/mcp-server/tools/definitions/get-moon-phase.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-rise-set.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-rise-set.tool.js +9 -9
- package/dist/mcp-server/tools/definitions/get-rise-set.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-sky-position.tool.d.ts +4 -2
- package/dist/mcp-server/tools/definitions/get-sky-position.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-sky-position.tool.js +10 -4
- package/dist/mcp-server/tools/definitions/get-sky-position.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/list-visible.tool.d.ts +2 -0
- package/dist/mcp-server/tools/definitions/list-visible.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/list-visible.tool.js +4 -2
- package/dist/mcp-server/tools/definitions/list-visible.tool.js.map +1 -1
- package/dist/services/ephemeris/ephemeris-service.d.ts +7 -1
- package/dist/services/ephemeris/ephemeris-service.d.ts.map +1 -1
- package/dist/services/ephemeris/ephemeris-service.js +75 -22
- package/dist/services/ephemeris/ephemeris-service.js.map +1 -1
- package/dist/services/ephemeris/star-catalog.d.ts +13 -0
- package/dist/services/ephemeris/star-catalog.d.ts.map +1 -1
- package/dist/services/ephemeris/star-catalog.js +60 -0
- package/dist/services/ephemeris/star-catalog.js.map +1 -1
- package/dist/services/ephemeris/types.d.ts +7 -1
- package/dist/services/ephemeris/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/server.json +3 -3
package/AGENTS.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Developer Protocol
|
|
2
2
|
|
|
3
3
|
**Server:** astronomy-mcp-server
|
|
4
|
-
**Version:** 0.
|
|
4
|
+
**Version:** 0.4.0
|
|
5
5
|
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.6`
|
|
6
6
|
**Engines:** Bun ≥1.4.0, Node ≥24.0.0
|
|
7
7
|
**MCP SDK:** `@modelcontextprotocol/server` ^2.0.0
|
|
@@ -19,9 +19,9 @@ Observational astronomy, computed in-process. The core is keyless and offline
|
|
|
19
19
|
|
|
20
20
|
| Tool | What it computes |
|
|
21
21
|
|:-----|:-----------------|
|
|
22
|
-
| `astronomy_get_sky_position` | Apparent topocentric position of one body or named star — equatorial / horizontal / ecliptic, magnitude, angular diameter, phase, constellation |
|
|
22
|
+
| `astronomy_get_sky_position` | Apparent topocentric position of one body or named star — equatorial / horizontal / ecliptic, magnitude, angular diameter, phase, Sun elongation, constellation |
|
|
23
23
|
| `astronomy_get_rise_set` | Rise / set / transit cycles, plus twilight bands for the Sun; circumpolar / never-rises notes |
|
|
24
|
-
| `astronomy_get_moon_phase` | Phase
|
|
24
|
+
| `astronomy_get_moon_phase` | Phase longitude, illumination, synodic age, next four quarter phases |
|
|
25
25
|
| `astronomy_find_events` | Next N of: equinox, solstice, moon_quarter, lunar/solar eclipse, opposition, conjunction, max_elongation, perigee_apogee |
|
|
26
26
|
| `astronomy_list_visible` | One-call "what is up now" — naked-eye bodies (+ optional catalog stars) above the horizon, ranked, with a sky-condition gate |
|
|
27
27
|
|
|
@@ -61,7 +61,7 @@ import { getEphemerisService } from '@/services/ephemeris/ephemeris-service.js';
|
|
|
61
61
|
export const getMoonPhaseTool = tool('astronomy_get_moon_phase', {
|
|
62
62
|
title: 'astronomy-mcp-server: get moon phase',
|
|
63
63
|
description:
|
|
64
|
-
'Report the Moon phase for an instant: illuminated fraction, phase name, synodic age, phase
|
|
64
|
+
'Report the Moon phase for an instant: illuminated fraction, phase name, synodic age, phase longitude, and the next four quarter phases.',
|
|
65
65
|
annotations: { readOnlyHint: true, openWorldHint: false, idempotentHint: true },
|
|
66
66
|
input: z.object({
|
|
67
67
|
time: z.string().optional().describe('Instant to evaluate as an ISO 8601 UTC string. Defaults to now.'),
|
package/CLAUDE.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Developer Protocol
|
|
2
2
|
|
|
3
3
|
**Server:** astronomy-mcp-server
|
|
4
|
-
**Version:** 0.
|
|
4
|
+
**Version:** 0.4.0
|
|
5
5
|
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.6`
|
|
6
6
|
**Engines:** Bun ≥1.4.0, Node ≥24.0.0
|
|
7
7
|
**MCP SDK:** `@modelcontextprotocol/server` ^2.0.0
|
|
@@ -19,9 +19,9 @@ Observational astronomy, computed in-process. The core is keyless and offline
|
|
|
19
19
|
|
|
20
20
|
| Tool | What it computes |
|
|
21
21
|
|:-----|:-----------------|
|
|
22
|
-
| `astronomy_get_sky_position` | Apparent topocentric position of one body or named star — equatorial / horizontal / ecliptic, magnitude, angular diameter, phase, constellation |
|
|
22
|
+
| `astronomy_get_sky_position` | Apparent topocentric position of one body or named star — equatorial / horizontal / ecliptic, magnitude, angular diameter, phase, Sun elongation, constellation |
|
|
23
23
|
| `astronomy_get_rise_set` | Rise / set / transit cycles, plus twilight bands for the Sun; circumpolar / never-rises notes |
|
|
24
|
-
| `astronomy_get_moon_phase` | Phase
|
|
24
|
+
| `astronomy_get_moon_phase` | Phase longitude, illumination, synodic age, next four quarter phases |
|
|
25
25
|
| `astronomy_find_events` | Next N of: equinox, solstice, moon_quarter, lunar/solar eclipse, opposition, conjunction, max_elongation, perigee_apogee |
|
|
26
26
|
| `astronomy_list_visible` | One-call "what is up now" — naked-eye bodies (+ optional catalog stars) above the horizon, ranked, with a sky-condition gate |
|
|
27
27
|
|
|
@@ -61,7 +61,7 @@ import { getEphemerisService } from '@/services/ephemeris/ephemeris-service.js';
|
|
|
61
61
|
export const getMoonPhaseTool = tool('astronomy_get_moon_phase', {
|
|
62
62
|
title: 'astronomy-mcp-server: get moon phase',
|
|
63
63
|
description:
|
|
64
|
-
'Report the Moon phase for an instant: illuminated fraction, phase name, synodic age, phase
|
|
64
|
+
'Report the Moon phase for an instant: illuminated fraction, phase name, synodic age, phase longitude, and the next four quarter phases.',
|
|
65
65
|
annotations: { readOnlyHint: true, openWorldHint: false, idempotentHint: true },
|
|
66
66
|
input: z.object({
|
|
67
67
|
time: z.string().optional().describe('Instant to evaluate as an ISO 8601 UTC string. Defaults to now.'),
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
<div align="center">
|
|
9
9
|
|
|
10
|
-
[](./CHANGELOG.md) [](./LICENSE) [](https://github.com/users/cyanheads/packages/container/package/astronomy-mcp-server) [](https://modelcontextprotocol.io/) [](https://www.npmjs.com/package/@cyanheads/astronomy-mcp-server) [](https://www.typescriptlang.org/) [](https://bun.sh/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
13
13
|
|
|
@@ -35,9 +35,9 @@ Observational astronomy computed in-process from [`astronomy-engine`](https://gi
|
|
|
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, and constellation. |
|
|
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
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
|
|
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
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
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
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. |
|
|
@@ -64,7 +64,8 @@ Design reference: [`docs/design.md`](./docs/design.md).
|
|
|
64
64
|
### `astronomy_get_sky_position` <sub>tool</sub>
|
|
65
65
|
|
|
66
66
|
- Target one solar-system body (`body`) or a named bright star (`star`, takes precedence over `body`) — one of the two is required
|
|
67
|
-
-
|
|
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
|
|
68
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
|
|
69
70
|
- `magnitude`, `angular_diameter_arcsec`, `phase_angle_degrees`, and `illuminated_fraction` are `null`, never fabricated, where the engine can't compute them
|
|
70
71
|
- Default elevation 0 m, default time now; pass `timezone` for observer-local output alongside UTC
|
|
@@ -74,7 +75,7 @@ Design reference: [`docs/design.md`](./docs/design.md).
|
|
|
74
75
|
### `astronomy_get_rise_set` <sub>tool</sub>
|
|
75
76
|
|
|
76
77
|
- Searches forward from `start` (default now) and returns the next `count` cycles — default 1, max 31
|
|
77
|
-
- For `body: "sun"`, each cycle also carries the three twilight pairs (civil −6°, nautical −12°, astronomical −18°)
|
|
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
|
|
78
79
|
- Circumpolar or never-rises situations return `null` rise/set fields with an explanatory `note`, not an error
|
|
79
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`
|
|
80
81
|
- Default elevation 0 m; pass `timezone` for observer-local times alongside UTC
|
|
@@ -84,7 +85,8 @@ Design reference: [`docs/design.md`](./docs/design.md).
|
|
|
84
85
|
### `astronomy_get_moon_phase` <sub>tool</sub>
|
|
85
86
|
|
|
86
87
|
- Geocentric — no observer location needed
|
|
87
|
-
- Returns illuminated fraction, phase
|
|
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
|
|
88
90
|
- `time` defaults to now; pass `timezone` for observer-local timestamps alongside UTC
|
|
89
91
|
|
|
90
92
|
---
|
|
@@ -106,7 +108,8 @@ Design reference: [`docs/design.md`](./docs/design.md).
|
|
|
106
108
|
### `astronomy_list_visible` <sub>tool</sub>
|
|
107
109
|
|
|
108
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
|
|
109
|
-
- Each body carries a deterministic `visibility_note` computed from real magnitude and altitude
|
|
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
|
|
110
113
|
- Returns the whole-sky `sky_condition` (`daylight` / `civil_twilight` / `nautical_twilight` / `astronomical_twilight` / `dark`) and the Sun's altitude alongside the list
|
|
111
114
|
- `time` is a single evaluation instant, not a window; `min_altitude` (default 0) filters out bodies grazing the horizon
|
|
112
115
|
- Default elevation 0 m; pass `timezone` for observer-local times per body
|
|
@@ -167,7 +170,7 @@ Astronomy-specific:
|
|
|
167
170
|
Agent-friendly output:
|
|
168
171
|
|
|
169
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
|
|
170
|
-
- Deterministic visibility notes — `astronomy_list_visible`'s plain-language headline is computed from real magnitude and
|
|
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
|
|
171
174
|
- Typed error contracts with recovery hints — out-of-range time, missing observer/body, unresolved designation — so callers can correct and retry
|
|
172
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
|
|
173
176
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "BREAKING: astronomy_get_moon_phase's phase_angle_degrees is renamed phase_longitude_degrees; astronomy_get_sky_position and astronomy_list_visible gain sun_elongation_degrees with daylight/twilight/glare-aware visibility notes, and star_not_found now lists the catalog with Bayer designations resolving Greek symbols and IAU abbreviations."
|
|
3
|
+
breaking: true
|
|
4
|
+
security: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 0.4.0 — 2026-09-23
|
|
8
|
+
|
|
9
|
+
## Added
|
|
10
|
+
|
|
11
|
+
- **`astronomy_get_sky_position` / `astronomy_list_visible`: `sun_elongation_degrees`** — angular distance from the Sun in degrees [0,180], seen from Earth's center; 0 for the Sun itself. ([#41](https://github.com/cyanheads/astronomy-mcp-server/issues/41))
|
|
12
|
+
- **`astronomy_list_visible`'s `visibility_note`** now flags daylight ("daylight, not naked-eye visible"), civil twilight ("civil twilight, sky still bright"), and glare within 15° of the Sun. The Sun is exempt from all three; the Moon and a negative-magnitude Venus are exempt from the daylight/twilight flags but not glare. ([#41](https://github.com/cyanheads/astronomy-mcp-server/issues/41))
|
|
13
|
+
- **`astronomy_get_sky_position`'s `star` lookup** resolves Bayer designations with the Greek letter as a symbol or spelled out and the constellation as its genitive or IAU abbreviation — `α CMa`, `Alpha CMa`, and `Alpha Canis Majoris` all resolve to Sirius. A miss now lists all 32 catalog stars in the message and as `data.catalog_stars`. ([#40](https://github.com/cyanheads/astronomy-mcp-server/issues/40))
|
|
14
|
+
|
|
15
|
+
## Changed
|
|
16
|
+
|
|
17
|
+
- **BREAKING:** `astronomy_get_moon_phase`'s `phase_angle_degrees` is renamed to `phase_longitude_degrees` — the Moon–Sun ecliptic-longitude difference (0 new, 180 full). Values are unchanged; only the field name changed. `astronomy_get_sky_position` and `astronomy_list_visible` keep their own Sun–body–observer `phase_angle_degrees`, which reads 0 at full moon. **Migration:** read `phase_longitude_degrees` wherever you previously read `astronomy_get_moon_phase`'s `phase_angle_degrees`. ([#35](https://github.com/cyanheads/astronomy-mcp-server/issues/35))
|
|
18
|
+
- **`astronomy_get_rise_set`'s twilight pairs** are now documented as dusk plus the *following* morning's dawn — the dawn beside a given rise is a day later than it, not the dawn that preceded it. No behavior change; the field descriptions and tool description now state the pairing explicitly. ([#36](https://github.com/cyanheads/astronomy-mcp-server/issues/36))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview astronomy_get_moon_phase — illuminated fraction, phase name, age,
|
|
3
|
-
* phase
|
|
3
|
+
* phase longitude, and the next four lunar quarters for a given instant.
|
|
4
4
|
* @module mcp-server/tools/definitions/get-moon-phase.tool
|
|
5
5
|
*/
|
|
6
6
|
import { z } from '@cyanheads/mcp-ts-core';
|
|
@@ -8,7 +8,7 @@ import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors';
|
|
|
8
8
|
export declare const MoonPhaseOutput: z.ZodObject<{
|
|
9
9
|
time_utc: z.ZodString;
|
|
10
10
|
time_local: z.ZodOptional<z.ZodString>;
|
|
11
|
-
|
|
11
|
+
phase_longitude_degrees: z.ZodNumber;
|
|
12
12
|
illuminated_fraction: z.ZodNumber;
|
|
13
13
|
phase_name: z.ZodString;
|
|
14
14
|
age_days: z.ZodNumber;
|
|
@@ -30,7 +30,7 @@ export declare const getMoonPhaseTool: import("@cyanheads/mcp-ts-core").ToolDefi
|
|
|
30
30
|
}, z.core.$strip>, z.ZodObject<{
|
|
31
31
|
time_utc: z.ZodString;
|
|
32
32
|
time_local: z.ZodOptional<z.ZodString>;
|
|
33
|
-
|
|
33
|
+
phase_longitude_degrees: z.ZodNumber;
|
|
34
34
|
illuminated_fraction: z.ZodNumber;
|
|
35
35
|
phase_name: z.ZodString;
|
|
36
36
|
age_days: z.ZodNumber;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview astronomy_get_moon_phase — illuminated fraction, phase name, age,
|
|
3
|
-
* phase
|
|
3
|
+
* phase longitude, and the next four lunar quarters for a given instant.
|
|
4
4
|
* @module mcp-server/tools/definitions/get-moon-phase.tool
|
|
5
5
|
*/
|
|
6
6
|
import { tool, z } from '@cyanheads/mcp-ts-core';
|
|
@@ -20,9 +20,9 @@ export const MoonPhaseOutput = z.object({
|
|
|
20
20
|
.string()
|
|
21
21
|
.optional()
|
|
22
22
|
.describe('The same instant in the observer-local timezone with offset, present only when a timezone was supplied.'),
|
|
23
|
-
|
|
23
|
+
phase_longitude_degrees: z
|
|
24
24
|
.number()
|
|
25
|
-
.describe('
|
|
25
|
+
.describe("The Moon's ecliptic longitude minus the Sun's, in degrees [0,360): 0 = new, 90 = first quarter, 180 = full, 270 = last quarter. Not the Sun–body–observer phase angle astronomy_get_sky_position reports as phase_angle_degrees, which reads 0 at full moon."),
|
|
26
26
|
illuminated_fraction: z.number().describe('Fraction of the lunar disc illuminated, 0 to 1.'),
|
|
27
27
|
phase_name: z
|
|
28
28
|
.string()
|
|
@@ -45,7 +45,7 @@ export const MoonPhaseOutput = z.object({
|
|
|
45
45
|
});
|
|
46
46
|
export const getMoonPhaseTool = tool('astronomy_get_moon_phase', {
|
|
47
47
|
title: 'astronomy-mcp-server: get moon phase',
|
|
48
|
-
description: 'Report the Moon phase for an instant: illuminated fraction, phase name, synodic age in days since the new moon, phase
|
|
48
|
+
description: '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.',
|
|
49
49
|
annotations: { readOnlyHint: true, openWorldHint: false, idempotentHint: true },
|
|
50
50
|
input: z.object({
|
|
51
51
|
time: z
|
|
@@ -96,7 +96,7 @@ export const getMoonPhaseTool = tool('astronomy_get_moon_phase', {
|
|
|
96
96
|
const out = {
|
|
97
97
|
time_utc: phase.timeUtc,
|
|
98
98
|
...(phase.timeLocal ? { time_local: phase.timeLocal } : {}),
|
|
99
|
-
|
|
99
|
+
phase_longitude_degrees: phase.phaseLongitudeDegrees,
|
|
100
100
|
illuminated_fraction: phase.illuminatedFraction,
|
|
101
101
|
phase_name: phase.phaseName,
|
|
102
102
|
age_days: phase.ageDays,
|
|
@@ -115,7 +115,7 @@ export const getMoonPhaseTool = tool('astronomy_get_moon_phase', {
|
|
|
115
115
|
if (r.time_local)
|
|
116
116
|
lines.push(`**Time (local):** ${r.time_local}`);
|
|
117
117
|
lines.push(`**Illuminated:** ${pct(r.illuminated_fraction, 1)}`);
|
|
118
|
-
lines.push(`**Phase
|
|
118
|
+
lines.push(`**Phase longitude:** ${num(r.phase_longitude_degrees, 1, '°')}`);
|
|
119
119
|
lines.push(`**Age:** ${num(r.age_days, 1, ' days')} since new moon`);
|
|
120
120
|
lines.push('**Next quarters:**');
|
|
121
121
|
for (const q of r.next_quarters) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-moon-phase.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-moon-phase.tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAEhF,MAAM,aAAa,GAA2B;IAC5C,GAAG,EAAE,UAAU;IACf,aAAa,EAAE,eAAe;IAC9B,IAAI,EAAE,WAAW;IACjB,YAAY,EAAE,cAAc;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,0DAA0D,CAAC;IACzF,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,yGAAyG,CAC1G;IACH,
|
|
1
|
+
{"version":3,"file":"get-moon-phase.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-moon-phase.tool.ts"],"names":[],"mappings":"AAAA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tools/definitions/get-rise-set.tool.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"get-rise-set.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-rise-set.tool.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AA6CjE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsExB,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE9D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8IzB,CAAC"}
|
|
@@ -23,21 +23,21 @@ const TwilightPairSchema = z.object({
|
|
|
23
23
|
dawn_utc: z
|
|
24
24
|
.string()
|
|
25
25
|
.nullable()
|
|
26
|
-
.describe(
|
|
26
|
+
.describe("Dawn (Sun ascending through the depth) in ISO 8601 UTC, or null if it does not occur. This is the morning after the cycle's set, ending the night that begins at the dusk beside it — a day later than the cycle's rise, not the dawn before it."),
|
|
27
27
|
dusk_utc: z
|
|
28
28
|
.string()
|
|
29
29
|
.nullable()
|
|
30
|
-
.describe(
|
|
30
|
+
.describe("Dusk (Sun descending through the depth) in ISO 8601 UTC, or null if it does not occur. This is the evening of the cycle's set."),
|
|
31
31
|
dawn_local: z
|
|
32
32
|
.string()
|
|
33
33
|
.nullable()
|
|
34
34
|
.optional()
|
|
35
|
-
.describe(
|
|
35
|
+
.describe("Dawn in observer-local time — the morning after the cycle's set — present only when a timezone was supplied."),
|
|
36
36
|
dusk_local: z
|
|
37
37
|
.string()
|
|
38
38
|
.nullable()
|
|
39
39
|
.optional()
|
|
40
|
-
.describe(
|
|
40
|
+
.describe("Dusk in observer-local time — the evening of the cycle's set — present only when a timezone was supplied."),
|
|
41
41
|
});
|
|
42
42
|
export const RiseSetOutput = z.object({
|
|
43
43
|
body: z.string().describe('The body these rise/set cycles are for, echoed from the request.'),
|
|
@@ -74,12 +74,12 @@ export const RiseSetOutput = z.object({
|
|
|
74
74
|
.describe('Culmination time in observer-local time, present only when a timezone was supplied.'),
|
|
75
75
|
twilight: z
|
|
76
76
|
.object({
|
|
77
|
-
civil: TwilightPairSchema.describe('Civil twilight (Sun at −6°)
|
|
78
|
-
nautical: TwilightPairSchema.describe('Nautical twilight (Sun at −12°)
|
|
79
|
-
astronomical: TwilightPairSchema.describe('Astronomical twilight (Sun at −18°)
|
|
77
|
+
civil: TwilightPairSchema.describe('Civil twilight (Sun at −6°): dusk and the following dawn.'),
|
|
78
|
+
nautical: TwilightPairSchema.describe('Nautical twilight (Sun at −12°): dusk and the following dawn.'),
|
|
79
|
+
astronomical: TwilightPairSchema.describe('Astronomical twilight (Sun at −18°): dusk and the following dawn, bounding the dark-sky window.'),
|
|
80
80
|
})
|
|
81
81
|
.optional()
|
|
82
|
-
.describe(
|
|
82
|
+
.describe("The three twilight pairs, present only when body is \"sun\". Each pair spans one night: dusk is the evening of this cycle's set and dawn is the following morning, so a cycle's dawn falls a day after its rise. The dawn before a given sunrise is in the previous cycle's pair — start the search a day earlier to get it."),
|
|
83
83
|
note: z
|
|
84
84
|
.string()
|
|
85
85
|
.optional()
|
|
@@ -90,7 +90,7 @@ export const RiseSetOutput = z.object({
|
|
|
90
90
|
});
|
|
91
91
|
export const getRiseSetTool = tool('astronomy_get_rise_set', {
|
|
92
92
|
title: 'astronomy-mcp-server: get rise/set times',
|
|
93
|
-
description: 'Compute rise, set, and culmination (transit) times for a body at an observer location, plus the maximum altitude at culmination. For the Sun, also returns the three twilight pairs (civil −6°, nautical −12°, astronomical −18°) so a single call answers "when does the sun set and when is it truly dark." Searches forward from `start` (default today) and returns the next `count` cycles (default 1). When the body is already above the horizon at `start`, the first cycle is the interval in progress: its `set` is the imminent one and its `rise` is null, since that rise precedes the search — so a set is never reported earlier than the rise beside it. Circumpolar or never-rises situations are reported as null rise/set fields with an explanatory note rather than an error — the fact is the answer. Default elevation is 0 m; pass an IANA `timezone` for observer-local times. This server does not geocode — resolve coordinates upstream first.',
|
|
93
|
+
description: 'Compute rise, set, and culmination (transit) times for a body at an observer location, plus the maximum altitude at culmination. For the Sun, also returns the three twilight pairs (civil −6°, nautical −12°, astronomical −18°) so a single call answers "when does the sun set and when is it truly dark." Each pair covers the night after the cycle\'s set — dusk that evening, dawn the next morning — so the dawn listed beside a sunrise is the following day\'s; for the dawn before a sunrise, read the previous cycle or start a day earlier. Searches forward from `start` (default today) and returns the next `count` cycles (default 1). When the body is already above the horizon at `start`, the first cycle is the interval in progress: its `set` is the imminent one and its `rise` is null, since that rise precedes the search — so a set is never reported earlier than the rise beside it. Circumpolar or never-rises situations are reported as null rise/set fields with an explanatory note rather than an error — the fact is the answer. Default elevation is 0 m; pass an IANA `timezone` for observer-local times. This server does not geocode — resolve coordinates upstream first.',
|
|
94
94
|
annotations: { readOnlyHint: true, openWorldHint: false, idempotentHint: true },
|
|
95
95
|
input: z.object({
|
|
96
96
|
body: z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-rise-set.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-rise-set.tool.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AA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AC,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;gBACpD,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,mBAAmB,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC;gBAC1D,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,uBAAuB,EAAE,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC;YACpE,CAAC;QACH,CAAC,CAAC,CAAC;QACH,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACpD,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -37,6 +37,7 @@ export declare const SkyPositionOutput: z.ZodObject<{
|
|
|
37
37
|
angular_diameter_arcsec: z.ZodNullable<z.ZodNumber>;
|
|
38
38
|
phase_angle_degrees: z.ZodNullable<z.ZodNumber>;
|
|
39
39
|
illuminated_fraction: z.ZodNullable<z.ZodNumber>;
|
|
40
|
+
sun_elongation_degrees: z.ZodNumber;
|
|
40
41
|
constellation: z.ZodObject<{
|
|
41
42
|
abbreviation: z.ZodString;
|
|
42
43
|
name: z.ZodString;
|
|
@@ -94,6 +95,7 @@ export declare const getSkyPositionTool: import("@cyanheads/mcp-ts-core").ToolDe
|
|
|
94
95
|
angular_diameter_arcsec: z.ZodNullable<z.ZodNumber>;
|
|
95
96
|
phase_angle_degrees: z.ZodNullable<z.ZodNumber>;
|
|
96
97
|
illuminated_fraction: z.ZodNullable<z.ZodNumber>;
|
|
98
|
+
sun_elongation_degrees: z.ZodNumber;
|
|
97
99
|
constellation: z.ZodObject<{
|
|
98
100
|
abbreviation: z.ZodString;
|
|
99
101
|
name: z.ZodString;
|
|
@@ -119,8 +121,8 @@ export declare const getSkyPositionTool: import("@cyanheads/mcp-ts-core").ToolDe
|
|
|
119
121
|
}, {
|
|
120
122
|
readonly reason: "star_not_found";
|
|
121
123
|
readonly code: JsonRpcErrorCode.NotFound;
|
|
122
|
-
readonly when: "The `star` name is not present in the bundled bright-star catalog.";
|
|
123
|
-
readonly recovery: "
|
|
124
|
+
readonly when: "The `star` name is not present in the bundled bright-star catalog. The error lists every catalog star, in the message and as `catalog_stars`.";
|
|
125
|
+
readonly recovery: "Pick a star from the catalog this error lists, by common name or Bayer designation (e.g. \"Sirius\", \"Alpha CMa\", \"α Canis Majoris\"). A star outside the catalog cannot be located.";
|
|
124
126
|
readonly thrownBy: "service";
|
|
125
127
|
}, {
|
|
126
128
|
readonly reason: "body_required";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sky-position.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-sky-position.tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"get-sky-position.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-sky-position.tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAQjE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8E5B,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEtE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmH7B,CAAC;AAgDH,kFAAkF;AAClF,wBAAgB,cAAc,CAAC,CAAC,EAAE,qBAAqB,GAAG,MAAM,CAgC/D"}
|
|
@@ -9,6 +9,7 @@ import { getServerConfig } from '../../../config/server-config.js';
|
|
|
9
9
|
import { num, pct, sig } from '../format-numbers.js';
|
|
10
10
|
import { BODY_META } from '../../../services/ephemeris/body-data.js';
|
|
11
11
|
import { getEphemerisService } from '../../../services/ephemeris/ephemeris-service.js';
|
|
12
|
+
import { STAR_CATALOG } from '../../../services/ephemeris/star-catalog.js';
|
|
12
13
|
import { BODY_NAMES } from '../../../services/ephemeris/types.js';
|
|
13
14
|
export const SkyPositionOutput = z.object({
|
|
14
15
|
body: z.string().describe('The body or star this position is for, echoed from the request.'),
|
|
@@ -67,6 +68,9 @@ export const SkyPositionOutput = z.object({
|
|
|
67
68
|
.number()
|
|
68
69
|
.nullable()
|
|
69
70
|
.describe('Fraction of the disc illuminated, 0 to 1. Null when not applicable.'),
|
|
71
|
+
sun_elongation_degrees: z
|
|
72
|
+
.number()
|
|
73
|
+
.describe("Angular distance from the Sun in degrees [0,180], seen from Earth's center. A body within about 15° of the Sun is lost in its glare. 0 for the Sun itself."),
|
|
70
74
|
constellation: z
|
|
71
75
|
.object({
|
|
72
76
|
abbreviation: z.string().describe('IAU 3-letter constellation abbreviation, e.g. "Ori".'),
|
|
@@ -76,7 +80,7 @@ export const SkyPositionOutput = z.object({
|
|
|
76
80
|
});
|
|
77
81
|
export const getSkyPositionTool = tool('astronomy_get_sky_position', {
|
|
78
82
|
title: 'astronomy-mcp-server: get sky position',
|
|
79
|
-
description: '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, 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.',
|
|
83
|
+
description: '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.',
|
|
80
84
|
annotations: { readOnlyHint: true, openWorldHint: false, idempotentHint: true },
|
|
81
85
|
input: z.object({
|
|
82
86
|
body: z
|
|
@@ -86,7 +90,7 @@ export const getSkyPositionTool = tool('astronomy_get_sky_position', {
|
|
|
86
90
|
star: z
|
|
87
91
|
.string()
|
|
88
92
|
.optional()
|
|
89
|
-
.describe(
|
|
93
|
+
.describe(`Named star to locate, from a bundled catalog of ${STAR_CATALOG.length} stars — about 30 of the brightest naked-eye stars plus Polaris, not an arbitrary star. Accepts a common name or Bayer designation, with the Greek letter spelled out or as a symbol and the constellation as its genitive or IAU abbreviation (e.g. "Sirius", "Alpha Centauri", "α CMa"). A name outside the catalog fails with the full list of catalog stars. Takes precedence over \`body\`.`),
|
|
90
94
|
latitude: z
|
|
91
95
|
.number()
|
|
92
96
|
.min(-90)
|
|
@@ -139,9 +143,9 @@ export const getSkyPositionTool = tool('astronomy_get_sky_position', {
|
|
|
139
143
|
{
|
|
140
144
|
reason: 'star_not_found',
|
|
141
145
|
code: JsonRpcErrorCode.NotFound,
|
|
142
|
-
when: 'The `star` name is not present in the bundled bright-star catalog.',
|
|
146
|
+
when: 'The `star` name is not present in the bundled bright-star catalog. The error lists every catalog star, in the message and as `catalog_stars`.',
|
|
143
147
|
// Verbatim the hint EphemerisService.lookupStar() throws with.
|
|
144
|
-
recovery: '
|
|
148
|
+
recovery: 'Pick a star from the catalog this error lists, by common name or Bayer designation (e.g. "Sirius", "Alpha CMa", "α Canis Majoris"). A star outside the catalog cannot be located.',
|
|
145
149
|
thrownBy: 'service',
|
|
146
150
|
},
|
|
147
151
|
{
|
|
@@ -218,6 +222,7 @@ function toOutput(pos) {
|
|
|
218
222
|
angular_diameter_arcsec: pos.angularDiameterArcsec,
|
|
219
223
|
phase_angle_degrees: pos.phaseAngleDegrees,
|
|
220
224
|
illuminated_fraction: pos.illuminatedFraction,
|
|
225
|
+
sun_elongation_degrees: pos.sunElongationDegrees,
|
|
221
226
|
constellation: pos.constellation,
|
|
222
227
|
};
|
|
223
228
|
}
|
|
@@ -235,6 +240,7 @@ export function formatPosition(r) {
|
|
|
235
240
|
lines.push(`**Angular diameter:** ${r.angular_diameter_arcsec === null ? 'unavailable' : num(r.angular_diameter_arcsec, 2, '″')}`);
|
|
236
241
|
lines.push(`**Phase angle:** ${r.phase_angle_degrees === null ? 'unavailable' : num(r.phase_angle_degrees, 2, '°')}`);
|
|
237
242
|
lines.push(`**Illuminated fraction:** ${r.illuminated_fraction === null ? 'unavailable' : pct(r.illuminated_fraction, 1)}`);
|
|
243
|
+
lines.push(`**Sun elongation:** ${num(r.sun_elongation_degrees, 1, '°')}`);
|
|
238
244
|
lines.push(`**Constellation:** ${r.constellation.name} (${r.constellation.abbreviation})`);
|
|
239
245
|
if (r.body_metadata) {
|
|
240
246
|
lines.push(`**Body:** ${r.body_metadata.type}, mean radius ${r.body_metadata.mean_radius_km} km, naked-eye ${r.body_metadata.naked_eye ? 'yes' : 'no'}`);
|
|
@@ -1 +1 @@
|
|
|
1
|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,GAAG,CAAC,EAAE,CAAC,CAAC;IAC3E,KAAK,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,CAAC,aAAa,CAAC,YAAY,GAAG,CAAC,CAAC;IAC3F,IAAI,CAAC,CAAC,aAAa,EAAE,CAAC;QACpB,KAAK,CAAC,IAAI,CACR,aAAa,CAAC,CAAC,aAAa,CAAC,IAAI,iBAAiB,CAAC,CAAC,aAAa,CAAC,cAAc,kBAAkB,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,CAC7I,CAAC;IACJ,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC"}
|
|
@@ -39,6 +39,7 @@ export declare const ListVisibleOutput: z.ZodObject<{
|
|
|
39
39
|
angular_diameter_arcsec: z.ZodNullable<z.ZodNumber>;
|
|
40
40
|
phase_angle_degrees: z.ZodNullable<z.ZodNumber>;
|
|
41
41
|
illuminated_fraction: z.ZodNullable<z.ZodNumber>;
|
|
42
|
+
sun_elongation_degrees: z.ZodNumber;
|
|
42
43
|
constellation: z.ZodObject<{
|
|
43
44
|
abbreviation: z.ZodString;
|
|
44
45
|
name: z.ZodString;
|
|
@@ -88,6 +89,7 @@ export declare const listVisibleTool: import("@cyanheads/mcp-ts-core").ToolDefin
|
|
|
88
89
|
angular_diameter_arcsec: z.ZodNullable<z.ZodNumber>;
|
|
89
90
|
phase_angle_degrees: z.ZodNullable<z.ZodNumber>;
|
|
90
91
|
illuminated_fraction: z.ZodNullable<z.ZodNumber>;
|
|
92
|
+
sun_elongation_degrees: z.ZodNumber;
|
|
91
93
|
constellation: z.ZodObject<{
|
|
92
94
|
abbreviation: z.ZodString;
|
|
93
95
|
name: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-visible.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/list-visible.tool.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AA0BjE,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"list-visible.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/list-visible.tool.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AA0BjE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAe5B,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEtE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4K1B,CAAC"}
|
|
@@ -23,7 +23,7 @@ const VisibleBodySchema = SkyPositionOutput.omit({ body_metadata: true })
|
|
|
23
23
|
rank: z.number().describe('1-based rank, brightest-and-highest first.'),
|
|
24
24
|
visibility_note: z
|
|
25
25
|
.string()
|
|
26
|
-
.describe('Server-computed one-line headline from real values, e.g. "Venus, mag -4.1, 12° above the WSW horizon — very bright".'),
|
|
26
|
+
.describe('Server-computed one-line headline from real values, e.g. "Venus, mag -4.1, 12° above the WSW horizon — very bright". It states when the conditions hide a body: "daylight, not naked-eye visible" when the Sun is up, "N° from the Sun, lost in glare" within 15° of the Sun, and "civil twilight, sky still bright" in civil twilight. The Moon and a negative-magnitude Venus take no daylight or twilight caveat, being visible in a blue sky; the Sun takes none.'),
|
|
27
27
|
})
|
|
28
28
|
.describe('A sky position above the horizon, with its rank and a plain-language visibility note.');
|
|
29
29
|
export const ListVisibleOutput = z.object({
|
|
@@ -40,7 +40,7 @@ export const ListVisibleOutput = z.object({
|
|
|
40
40
|
});
|
|
41
41
|
export const listVisibleTool = tool('astronomy_list_visible', {
|
|
42
42
|
title: 'astronomy-mcp-server: list visible bodies',
|
|
43
|
-
description: 'The one-call "what is up right now" answer. For an observer location and instant, iterate every naked-eye solar-system body (and, with include_stars, the bundled bright stars), compute altitude and azimuth, keep those above the horizon, rank them brightest-and-highest first, and attach a plain-language visibility note to each. The whole sky is gated by the Sun\'s altitude into daylight / civil / nautical / astronomical twilight / dark, returned alongside the list. `time` is a single evaluation instant, not a window — for "tonight" pass a time after astronomical dusk (use astronomy_get_rise_set on the sun to find it). Default elevation 0 m; use min_altitude to skip objects grazing the horizon. This server does not geocode — resolve coordinates upstream first; pass an IANA timezone for observer-local times on each body.',
|
|
43
|
+
description: 'The one-call "what is up right now" answer. For an observer location and instant, iterate every naked-eye solar-system body (and, with include_stars, the bundled bright stars), compute altitude and azimuth, keep those above the horizon, rank them brightest-and-highest first, and attach a plain-language visibility note to each, along with its angular distance from the Sun. The whole sky is gated by the Sun\'s altitude into daylight / civil / nautical / astronomical twilight / dark, returned alongside the list, and each note says when daylight, civil twilight, or the Sun\'s glare hides or dims that body. `time` is a single evaluation instant, not a window — for "tonight" pass a time after astronomical dusk (use astronomy_get_rise_set on the sun to find it). Default elevation 0 m; use min_altitude to skip objects grazing the horizon. This server does not geocode — resolve coordinates upstream first; pass an IANA timezone for observer-local times on each body.',
|
|
44
44
|
annotations: { readOnlyHint: true, openWorldHint: false, idempotentHint: true },
|
|
45
45
|
input: z.object({
|
|
46
46
|
latitude: z
|
|
@@ -147,6 +147,7 @@ export const listVisibleTool = tool('astronomy_list_visible', {
|
|
|
147
147
|
angular_diameter_arcsec: b.angularDiameterArcsec,
|
|
148
148
|
phase_angle_degrees: b.phaseAngleDegrees,
|
|
149
149
|
illuminated_fraction: b.illuminatedFraction,
|
|
150
|
+
sun_elongation_degrees: b.sunElongationDegrees,
|
|
150
151
|
constellation: b.constellation,
|
|
151
152
|
rank: b.rank,
|
|
152
153
|
visibility_note: b.visibilityNote,
|
|
@@ -185,6 +186,7 @@ export const listVisibleTool = tool('astronomy_list_visible', {
|
|
|
185
186
|
`⌀ ${orNa(b.angular_diameter_arcsec, 1, '″')}`,
|
|
186
187
|
`phase ${orNa(b.phase_angle_degrees, 1, '°')}`,
|
|
187
188
|
`illum ${b.illuminated_fraction === null ? 'n/a' : pct(b.illuminated_fraction, 0)}`,
|
|
189
|
+
`elong ${num(b.sun_elongation_degrees, 1, '°')}`,
|
|
188
190
|
`ecl lon ${num(b.ecliptic.longitude_degrees, 1, '°')} lat ${num(b.ecliptic.latitude_degrees, 1, '°')}`,
|
|
189
191
|
`${b.constellation.name} (${b.constellation.abbreviation})`,
|
|
190
192
|
`${b.time_utc}${b.time_local ? ` (local ${b.time_local})` : ''}`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-visible.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/list-visible.tool.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D;;;;;;GAMG;AACH,MAAM,iBAAiB,GAAG,iBAAiB,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC;KACtE,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,4CAA4C,CAAC;IACvE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,QAAQ,CACP,
|
|
1
|
+
{"version":3,"file":"list-visible.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/list-visible.tool.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D;;;;;;GAMG;AACH,MAAM,iBAAiB,GAAG,iBAAiB,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC;KACtE,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,4CAA4C,CAAC;IACvE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,QAAQ,CACP,ucAAuc,CACxc;CACJ,CAAC;KACD,QAAQ,CACP,uFAAuF,CACxF,CAAC;AAEJ,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,aAAa,EAAE,CAAC;SACb,IAAI,CAAC,CAAC,UAAU,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,CAAC,CAAC;SAC1F,QAAQ,CACP,oGAAoG,CACrG;IACH,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,QAAQ,CAAC,gEAAgE,CAAC;IAC7E,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8DAA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