@cyanheads/astronomy-mcp-server 0.1.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.
- package/AGENTS.md +431 -0
- package/CLAUDE.md +431 -0
- package/Dockerfile +104 -0
- package/LICENSE +201 -0
- package/README.md +320 -0
- package/changelog/0.1.x/0.1.1.md +28 -0
- package/changelog/0.1.x/0.1.2.md +16 -0
- package/changelog/template.md +127 -0
- package/dist/config/server-config.d.ts +22 -0
- package/dist/config/server-config.d.ts.map +1 -0
- package/dist/config/server-config.js +40 -0
- package/dist/config/server-config.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +55 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp-server/prompts/definitions/stargazing-plan.prompt.d.ts +12 -0
- package/dist/mcp-server/prompts/definitions/stargazing-plan.prompt.d.ts.map +1 -0
- package/dist/mcp-server/prompts/definitions/stargazing-plan.prompt.js +36 -0
- package/dist/mcp-server/prompts/definitions/stargazing-plan.prompt.js.map +1 -0
- package/dist/mcp-server/resources/definitions/body.resource.d.ts +29 -0
- package/dist/mcp-server/resources/definitions/body.resource.d.ts.map +1 -0
- package/dist/mcp-server/resources/definitions/body.resource.js +65 -0
- package/dist/mcp-server/resources/definitions/body.resource.js.map +1 -0
- package/dist/mcp-server/tools/definitions/find-events.tool.d.ts +157 -0
- package/dist/mcp-server/tools/definitions/find-events.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/find-events.tool.js +242 -0
- package/dist/mcp-server/tools/definitions/find-events.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/get-ephemeris.tool.d.ts +62 -0
- package/dist/mcp-server/tools/definitions/get-ephemeris.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/get-ephemeris.tool.js +161 -0
- package/dist/mcp-server/tools/definitions/get-ephemeris.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/get-moon-phase.tool.d.ts +53 -0
- package/dist/mcp-server/tools/definitions/get-moon-phase.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/get-moon-phase.tool.js +109 -0
- package/dist/mcp-server/tools/definitions/get-moon-phase.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/get-rise-set.tool.d.ts +100 -0
- package/dist/mcp-server/tools/definitions/get-rise-set.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/get-rise-set.tool.js +200 -0
- package/dist/mcp-server/tools/definitions/get-rise-set.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/get-satellite-passes.tool.d.ts +77 -0
- package/dist/mcp-server/tools/definitions/get-satellite-passes.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/get-satellite-passes.tool.js +180 -0
- package/dist/mcp-server/tools/definitions/get-satellite-passes.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/get-sky-position.tool.d.ts +99 -0
- package/dist/mcp-server/tools/definitions/get-sky-position.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/get-sky-position.tool.js +196 -0
- package/dist/mcp-server/tools/definitions/get-sky-position.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/list-visible.tool.d.ts +104 -0
- package/dist/mcp-server/tools/definitions/list-visible.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/list-visible.tool.js +151 -0
- package/dist/mcp-server/tools/definitions/list-visible.tool.js.map +1 -0
- package/dist/services/ephemeris/body-data.d.ts +25 -0
- package/dist/services/ephemeris/body-data.d.ts.map +1 -0
- package/dist/services/ephemeris/body-data.js +24 -0
- package/dist/services/ephemeris/body-data.js.map +1 -0
- package/dist/services/ephemeris/ephemeris-service.d.ts +93 -0
- package/dist/services/ephemeris/ephemeris-service.d.ts.map +1 -0
- package/dist/services/ephemeris/ephemeris-service.js +742 -0
- package/dist/services/ephemeris/ephemeris-service.js.map +1 -0
- package/dist/services/ephemeris/star-catalog.d.ts +17 -0
- package/dist/services/ephemeris/star-catalog.d.ts.map +1 -0
- package/dist/services/ephemeris/star-catalog.js +273 -0
- package/dist/services/ephemeris/star-catalog.js.map +1 -0
- package/dist/services/ephemeris/types.d.ts +150 -0
- package/dist/services/ephemeris/types.d.ts.map +1 -0
- package/dist/services/ephemeris/types.js +33 -0
- package/dist/services/ephemeris/types.js.map +1 -0
- package/dist/services/horizons/horizons-service.d.ts +47 -0
- package/dist/services/horizons/horizons-service.d.ts.map +1 -0
- package/dist/services/horizons/horizons-service.js +229 -0
- package/dist/services/horizons/horizons-service.js.map +1 -0
- package/dist/services/horizons/types.d.ts +21 -0
- package/dist/services/horizons/types.d.ts.map +1 -0
- package/dist/services/horizons/types.js +6 -0
- package/dist/services/horizons/types.js.map +1 -0
- package/dist/services/satellite/satellite-service.d.ts +48 -0
- package/dist/services/satellite/satellite-service.d.ts.map +1 -0
- package/dist/services/satellite/satellite-service.js +231 -0
- package/dist/services/satellite/satellite-service.js.map +1 -0
- package/dist/services/satellite/types.d.ts +32 -0
- package/dist/services/satellite/types.d.ts.map +1 -0
- package/dist/services/satellite/types.js +6 -0
- package/dist/services/satellite/types.js.map +1 -0
- package/package.json +104 -0
- package/server.json +139 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2025 Casey Hand @cyanheads
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<h1>@cyanheads/astronomy-mcp-server</h1>
|
|
3
|
+
<p><b>What's in the sky, computed offline — planet and moon positions, rise/set, phases, eclipses, and seasons for any place and time via MCP. STDIO or Streamable HTTP.</b>
|
|
4
|
+
<div>7 Tools • 1 Resource • 1 Prompt</div>
|
|
5
|
+
</p>
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
<div align="center">
|
|
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
|
+
|
|
12
|
+
</div>
|
|
13
|
+
|
|
14
|
+
<div align="center">
|
|
15
|
+
|
|
16
|
+
[](https://github.com/cyanheads/astronomy-mcp-server/releases/latest/download/astronomy-mcp-server.mcpb) [](https://cursor.com/en/install-mcp?name=astronomy-mcp-server&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBjeWFuaGVhZHMvYXN0cm9ub215LW1jcC1zZXJ2ZXIiXX0=) [](https://vscode.dev/redirect?url=vscode:mcp/install?%7B%22name%22%3A%22astronomy-mcp-server%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40cyanheads%2Fastronomy-mcp-server%22%5D%7D)
|
|
17
|
+
|
|
18
|
+
[](https://www.npmjs.com/package/@cyanheads/mcp-ts-core)
|
|
19
|
+
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Tools
|
|
25
|
+
|
|
26
|
+
Seven tools — five form the keyless, offline, deterministic core (always registered); two are network-backed extensions that register only when their config gate is enabled.
|
|
27
|
+
|
|
28
|
+
| Tool | Description |
|
|
29
|
+
|:---|:---|
|
|
30
|
+
| `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. |
|
|
31
|
+
| `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). |
|
|
32
|
+
| `astronomy_get_moon_phase` | Moon phase for an instant: illuminated fraction, phase name, synodic age, phase angle, and the next four quarter phases with timestamps. |
|
|
33
|
+
| `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. |
|
|
34
|
+
| `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. |
|
|
35
|
+
| `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. |
|
|
36
|
+
| `astronomy_get_satellite_passes` | *(gated extension)* Visible passes of a satellite (by NORAD ID) over an observer, from a CelesTrak TLE propagated with SGP4 in-process. Off by default. |
|
|
37
|
+
|
|
38
|
+
This server computes geometry — where a body is, when an event happens — not astrophysics. The core wraps [`astronomy-engine`](https://github.com/cosinekitty/astronomy) (sub-arcminute accuracy, ≈1900–2100), so given the same `(body, time, observer)` every core tool returns identical output with no network, no rate limit, and no API key. It does not geocode: resolve a place name to latitude/longitude upstream (e.g. via an OpenStreetMap server) and pass an IANA `timezone` to receive observer-local times alongside UTC.
|
|
39
|
+
|
|
40
|
+
### `astronomy_get_sky_position`
|
|
41
|
+
|
|
42
|
+
Apparent topocentric position of one solar-system body or a named bright star.
|
|
43
|
+
|
|
44
|
+
- Equatorial (RA/Dec), refraction-corrected horizontal (altitude/azimuth), and ecliptic coordinates in one call
|
|
45
|
+
- Distance, apparent magnitude, angular diameter, phase angle, illuminated fraction, and the constellation the body falls in
|
|
46
|
+
- Parallax- and aberration-corrected for the observer; default elevation 0 m, default time now
|
|
47
|
+
- Supply `star` (e.g. `"Sirius"`, `"Polaris"`) instead of `body` to target a catalog star; `star` takes precedence over `body`
|
|
48
|
+
- `null` magnitude / angular diameter / phase fields where the engine cannot compute them — never fabricated
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
### `astronomy_get_rise_set`
|
|
53
|
+
|
|
54
|
+
Rise, set, and culmination times, with twilight for the Sun.
|
|
55
|
+
|
|
56
|
+
- Searches forward from `start` and returns the next `count` cycles (default 1, max 31)
|
|
57
|
+
- For `body: "sun"`, bundles 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"
|
|
58
|
+
- Circumpolar / never-rises situations are reported as `null` rise/set fields with an explanatory `note` rather than an error — the fact is the answer
|
|
59
|
+
- Optional observer-local times when an IANA `timezone` is supplied
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
### `astronomy_find_events`
|
|
64
|
+
|
|
65
|
+
Forward search across nine event classes under one `event` enum.
|
|
66
|
+
|
|
67
|
+
- `solar_eclipse`, `lunar_eclipse`, `equinox`, `solstice`, `moon_quarter`, `opposition`, `conjunction`, `max_elongation`, `perigee_apogee`
|
|
68
|
+
- Solar eclipses require an observer (`latitude`/`longitude`) and report local visibility and contact times; lunar eclipses are geocentric and need no location
|
|
69
|
+
- The body-relative events (`opposition`, `conjunction`, `max_elongation`, `perigee_apogee`) require a `body`; `max_elongation` is defined only for mercury and venus
|
|
70
|
+
- Returns the next `count` occurrences (default 1, max 20)
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
### `astronomy_list_visible`
|
|
75
|
+
|
|
76
|
+
The workflow flagship — one call returns a ranked, condition-gated "what's up" list.
|
|
77
|
+
|
|
78
|
+
- Iterates every naked-eye solar-system body (and, with `include_stars`, the bundled bright stars), keeps those above the horizon, and ranks them brightest-and-highest first
|
|
79
|
+
- Attaches a plain-language `visibility_note` to each body, computed from real magnitude and altitude — no synthetic score
|
|
80
|
+
- Returns the whole-sky condition (`daylight` / `civil_twilight` / `nautical_twilight` / `astronomical_twilight` / `dark`) and the Sun's altitude alongside the list
|
|
81
|
+
- `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)
|
|
82
|
+
- Use `min_altitude` to skip objects grazing the horizon
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
### `astronomy_get_ephemeris` *(gated extension)*
|
|
87
|
+
|
|
88
|
+
Time-series ephemeris for a small body or spacecraft via the keyless JPL Horizons API. Registered only when `ASTRONOMY_ENABLE_HORIZONS` is set.
|
|
89
|
+
|
|
90
|
+
- Covers asteroids, comets, and spacecraft the in-process major-body engine cannot see
|
|
91
|
+
- The designation is passed to Horizons verbatim and must resolve to a single record:
|
|
92
|
+
- **Numbered asteroid** — trailing-semicolon record lookup: `"433;"` (Eros), `"1;"` (Ceres)
|
|
93
|
+
- **Periodic comet** — DES + closest-apparition flag: `"DES=1P;CAP"` (Halley), `"DES=2P;CAP"` (Encke)
|
|
94
|
+
- **Spacecraft** — negative SPK-ID: `"-48"` (Hubble)
|
|
95
|
+
- A bare name like `"433 Eros"` or `"1P/Halley"` returns no match or an ambiguous record list and is rejected. Look up designations at [ssd.jpl.nasa.gov/tools/sbdb_lookup.html](https://ssd.jpl.nasa.gov/tools/sbdb_lookup.html).
|
|
96
|
+
- `start`/`stop` are ISO 8601 UTC; `step` is a Horizons step string (`"1d"`, `"1h"`, `"10m"`)
|
|
97
|
+
- Supplying observer `latitude`/`longitude` yields topocentric coordinates and adds alt/az
|
|
98
|
+
- Large spans truncate inline at 200 rows with a disclosure — widen the step to reduce rows
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
### `astronomy_get_satellite_passes` *(gated extension)*
|
|
103
|
+
|
|
104
|
+
Visible passes of a satellite over an observer. Registered only when `ASTRONOMY_ENABLE_SATELLITES` is set.
|
|
105
|
+
|
|
106
|
+
- Fetches the current TLE from CelesTrak by NORAD catalog number (e.g. `25544` for the ISS) and propagates it with SGP4 in-process
|
|
107
|
+
- Returns each pass's rise, peak, and set times with azimuths and the peak elevation
|
|
108
|
+
- Only naked-eye-plausible passes are returned — the satellite must be sunlit at peak while the observer's sky is dark
|
|
109
|
+
- NORAD catalog numbers are found at [celestrak.org](https://celestrak.org) or [heavens-above.com](https://heavens-above.com)
|
|
110
|
+
- Searches the next `days` (default 7, max 10); optional observer-local pass times
|
|
111
|
+
|
|
112
|
+
## Resources and prompts
|
|
113
|
+
|
|
114
|
+
| Type | Name | Description |
|
|
115
|
+
|:---|:---|:---|
|
|
116
|
+
| Resource | `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`. |
|
|
117
|
+
| Prompt | `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. |
|
|
118
|
+
|
|
119
|
+
All resource data is also reachable via tools — `astronomy_get_sky_position` returns the same body metadata inline — so tool-only clients lose nothing. Design reference: [`docs/design.md`](./docs/design.md).
|
|
120
|
+
|
|
121
|
+
## Features
|
|
122
|
+
|
|
123
|
+
Built on [`@cyanheads/mcp-ts-core`](https://www.npmjs.com/package/@cyanheads/mcp-ts-core):
|
|
124
|
+
|
|
125
|
+
- Declarative tool, resource, and prompt definitions — single file per primitive, framework handles registration and validation
|
|
126
|
+
- Unified error handling — handlers throw, framework catches, classifies, and formats
|
|
127
|
+
- Pluggable auth: `none`, `jwt`, `oauth`
|
|
128
|
+
- Swappable storage backends: `in-memory`, `filesystem`, `Supabase`, `Cloudflare KV/R2/D1`
|
|
129
|
+
- Structured logging with optional OpenTelemetry tracing
|
|
130
|
+
- STDIO and Streamable HTTP transports; the keyless core is Cloudflare Workers-portable (pure JS, no native deps)
|
|
131
|
+
|
|
132
|
+
Astronomy-specific:
|
|
133
|
+
|
|
134
|
+
- 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
|
|
135
|
+
- Both UTC and observer-local time on every output when a `timezone` is supplied; the server never guesses a timezone from coordinates
|
|
136
|
+
- Bundled bright-star catalog so `astronomy_list_visible` and `astronomy_get_sky_position` answer for named stars
|
|
137
|
+
- 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
|
|
138
|
+
|
|
139
|
+
Agent-friendly output:
|
|
140
|
+
|
|
141
|
+
- Preserves uncertainty — magnitude, angular diameter, phase, and illumination are `null` (not 0, not omitted) when unavailable, and `format()` renders "unavailable" rather than inventing a value
|
|
142
|
+
- Server-computed visibility notes are deterministic prose from real magnitude and altitude — no synthetic confidence scores
|
|
143
|
+
- Typed error contracts with recovery hints (out-of-range time, missing observer/body, unresolved designation) so callers can correct and retry
|
|
144
|
+
- `format()` is content-complete on every tool — `content[]`-only clients see the same data as `structuredContent` clients
|
|
145
|
+
|
|
146
|
+
## Getting started
|
|
147
|
+
|
|
148
|
+
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.
|
|
149
|
+
|
|
150
|
+
```json
|
|
151
|
+
{
|
|
152
|
+
"mcpServers": {
|
|
153
|
+
"astronomy-mcp-server": {
|
|
154
|
+
"type": "stdio",
|
|
155
|
+
"command": "bunx",
|
|
156
|
+
"args": ["@cyanheads/astronomy-mcp-server@latest"],
|
|
157
|
+
"env": {
|
|
158
|
+
"MCP_TRANSPORT_TYPE": "stdio",
|
|
159
|
+
"MCP_LOG_LEVEL": "info"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
Or with npx (no Bun required):
|
|
167
|
+
|
|
168
|
+
```json
|
|
169
|
+
{
|
|
170
|
+
"mcpServers": {
|
|
171
|
+
"astronomy-mcp-server": {
|
|
172
|
+
"type": "stdio",
|
|
173
|
+
"command": "npx",
|
|
174
|
+
"args": ["-y", "@cyanheads/astronomy-mcp-server@latest"],
|
|
175
|
+
"env": {
|
|
176
|
+
"MCP_TRANSPORT_TYPE": "stdio",
|
|
177
|
+
"MCP_LOG_LEVEL": "info"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
Or with Docker:
|
|
185
|
+
|
|
186
|
+
```json
|
|
187
|
+
{
|
|
188
|
+
"mcpServers": {
|
|
189
|
+
"astronomy-mcp-server": {
|
|
190
|
+
"type": "stdio",
|
|
191
|
+
"command": "docker",
|
|
192
|
+
"args": ["run", "-i", "--rm", "-e", "MCP_TRANSPORT_TYPE=stdio", "ghcr.io/cyanheads/astronomy-mcp-server:latest"]
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
For Streamable HTTP, set the transport and start the server:
|
|
199
|
+
|
|
200
|
+
```sh
|
|
201
|
+
MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http
|
|
202
|
+
# Server listens at http://localhost:3010/mcp
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### Prerequisites
|
|
206
|
+
|
|
207
|
+
- [Bun v1.3.0](https://bun.sh/) or higher (or Node.js v24+).
|
|
208
|
+
- No API key required — both the offline core and the two keyless extensions (JPL Horizons, CelesTrak) need no credentials.
|
|
209
|
+
|
|
210
|
+
### Installation
|
|
211
|
+
|
|
212
|
+
1. **Clone the repository:**
|
|
213
|
+
|
|
214
|
+
```sh
|
|
215
|
+
git clone https://github.com/cyanheads/astronomy-mcp-server.git
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
2. **Navigate into the directory:**
|
|
219
|
+
|
|
220
|
+
```sh
|
|
221
|
+
cd astronomy-mcp-server
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
3. **Install dependencies:**
|
|
225
|
+
|
|
226
|
+
```sh
|
|
227
|
+
bun install
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
## Configuration
|
|
231
|
+
|
|
232
|
+
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.
|
|
233
|
+
|
|
234
|
+
| Variable | Description | Default |
|
|
235
|
+
|:---|:---|:---|
|
|
236
|
+
| `ASTRONOMY_ENABLE_HORIZONS` | Register the `astronomy_get_ephemeris` tool (JPL Horizons). | `false` |
|
|
237
|
+
| `ASTRONOMY_ENABLE_SATELLITES` | Register the `astronomy_get_satellite_passes` tool (CelesTrak + SGP4). | `false` |
|
|
238
|
+
| `ASTRONOMY_HORIZONS_BASE_URL` | Override the JPL Horizons API endpoint. | `https://ssd.jpl.nasa.gov/api/horizons.api` |
|
|
239
|
+
| `ASTRONOMY_CELESTRAK_BASE_URL` | Override the CelesTrak GP/TLE endpoint. | `https://celestrak.org/NORAD/elements/gp.php` |
|
|
240
|
+
| `ASTRONOMY_DEFAULT_TIMEZONE` | Fallback IANA timezone when a tool call omits `timezone`. Unset = UTC-only output. | none |
|
|
241
|
+
| `ASTRONOMY_REQUEST_TIMEOUT_MS` | HTTP timeout (ms) for Horizons and CelesTrak requests. | `15000` |
|
|
242
|
+
| `ASTRONOMY_TLE_CACHE_TTL_MS` | In-process TLE cache TTL (ms) — respects CelesTrak's refetch guidance (~once/2h). | `7200000` |
|
|
243
|
+
| `MCP_TRANSPORT_TYPE` | Transport: `stdio` or `http`. | `stdio` |
|
|
244
|
+
| `MCP_HTTP_PORT` | Port for the HTTP server. | `3010` |
|
|
245
|
+
| `MCP_AUTH_MODE` | Auth mode: `none`, `jwt`, or `oauth`. | `none` |
|
|
246
|
+
| `MCP_LOG_LEVEL` | Log level (RFC 5424). | `info` |
|
|
247
|
+
| `LOGS_DIR` | Directory for log files (Node.js only). | `<project-root>/logs` |
|
|
248
|
+
| `STORAGE_PROVIDER_TYPE` | Storage backend. | `in-memory` |
|
|
249
|
+
| `OTEL_ENABLED` | Enable [OpenTelemetry instrumentation](https://github.com/cyanheads/mcp-ts-core/tree/main/docs/telemetry). | `false` |
|
|
250
|
+
|
|
251
|
+
See [`.env.example`](./.env.example) for the full list of optional overrides.
|
|
252
|
+
|
|
253
|
+
## Running the server
|
|
254
|
+
|
|
255
|
+
### Local development
|
|
256
|
+
|
|
257
|
+
- **Build and run:**
|
|
258
|
+
|
|
259
|
+
```sh
|
|
260
|
+
# One-time build
|
|
261
|
+
bun run rebuild
|
|
262
|
+
|
|
263
|
+
# Run the built server
|
|
264
|
+
bun run start:stdio
|
|
265
|
+
# or
|
|
266
|
+
bun run start:http
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
- **Run checks and tests:**
|
|
270
|
+
|
|
271
|
+
```sh
|
|
272
|
+
bun run devcheck # Lint, format, typecheck, security
|
|
273
|
+
bun run test # Vitest test suite
|
|
274
|
+
bun run lint:mcp # Validate MCP definitions against spec
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
### Docker
|
|
278
|
+
|
|
279
|
+
```sh
|
|
280
|
+
docker build -t astronomy-mcp-server .
|
|
281
|
+
docker run --rm -e MCP_TRANSPORT_TYPE=stdio astronomy-mcp-server
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
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.
|
|
285
|
+
|
|
286
|
+
## Project structure
|
|
287
|
+
|
|
288
|
+
| Directory | Purpose |
|
|
289
|
+
|:---|:---|
|
|
290
|
+
| `src/index.ts` | `createApp()` entry point — registers tools/resources/prompts and inits services. |
|
|
291
|
+
| `src/config` | Server-specific environment variable parsing and validation with Zod. |
|
|
292
|
+
| `src/mcp-server/tools` | Tool definitions (`*.tool.ts`). Five core tools plus two gated extensions. |
|
|
293
|
+
| `src/mcp-server/resources` | Resource definitions (`*.resource.ts`). Body reference card. |
|
|
294
|
+
| `src/mcp-server/prompts` | Prompt definitions (`*.prompt.ts`). Stargazing plan. |
|
|
295
|
+
| `src/services/ephemeris` | The offline compute core — `astronomy-engine` wrapper, body-radius table, and bundled bright-star catalog. |
|
|
296
|
+
| `src/services/horizons` | JPL Horizons HTTP client (gated extension). |
|
|
297
|
+
| `src/services/satellite` | CelesTrak TLE fetch + SGP4 propagation (gated extension). |
|
|
298
|
+
| `tests/` | Unit and integration tests mirroring `src/`. |
|
|
299
|
+
|
|
300
|
+
## Development guide
|
|
301
|
+
|
|
302
|
+
See [`CLAUDE.md`](./CLAUDE.md) for development guidelines and architectural rules. The short version:
|
|
303
|
+
|
|
304
|
+
- Handlers throw, framework catches — no `try/catch` in tool logic
|
|
305
|
+
- Use `ctx.log` for request-scoped logging, `ctx.state` for tenant-scoped storage
|
|
306
|
+
- Register new tools and resources in the `createApp()` arrays in `src/index.ts`
|
|
307
|
+
- Normalize raw engine/API values to the domain type; preserve uncertainty as `null` and never fabricate missing fields
|
|
308
|
+
|
|
309
|
+
## Contributing
|
|
310
|
+
|
|
311
|
+
Issues and pull requests are welcome. Run checks and tests before submitting:
|
|
312
|
+
|
|
313
|
+
```sh
|
|
314
|
+
bun run devcheck
|
|
315
|
+
bun run test
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
## License
|
|
319
|
+
|
|
320
|
+
Apache-2.0 — see [LICENSE](./LICENSE) for details.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Initial release of @cyanheads/astronomy-mcp-server — five keyless offline tools (sky position, rise/set, moon phase, events, what's-up list), a body reference resource, a stargazing-plan prompt, and two gated network extensions (JPL Horizons ephemerides, CelesTrak satellite passes)."
|
|
3
|
+
breaking: false
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# 0.1.1 — 2026-06-25
|
|
7
|
+
|
|
8
|
+
Initial release of `@cyanheads/astronomy-mcp-server`. Observational astronomy computed in-process via `astronomy-engine` — keyless, offline, and deterministic for a given `(body, time, observer)`. The five core tools, the body resource, and the stargazing prompt need no configuration; two network-backed extensions register only when their gate is enabled, so the default deployment needs no API key and makes no network calls.
|
|
9
|
+
|
|
10
|
+
## Added
|
|
11
|
+
|
|
12
|
+
- **`astronomy_get_sky_position`** — apparent topocentric position of one solar-system body or a named bright star: equatorial (RA/Dec), refraction-corrected horizontal (alt/az), and ecliptic coordinates, plus distance, magnitude, angular diameter, phase angle, illuminated fraction, and constellation.
|
|
13
|
+
- **`astronomy_get_rise_set`** — rise, set, and culmination times with transit altitude; the three twilight pairs (civil −6°, nautical −12°, astronomical −18°) for the Sun; circumpolar and never-rises cases reported as null fields with an explanatory note.
|
|
14
|
+
- **`astronomy_get_moon_phase`** — illuminated fraction, phase name, synodic age, phase angle, and the next four quarter phases.
|
|
15
|
+
- **`astronomy_find_events`** — forward search across nine event classes: solar/lunar eclipses, equinoxes, solstices, moon quarters, oppositions, conjunctions, greatest elongations, and apsides.
|
|
16
|
+
- **`astronomy_list_visible`** — one-call "what's up now" list of naked-eye bodies (and optional catalog stars) above the horizon, ranked with a plain-language visibility note and gated by the Sun's altitude into daylight / twilight / dark.
|
|
17
|
+
- **`astronomy://body/{body}`** resource — static reference card (canonical name, type, mean radius, naked-eye visibility) for each supported body.
|
|
18
|
+
- **`astronomy_stargazing_plan`** prompt — chains the tools into a "plan tonight's stargazing from <place>" workflow and names the cross-server geocoding and weather steps.
|
|
19
|
+
- **`astronomy_get_ephemeris`** — gated extension (`ASTRONOMY_ENABLE_HORIZONS`): time-series ephemerides for small bodies (asteroids, comets) and spacecraft from JPL Horizons, covering objects the in-process major-body engine cannot.
|
|
20
|
+
- **`astronomy_get_satellite_passes`** — gated extension (`ASTRONOMY_ENABLE_SATELLITES`): visible satellite passes over an observer, from a CelesTrak TLE propagated with SGP4 in-process.
|
|
21
|
+
- **Optional extension config** — `ASTRONOMY_ENABLE_HORIZONS`, `ASTRONOMY_ENABLE_SATELLITES`, and `ASTRONOMY_DEFAULT_TIMEZONE` declared in `server.json`, with base-URL, request-timeout, and TLE-cache-TTL overrides documented in `.env.example`.
|
|
22
|
+
|
|
23
|
+
## Changed
|
|
24
|
+
|
|
25
|
+
- Distributed under the `@cyanheads/` npm scope as **`@cyanheads/astronomy-mcp-server`**; README badge, install snippets, and the Claude/Codex plugin manifests carry the scoped install target.
|
|
26
|
+
- Server `description` and `websiteUrl` derive from `package.json` instead of being duplicated in `createApp()`.
|
|
27
|
+
- `server.json` `runtimeHint` set to `bun`; package metadata completed (`bugs`, `homepage`, `funding`, `mcpName`, expanded keywords).
|
|
28
|
+
- `@types/node` `^26.0.0` → `^26.0.1`.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Bug-fix release: topocentric astronomy_get_ephemeris no longer fails with a NaN distance, both gated extension tools reject invalid start times, astronomy_list_visible defaults to naked-eye bodies only, and its sky-condition gate now appears in content[] text."
|
|
3
|
+
breaking: false
|
|
4
|
+
security: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 0.1.2 — 2026-06-27
|
|
8
|
+
|
|
9
|
+
Bug-fix release for the two gated extension tools and `astronomy_list_visible`.
|
|
10
|
+
|
|
11
|
+
## Fixed
|
|
12
|
+
|
|
13
|
+
- **`astronomy_get_ephemeris`** — topocentric calls (with observer `latitude`/`longitude`) failed with a `SerializationError` and `distance_au: NaN`. The JPL Horizons request now adds the azimuth/elevation quantity for an observer — `QUANTITIES '1,4,9,20'` topocentric, `'1,9,20'` geocentric — so the CSV columns align and `delta` parses to a finite distance. ([#1](https://github.com/cyanheads/astronomy-mcp-server/issues/1))
|
|
14
|
+
- **`astronomy_get_ephemeris` / `astronomy_get_satellite_passes`** — an unparseable `start` returned a generic error on the ephemeris tool and a silently empty, falsely-successful pass list on the satellite tool. Both now reject bad timestamps up front with an `invalid_time` `InvalidParams` error before any network call; satellite passes routes `start` through `resolveTime()` and also enforces the SGP4 1900–2100 span (`time_out_of_range`). Ephemeris validates parseability only, since Horizons spans epochs outside the core engine's high-accuracy range. ([#5](https://github.com/cyanheads/astronomy-mcp-server/issues/5))
|
|
15
|
+
- **`astronomy_list_visible`** — the default list iterated every entry in `BODY_META`, surfacing telescopic Uranus, Neptune, and Pluto despite the advertised naked-eye surface. `listVisible()` now skips bodies marked `nakedEye: false`. ([#4](https://github.com/cyanheads/astronomy-mcp-server/issues/4))
|
|
16
|
+
- **`astronomy_list_visible`** — `sky_condition`, `sun_altitude_degrees`, and `total_count` were emitted only as enrichment, so `content[]`-only clients never saw the sky-condition gate. They now ride `ListVisibleOutput`, and `format()` opens with a `Sky: <condition> (Sun <alt>°) — <n> bodies visible` header. ([#2](https://github.com/cyanheads/astronomy-mcp-server/issues/2))
|