io.github.cyanheads/astronomy-mcp-server is an MCP server published by io.github.cyanheads, hosted at astronomy.caseyjhand.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 7 tools, including astronomy_get_sky_position, astronomy_get_rise_set, astronomy_get_moon_phase, astronomy_find_events, astronomy_list_visible.
Offline observational astronomy: positions, rise/set, moon phases, eclipses, and seasons.
428 connections through 5 shared values. Tap any node.
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.
| Parameter | Type | Description |
|---|---|---|
| body |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| string |
| Solar-system body to locate. Omit when targeting a named star via `star`. |
| star | string | Named star to locate, from a bundled catalog of 32 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. "Siri… |
| time | string | Instant of observation as an ISO 8601 UTC string, e.g. "2024-04-08T18:00:00Z". Defaults to now. A value with no zone designator is read as UTC, not the local zone of the server process. |
| latitude * | number | Observer latitude in decimal degrees, north positive. |
| timezone | string | IANA timezone for localized output, e.g. "America/Los_Angeles". When omitted, output is UTC-only. |
| elevation | number | Observer elevation in meters above sea level. Default 0. |
| longitude * | number | Observer longitude in decimal degrees, east positive. |
{
"name": "astronomy_get_sky_position",
"title": "astronomy-mcp-server: get sky position",
"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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"latitude",
"longitude"
],
"properties": {
"body": {
"enum": [
"sun",
"moon",
"mercury",
"venus",
"mars",
"jupiter",
"saturn",
"uranus",
"neptune",
"pluto"
],
"type": "string",
"description": "Solar-system body to locate. Omit when targeting a named star via `star`."
},
"star": {
"type": "string",
"description": "Named star to locate, from a bundled catalog of 32 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`."
},
"time": {
"type": "string",
"description": "Instant of observation as an ISO 8601 UTC string, e.g. \"2024-04-08T18:00:00Z\". Defaults to now. A value with no zone designator is read as UTC, not the local zone of the server process."
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Observer latitude in decimal degrees, north positive."
},
"timezone": {
"type": "string",
"description": "IANA timezone for localized output, e.g. \"America/Los_Angeles\". When omitted, output is UTC-only."
},
"elevation": {
"type": "number",
"default": 0,
"description": "Observer elevation in meters above sea level. Default 0."
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Observer longitude in decimal degrees, east positive."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"body",
"time_utc",
"equatorial",
"horizontal",
"ecliptic",
"magnitude",
"angular_diameter_arcsec",
"phase_angle_degrees",
"illuminated_fraction",
"sun_elongation_degrees",
"constellation"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"body": {
"type": "string",
"description": "The body this position is for, or the catalog name of the star (e.g. \"Sirius\" for a `star` of \"α CMa\")."
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"invalid_time",
"time_out_of_range",
"invalid_timezone",
"star_not_found",
"body_required"
],
"description": "Machine-readable failure mode. Declared by this tool: `invalid_time`: The `time` value is not a parseable ISO 8601 instant, or names a calendar date that does not exist (e.g. 2026-02-30). `time_out_of_range`: The requested instant is outside the engine's high-accuracy span (≈1900–2100). `invalid_timezone`: The `timezone` value is not an IANA zone this runtime knows. `star_not_found`: 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`. `body_required`: Neither a `body` nor a `star` was supplied. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"ecliptic": {
"type": "object",
"required": [
"longitude_degrees",
"latitude_degrees"
],
"properties": {
"latitude_degrees": {
"type": "number",
"description": "Ecliptic latitude in degrees [-90,90]."
},
"longitude_degrees": {
"type": "number",
"description": "Ecliptic longitude in degrees [0,360)."
}
},
"description": "Ecliptic-of-date coordinates of the body.",
"additionalProperties": false
},
"time_utc": {
"type": "string",
"description": "The instant of the observation in ISO 8601 UTC."
},
"magnitude": {
"type": [
"number",
"null"
],
"description": "Apparent visual magnitude (lower is brighter). Null for bodies where the engine cannot compute it."
},
"equatorial": {
"type": "object",
"required": [
"ra_hours",
"dec_degrees",
"distance_au"
],
"properties": {
"ra_hours": {
"type": "number",
"description": "Right ascension in sidereal hours [0,24), equator-of-date."
},
"dec_degrees": {
"type": "number",
"description": "Declination in degrees [-90,90], equator-of-date."
},
"distance_au": {
"type": "number",
"description": "Distance from the observer to the body in astronomical units."
}
},
"description": "Apparent equatorial coordinates, corrected for precession, nutation, parallax, and aberration.",
"additionalProperties": false
},
"horizontal": {
"type": "object",
"required": [
"altitude_degrees",
"azimuth_degrees",
"above_horizon"
],
"properties": {
"above_horizon": {
"type": "boolean",
"description": "True when the body is above the horizon (altitude > 0)."
},
"azimuth_degrees": {
"type": "number",
"description": "Compass bearing in degrees: 0=N, 90=E, 180=S, 270=W."
},
"altitude_degrees": {
"type": "number",
"description": "Angle above (positive) or below (negative) the horizon, refraction-corrected."
}
},
"description": "Refraction-corrected horizontal coordinates as seen from the observer.",
"additionalProperties": false
},
"time_local": {
"type": "string",
"description": "The same instant in the observer-local timezone with offset, present only when a timezone was supplied."
},
"body_metadata": {
"type": "object",
"required": [
"type",
"mean_radius_km",
"naked_eye"
],
"properties": {
"type": {
"enum": [
"star",
"planet",
"moon",
"dwarf"
],
"type": "string",
"description": "Classification of the body."
},
"naked_eye": {
"type": "boolean",
"description": "True when the body is typically visible to the naked eye."
},
"mean_radius_km": {
"type": "number",
"description": "Mean radius in kilometers, from IAU/NASA fact sheets."
}
},
"description": "The body card also served at astronomy://body/{body}, copied here so a client without resource support can reach it. Present for the ten solar-system bodies; absent for a catalog star, which has no card.",
"additionalProperties": false
},
"constellation": {
"type": "object",
"required": [
"abbreviation",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Full constellation name, e.g. \"Orion\"."
},
"abbreviation": {
"type": "string",
"description": "IAU 3-letter constellation abbreviation, e.g. \"Ori\"."
}
},
"description": "The constellation the body currently falls within.",
"additionalProperties": false
},
"phase_angle_degrees": {
"type": [
"number",
"null"
],
"description": "Sun-body-observer phase angle in degrees. Null when not applicable (e.g. stars)."
},
"illuminated_fraction": {
"type": [
"number",
"null"
],
"description": "Fraction of the disc illuminated, 0 to 1. Null when not applicable."
},
"sun_elongation_degrees": {
"type": "number",
"description": "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."
},
"angular_diameter_arcsec": {
"type": [
"number",
"null"
],
"description": "Apparent angular diameter of the disc in arcseconds. Null for point-source convention bodies."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Compute rise, set, and culmination (transit) times and maximum transit altitude for a solar-system body or a named bright star at an observer location. Searches forward from `start` (default now) for `count` daily cycles (default 1), including days without crossings. For the Sun, each cycle carries civil −6°, nautical −12°, and astronomical −18° twilight: dusk after its set or culmination, then dawn before the next day begins. A crossing absent from that night is null. When the Sun is down and the first cycle's day begins after `start`, `night_in_progress` carries the preceding night, including polar nights without a sunset and times before `start` that have passed. A first cycle beginning after the culmination of a dark day instead carries that night itself, with rise, set, and transit null. When a body is already up, the partial first cycle has null rise and the imminent set; no set precedes its own rise. Circumpolar and never-rises cycles have null crossings and explanatory notes. At most 31 cycles are served per call; a count up to 366 returns the first 31 with a notice naming the exact `start` and `count` for the rest, or saying no continuation exists past 2100. A continuation may repeat the preceding night in `night_in_progress`, while cycles continue without overlap. Supply `star` (e.g. Sirius, Polaris) instead of `body` to target a catalog star; `body` is ignored when `star` is set. Default elevation is 0 m; pass an IANA `timezone` for local output. Resolve coordinates upstream; this server does not geocode.
| Parameter | Type | Description |
|---|---|---|
| body | string | Solar-system body to compute rise/set for. Omit when targeting a named star via `star`. Twilight is included only for "sun". |
| star | string | Named star to compute rise/set for, from a bundled catalog of 32 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 abbreviati… |
| count | integer | Number of forward rise/set cycles to return. Default 1. At most 31 are computed per call; a count up to 366 returns the first 31 with a notice naming the `start` and `count` that continue the series. |
| start | string | Search start as an ISO 8601 UTC string, e.g. "2024-06-21T00:00:00Z". Defaults to now. A value with no zone designator is read as UTC, not the local zone of the server process. |
| latitude * | number | Observer latitude in decimal degrees, north positive. |
| timezone | string | IANA timezone for localized output, e.g. "America/Los_Angeles". When omitted, output is UTC-only. |
| elevation | number | Observer elevation in meters above sea level. Default 0. |
| longitude * | number | Observer longitude in decimal degrees, east positive. |
{
"name": "astronomy_get_rise_set",
"title": "astronomy-mcp-server: get rise/set times",
"description": "Compute rise, set, and culmination (transit) times and maximum transit altitude for a solar-system body or a named bright star at an observer location. Searches forward from `start` (default now) for `count` daily cycles (default 1), including days without crossings. For the Sun, each cycle carries civil −6°, nautical −12°, and astronomical −18° twilight: dusk after its set or culmination, then dawn before the next day begins. A crossing absent from that night is null. When the Sun is down and the first cycle's day begins after `start`, `night_in_progress` carries the preceding night, including polar nights without a sunset and times before `start` that have passed. A first cycle beginning after the culmination of a dark day instead carries that night itself, with rise, set, and transit null. When a body is already up, the partial first cycle has null rise and the imminent set; no set precedes its own rise. Circumpolar and never-rises cycles have null crossings and explanatory notes. At most 31 cycles are served per call; a count up to 366 returns the first 31 with a notice naming the exact `start` and `count` for the rest, or saying no continuation exists past 2100. A continuation may repeat the preceding night in `night_in_progress`, while cycles continue without overlap. Supply `star` (e.g. Sirius, Polaris) instead of `body` to target a catalog star; `body` is ignored when `star` is set. Default elevation is 0 m; pass an IANA `timezone` for local output. Resolve coordinates upstream; this server does not geocode.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"latitude",
"longitude"
],
"properties": {
"body": {
"enum": [
"sun",
"moon",
"mercury",
"venus",
"mars",
"jupiter",
"saturn",
"uranus",
"neptune",
"pluto"
],
"type": "string",
"description": "Solar-system body to compute rise/set for. Omit when targeting a named star via `star`. Twilight is included only for \"sun\"."
},
"star": {
"type": "string",
"description": "Named star to compute rise/set for, from a bundled catalog of 32 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`; a star's cycles carry no twilight."
},
"count": {
"type": "integer",
"default": 1,
"maximum": 366,
"minimum": 1,
"description": "Number of forward rise/set cycles to return. Default 1. At most 31 are computed per call; a count up to 366 returns the first 31 with a notice naming the `start` and `count` that continue the series."
},
"start": {
"type": "string",
"description": "Search start as an ISO 8601 UTC string, e.g. \"2024-06-21T00:00:00Z\". Defaults to now. A value with no zone designator is read as UTC, not the local zone of the server process."
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Observer latitude in decimal degrees, north positive."
},
"timezone": {
"type": "string",
"description": "IANA timezone for localized output, e.g. \"America/Los_Angeles\". When omitted, output is UTC-only."
},
"elevation": {
"type": "number",
"default": 0,
"description": "Observer elevation in meters above sea level. Default 0."
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Observer longitude in decimal degrees, east positive."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"body",
"events",
"totalCount"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cap": {
"type": "number",
"description": "The per-call cycle cap that was applied."
},
"body": {
"type": "string",
"description": "The body these rise/set cycles are for: the requested `body`, or the catalog name a `star` resolved to (e.g. \"Sirius\" for \"α CMa\")."
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"invalid_time",
"time_out_of_range",
"invalid_timezone",
"star_not_found",
"body_required"
],
"description": "Machine-readable failure mode. Declared by this tool: `invalid_time`: The `start` value is not a parseable ISO 8601 instant, or names a calendar date that does not exist (e.g. 2026-02-30). `time_out_of_range`: The requested start instant is outside the engine's high-accuracy span (≈1900–2100). `invalid_timezone`: The `timezone` value is not an IANA zone this runtime knows. `star_not_found`: 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`. `body_required`: Neither a `body` nor a `star` was supplied. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"shown": {
"type": "number",
"description": "Number of cycles returned when the cap applied."
},
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"rise_utc",
"set_utc",
"transit_utc",
"transit_altitude_degrees"
],
"properties": {
"note": {
"type": "string",
"description": "Explanatory note when a rise or set is absent (e.g. \"Circumpolar — never sets at this latitude/date.\")."
},
"set_utc": {
"type": [
"string",
"null"
],
"description": "Set time in ISO 8601 UTC, or null when the body does not set in this cycle."
},
"rise_utc": {
"type": [
"string",
"null"
],
"description": "Rise time in ISO 8601 UTC, or null when the body does not rise in this cycle — because it is circumpolar, or because it was already above the horizon when the cycle opened (at the search start, or after a day it never set on), so its rise precedes the cycle. The accompanying note says which."
},
"twilight": {
"type": "object",
"required": [
"civil",
"nautical",
"astronomical"
],
"properties": {
"civil": {
"type": "object",
"required": [
"dawn_utc",
"dusk_utc"
],
"properties": {
"dawn_utc": {
"type": [
"string",
"null"
],
"description": "Dawn (Sun ascending through the depth) in ISO 8601 UTC, or null when that crossing does not occur during the night. In a cycle, this is the morning after that cycle's set, or after its culmination when it has no set — a day later than the cycle's rise, not the dawn before it."
},
"dusk_utc": {
"type": [
"string",
"null"
],
"description": "Dusk (Sun descending through the depth) in ISO 8601 UTC, or null when that crossing does not occur during the night. In a cycle, this is the evening of that cycle's set, or after its culmination when it has no set."
},
"dawn_local": {
"type": [
"string",
"null"
],
"description": "Dawn in observer-local time — the morning that ends the night — present only when a timezone was supplied."
},
"dusk_local": {
"type": [
"string",
"null"
],
"description": "Dusk in observer-local time — the evening that begins the night — present only when a timezone was supplied."
}
},
"description": "Civil twilight (Sun at −6°): dusk and the following dawn.",
"additionalProperties": false
},
"nautical": {
"type": "object",
"required": [
"dawn_utc",
"dusk_utc"
],
"properties": {
"dawn_utc": {
"type": [
"string",
"null"
],
"description": "Dawn (Sun ascending through the depth) in ISO 8601 UTC, or null when that crossing does not occur during the night. In a cycle, this is the morning after that cycle's set, or after its culmination when it has no set — a day later than the cycle's rise, not the dawn before it."
},
"dusk_utc": {
"type": [
"string",
"null"
],
"description": "Dusk (Sun descending through the depth) in ISO 8601 UTC, or null when that crossing does not occur during the night. In a cycle, this is the evening of that cycle's set, or after its culmination when it has no set."
},
"dawn_local": {
"type": [
"string",
"null"
],
"description": "Dawn in observer-local time — the morning that ends the night — present only when a timezone was supplied."
},
"dusk_local": {
"type": [
"string",
"null"
],
"description": "Dusk in observer-local time — the evening that begins the night — present only when a timezone was supplied."
}
},
"description": "Nautical twilight (Sun at −12°): dusk and the following dawn.",
"additionalProperties": false
},
"astronomical": {
"type": "object",
"required": [
"dawn_utc",
"dusk_utc"
],
"properties": {
"dawn_utc": {
"type": [
"string",
"null"
],
"description": "Dawn (Sun ascending through the depth) in ISO 8601 UTC, or null when that crossing does not occur during the night. In a cycle, this is the morning after that cycle's set, or after its culmination when it has no set — a day later than the cycle's rise, not the dawn before it."
},
"dusk_utc": {
"type": [
"string",
"null"
],
"description": "Dusk (Sun descending through the depth) in ISO 8601 UTC, or null when that crossing does not occur during the night. In a cycle, this is the evening of that cycle's set, or after its culmination when it has no set."
},
"dawn_local": {
"type": [
"string",
"null"
],
"description": "Dawn in observer-local time — the morning that ends the night — present only when a timezone was supplied."
},
"dusk_local": {
"type": [
"string",
"null"
],
"description": "Dusk in observer-local time — the evening that begins the night — present only when a timezone was supplied."
}
},
"description": "Astronomical twilight (Sun at −18°): dusk and the following dawn, bounding the dark-sky window.",
"additionalProperties": false
}
},
"description": "The three twilight pairs, present only when body is \"sun\". Each pair spans one night: dusk is the evening of this cycle's set — or, in a cycle with no set, the evening after its culmination — and dawn is the following morning, so a cycle's dawn falls a day after its rise. Each is searched only up to the start of the next cycle's day (its sunrise, or its culmination when it has no rise), so an absent crossing is null. A first cycle with no rise, set, or transit is the rest of the day the search started in, inside or at the edge of a polar night; its pairs can include times before `start` that have passed. The dawn before a given sunrise is in the previous cycle's pair; when the first cycle's day begins after `start`, its preceding night is in `night_in_progress`, including polar nights without a sunset.",
"additionalProperties": false
},
"set_local": {
"type": "string",
"description": "Set time in observer-local time, present only when a timezone was supplied."
},
"rise_local": {
"type": "string",
"description": "Rise time in observer-local time, present only when a timezone was supplied."
},
"transit_utc": {
"type": [
"string",
"null"
],
"description": "Culmination (highest point) time in ISO 8601 UTC, or null when it falls outside this cycle — before its rise, after its set, or before the search start."
},
"transit_local": {
"type": "string",
"description": "Culmination time in observer-local time, present only when a timezone was supplied."
},
"transit_altitude_degrees": {
"type": [
"number",
"null"
],
"description": "Maximum altitude in degrees at culmination, or null when not found."
}
},
"description": "One rise/set/transit cycle, with twilight when the body is the Sun.",
"additionalProperties": false
},
"description": "One entry per rise/set/transit cycle, searching forward from the start time."
},
"notice": {
"type": "string",
"description": "How to retrieve the cycles the per-call cap held back: the exact `start` and `count` to re-call with, or — when the next cycle starts after 2100, the end of the supported span — that no call can continue the series. Absent when every requested cycle came back."
},
"truncated": {
"type": "boolean",
"description": "True when `count` exceeded the per-call cap and only the first cycles came back."
},
"totalCount": {
"type": "number",
"description": "Number of rise/set cycles returned."
},
"night_in_progress": {
"type": "object",
"required": [
"civil",
"nautical",
"astronomical"
],
"properties": {
"civil": {
"type": "object",
"required": [
"dawn_utc",
"dusk_utc"
],
"properties": {
"dawn_utc": {
"type": [
"string",
"null"
],
"description": "Dawn (Sun ascending through the depth) in ISO 8601 UTC, or null when that crossing does not occur during the night. In a cycle, this is the morning after that cycle's set, or after its culmination when it has no set — a day later than the cycle's rise, not the dawn before it."
},
"dusk_utc": {
"type": [
"string",
"null"
],
"description": "Dusk (Sun descending through the depth) in ISO 8601 UTC, or null when that crossing does not occur during the night. In a cycle, this is the evening of that cycle's set, or after its culmination when it has no set."
},
"dawn_local": {
"type": [
"string",
"null"
],
"description": "Dawn in observer-local time — the morning that ends the night — present only when a timezone was supplied."
},
"dusk_local": {
"type": [
"string",
"null"
],
"description": "Dusk in observer-local time — the evening that begins the night — present only when a timezone was supplied."
}
},
"description": "Civil twilight (Sun at −6°): dusk and the following dawn.",
"additionalProperties": false
},
"nautical": {
"type": "object",
"required": [
"dawn_utc",
"dusk_utc"
],
"properties": {
"dawn_utc": {
"type": [
"string",
"null"
],
"description": "Dawn (Sun ascending through the depth) in ISO 8601 UTC, or null when that crossing does not occur during the night. In a cycle, this is the morning after that cycle's set, or after its culmination when it has no set — a day later than the cycle's rise, not the dawn before it."
},
"dusk_utc": {
"type": [
"string",
"null"
],
"description": "Dusk (Sun descending through the depth) in ISO 8601 UTC, or null when that crossing does not occur during the night. In a cycle, this is the evening of that cycle's set, or after its culmination when it has no set."
},
"dawn_local": {
"type": [
"string",
"null"
],
"description": "Dawn in observer-local time — the morning that ends the night — present only when a timezone was supplied."
},
"dusk_local": {
"type": [
"string",
"null"
],
"description": "Dusk in observer-local time — the evening that begins the night — present only when a timezone was supplied."
}
},
"description": "Nautical twilight (Sun at −12°): dusk and the following dawn.",
"additionalProperties": false
},
"astronomical": {
"type": "object",
"required": [
"dawn_utc",
"dusk_utc"
],
"properties": {
"dawn_utc": {
"type": [
"string",
"null"
],
"description": "Dawn (Sun ascending through the depth) in ISO 8601 UTC, or null when that crossing does not occur during the night. In a cycle, this is the morning after that cycle's set, or after its culmination when it has no set — a day later than the cycle's rise, not the dawn before it."
},
"dusk_utc": {
"type": [
"string",
"null"
],
"description": "Dusk (Sun descending through the depth) in ISO 8601 UTC, or null when that crossing does not occur during the night. In a cycle, this is the evening of that cycle's set, or after its culmination when it has no set."
},
"dawn_local": {
"type": [
"string",
"null"
],
"description": "Dawn in observer-local time — the morning that ends the night — present only when a timezone was supplied."
},
"dusk_local": {
"type": [
"string",
"null"
],
"description": "Dusk in observer-local time — the evening that begins the night — present only when a timezone was supplied."
}
},
"description": "Astronomical twilight (Sun at −18°): dusk and the following dawn, bounding the dark-sky window.",
"additionalProperties": false
}
},
"description": "The night under way at `start`, present only for the Sun when it is below the horizon and the first cycle's day begins after `start`. Each pair is bounded from the previous culmination, or a sunset after it, to the first day's sunrise or culmination. This includes polar nights without a sunset and excludes stale sunsets before an intervening polar day. Times earlier than `start` are included and have already passed; an absent crossing is null. Absent when the first cycle already carries that night, including a rest-of-dark-day cycle. A continuation may repeat here the night the previous call's last cycle carried; its `events` do not repeat. Not one of `events` and not counted by `count`.",
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| time | string | Instant to evaluate as an ISO 8601 UTC string, e.g. "2024-12-15T00:00:00Z". Defaults to now. A value with no zone designator is read as UTC, not the local zone of the server process. |
| timezone | string | IANA timezone for localized output, e.g. "America/Los_Angeles". When omitted, output is UTC-only. |
{
"name": "astronomy_get_moon_phase",
"title": "astronomy-mcp-server: get moon phase",
"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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"time": {
"type": "string",
"description": "Instant to evaluate as an ISO 8601 UTC string, e.g. \"2024-12-15T00:00:00Z\". Defaults to now. A value with no zone designator is read as UTC, not the local zone of the server process."
},
"timezone": {
"type": "string",
"description": "IANA timezone for localized output, e.g. \"America/Los_Angeles\". When omitted, output is UTC-only."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"time_utc",
"phase_longitude_degrees",
"illuminated_fraction",
"phase_name",
"age_days",
"next_quarters"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"invalid_time",
"time_out_of_range",
"invalid_timezone"
],
"description": "Machine-readable failure mode. Declared by this tool: `invalid_time`: The `time` value is not a parseable ISO 8601 instant, or names a calendar date that does not exist (e.g. 2026-02-30). `time_out_of_range`: The requested instant is outside the engine's high-accuracy span (≈1900–2100). `invalid_timezone`: The `timezone` value is not an IANA zone this runtime knows. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"age_days": {
"type": "number",
"description": "Synodic age in days since the previous new moon."
},
"time_utc": {
"type": "string",
"description": "The instant the phase was computed for, in ISO 8601 UTC."
},
"phase_name": {
"type": "string",
"description": "Human-readable phase name (New Moon, Waxing Crescent, First Quarter, …, Waning Crescent)."
},
"time_local": {
"type": "string",
"description": "The same instant in the observer-local timezone with offset, present only when a timezone was supplied."
},
"next_quarters": {
"type": "array",
"items": {
"type": "object",
"required": [
"quarter",
"time_utc"
],
"properties": {
"quarter": {
"enum": [
"new",
"first_quarter",
"full",
"last_quarter"
],
"type": "string",
"description": "Which quarter phase this entry is."
},
"time_utc": {
"type": "string",
"description": "Time of the quarter phase in ISO 8601 UTC."
},
"time_local": {
"type": "string",
"description": "Time of the quarter phase in the observer-local timezone, present only when a timezone was supplied."
}
},
"description": "A single lunar quarter phase with its timestamp.",
"additionalProperties": false
},
"description": "The next four lunar quarter phases (new/first/full/last) in chronological order."
},
"illuminated_fraction": {
"type": "number",
"description": "Fraction of the lunar disc illuminated, 0 to 1."
},
"phase_longitude_degrees": {
"type": "number",
"description": "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."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Search forward from a start time for the next occurrences of one sky-event class, selected by the `event` enum: solar_eclipse, lunar_eclipse, equinox, solstice, moon_quarter, opposition, conjunction, max_elongation, perigee_apogee, or meteor_shower. Both eclipse classes and meteor_shower take an optional observer (latitude and longitude together). solar_eclipse without one returns global eclipses — kind, peak time, obscuration, and for a total or annular eclipse the latitude/longitude where it is greatest; with one it returns only eclipses visible from that point, with local contact times, `local_visible`, and the Sun's altitude at each contact. lunar_eclipse returns geocentric contact times, the same instants everywhere on Earth; an observer adds `local_visible` and the Moon's altitude at each contact. meteor_shower returns the maxima of nine major annual showers from a table bundled from the IMO Meteor Shower Calendar — ZHR, J2000 radiant, activity dates, and the Moon's geocentric illuminated fraction at each; an observer adds the radiant's and the Sun's altitude at the maximum, which can fall in daylight. The maxima are the calendar's nominal ones, with no outburst predictions. `shower` narrows the search to one shower by IMO code or name. A shower counts when its maximum is at or after start, so one past its maximum but still active needs an earlier start. Every other class is geocentric and ignores a location. The body-relative events (opposition, conjunction, max_elongation, perigee_apogee) require a `body`: opposition applies to the superior planets (mars through pluto), conjunction to any planet, max_elongation to mercury and venus, and perigee_apogee to the moon (perigee/apogee), earth, or a planet (perihelion/aphelion). conjunction with `body` alone is that planet's conjunction with the Sun. Add `body2` for a conjunction of two bodies — the Moon or a planet with another: the instant they share one ecliptic longitude seen from Earth's center, with their `separation_degrees` at that instant. That separation is not always their closest approach, since two planets can pass closer days or weeks away, and listings that time conjunctions by right ascension differ by hours, or by days for slow pairs. Returns the next `count` occurrences (default 1), up to 20 per call: a larger `count`, up to 200, returns the first 20 and a notice naming the exact `start` and `count` that continue the series. Searches stop at the end of 2100, the close of the supported span; when that leaves fewer than `count`, a notice says so. Start defaults to now; pass an IANA `timezone` for observer-local timestamps, eclipse contacts included.
| Parameter | Type | Description |
|---|---|---|
| body | string | Target body — required for opposition, conjunction, max_elongation, and perigee_apogee; ignored otherwise. "earth" is accepted only for perigee_apogee, which returns its perihelion and aphelion. With `body2`, the Moon or a planet. |
| body2 | string | Second body for a conjunction of two bodies: the Moon or a planet, different from `body`. Accepted only with event "conjunction", where it replaces the conjunction of `body` with the Sun by the conjunction of `body` and `body2` in ecliptic longitude seen from Earth's center. For the Moon meeting the… |
| count | integer | Number of forward occurrences to return. Default 1. At most 20 are computed per call; a count up to 200 returns the first 20 with a notice naming the `start` and `count` that continue the series. |
| event * | string | Which class of event to search for. |
| start | string | Search start as an ISO 8601 UTC string, e.g. "2024-01-01T00:00:00Z". Eclipses and meteor showers are included when their peak is at or after start; earlier eclipse contacts and activity dates may still be returned. Defaults to now. A value with no zone designator is read as UTC, not the local zone o… |
| shower | string | One meteor shower for event "meteor_shower", by IMO code or name, case-insensitive, with a Greek letter spelled out or written as a symbol: "GEM", "Geminids", "eta Aquariids", or "η-Aquariids". Omit it for all nine showers. Ignored by every other event. |
| latitude | number | Observer latitude in decimal degrees, supplied together with longitude. Optional for solar_eclipse, lunar_eclipse, and meteor_shower, where it adds local circumstances; omit both for a global solar search. Ignored by every other event. |
| timezone | string | IANA timezone for localized output, e.g. "America/Los_Angeles". When omitted, output is UTC-only. |
{
"name": "astronomy_find_events",
"title": "astronomy-mcp-server: find sky events",
"description": "Search forward from a start time for the next occurrences of one sky-event class, selected by the `event` enum: solar_eclipse, lunar_eclipse, equinox, solstice, moon_quarter, opposition, conjunction, max_elongation, perigee_apogee, or meteor_shower. Both eclipse classes and meteor_shower take an optional observer (latitude and longitude together). solar_eclipse without one returns global eclipses — kind, peak time, obscuration, and for a total or annular eclipse the latitude/longitude where it is greatest; with one it returns only eclipses visible from that point, with local contact times, `local_visible`, and the Sun's altitude at each contact. lunar_eclipse returns geocentric contact times, the same instants everywhere on Earth; an observer adds `local_visible` and the Moon's altitude at each contact. meteor_shower returns the maxima of nine major annual showers from a table bundled from the IMO Meteor Shower Calendar — ZHR, J2000 radiant, activity dates, and the Moon's geocentric illuminated fraction at each; an observer adds the radiant's and the Sun's altitude at the maximum, which can fall in daylight. The maxima are the calendar's nominal ones, with no outburst predictions. `shower` narrows the search to one shower by IMO code or name. A shower counts when its maximum is at or after start, so one past its maximum but still active needs an earlier start. Every other class is geocentric and ignores a location. The body-relative events (opposition, conjunction, max_elongation, perigee_apogee) require a `body`: opposition applies to the superior planets (mars through pluto), conjunction to any planet, max_elongation to mercury and venus, and perigee_apogee to the moon (perigee/apogee), earth, or a planet (perihelion/aphelion). conjunction with `body` alone is that planet's conjunction with the Sun. Add `body2` for a conjunction of two bodies — the Moon or a planet with another: the instant they share one ecliptic longitude seen from Earth's center, with their `separation_degrees` at that instant. That separation is not always their closest approach, since two planets can pass closer days or weeks away, and listings that time conjunctions by right ascension differ by hours, or by days for slow pairs. Returns the next `count` occurrences (default 1), up to 20 per call: a larger `count`, up to 200, returns the first 20 and a notice naming the exact `start` and `count` that continue the series. Searches stop at the end of 2100, the close of the supported span; when that leaves fewer than `count`, a notice says so. Start defaults to now; pass an IANA `timezone` for observer-local timestamps, eclipse contacts included.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"event"
],
"properties": {
"body": {
"enum": [
"sun",
"moon",
"mercury",
"venus",
"mars",
"jupiter",
"saturn",
"uranus",
"neptune",
"pluto",
"earth"
],
"type": "string",
"description": "Target body — required for opposition, conjunction, max_elongation, and perigee_apogee; ignored otherwise. \"earth\" is accepted only for perigee_apogee, which returns its perihelion and aphelion. With `body2`, the Moon or a planet."
},
"body2": {
"enum": [
"moon",
"mercury",
"venus",
"mars",
"jupiter",
"saturn",
"uranus",
"neptune",
"pluto"
],
"type": "string",
"description": "Second body for a conjunction of two bodies: the Moon or a planet, different from `body`. Accepted only with event \"conjunction\", where it replaces the conjunction of `body` with the Sun by the conjunction of `body` and `body2` in ecliptic longitude seen from Earth's center. For the Moon meeting the Sun, search moon_quarter for the new moon."
},
"count": {
"type": "integer",
"default": 1,
"maximum": 200,
"minimum": 1,
"description": "Number of forward occurrences to return. Default 1. At most 20 are computed per call; a count up to 200 returns the first 20 with a notice naming the `start` and `count` that continue the series."
},
"event": {
"enum": [
"solar_eclipse",
"lunar_eclipse",
"equinox",
"solstice",
"moon_quarter",
"opposition",
"conjunction",
"max_elongation",
"perigee_apogee",
"meteor_shower"
],
"type": "string",
"description": "Which class of event to search for."
},
"start": {
"type": "string",
"description": "Search start as an ISO 8601 UTC string, e.g. \"2024-01-01T00:00:00Z\". Eclipses and meteor showers are included when their peak is at or after start; earlier eclipse contacts and activity dates may still be returned. Defaults to now. A value with no zone designator is read as UTC, not the local zone of the server process."
},
"shower": {
"type": "string",
"description": "One meteor shower for event \"meteor_shower\", by IMO code or name, case-insensitive, with a Greek letter spelled out or written as a symbol: \"GEM\", \"Geminids\", \"eta Aquariids\", or \"η-Aquariids\". Omit it for all nine showers. Ignored by every other event."
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Observer latitude in decimal degrees, supplied together with longitude. Optional for solar_eclipse, lunar_eclipse, and meteor_shower, where it adds local circumstances; omit both for a global solar search. Ignored by every other event."
},
"timezone": {
"type": "string",
"description": "IANA timezone for localized output, e.g. \"America/Los_Angeles\". When omitted, output is UTC-only."
},
"elevation": {
"type": "number",
"default": 0,
"description": "Observer elevation in meters above sea level. Default 0."
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Observer longitude in decimal degrees, supplied together with latitude. Optional for solar_eclipse, lunar_eclipse, and meteor_shower; ignored by every other event."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"events",
"totalCount"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cap": {
"type": "number",
"description": "The per-call event cap that was applied."
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"incomplete_observer",
"shower_not_found",
"body_required",
"body_not_supported",
"invalid_body_pair",
"invalid_time",
"time_out_of_range",
"invalid_timezone"
],
"description": "Machine-readable failure mode. Declared by this tool: `incomplete_observer`: A solar_eclipse, lunar_eclipse, or meteor_shower was requested with only one of latitude and longitude. `shower_not_found`: The `shower` value names none of the nine showers in the bundled table. `body_required`: A body-relative event was requested without a target body. `body_not_supported`: 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. `invalid_body_pair`: `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. `invalid_time`: The `start` value is not a parseable ISO 8601 instant, or names a calendar date that does not exist (e.g. 2026-02-30). `time_out_of_range`: The requested start instant is outside the engine's high-accuracy span (≈1900–2100). `invalid_timezone`: The `timezone` value is not an IANA zone this runtime knows. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"shown": {
"type": "number",
"description": "Number of events returned when the cap applied."
},
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"event",
"time_utc"
],
"properties": {
"zhr": {
"type": "number",
"description": "Zenithal hourly rate at the maximum, as the calendar lists it: the meteors one observer would see in an hour under a dark, clear sky with the radiant overhead. An observed rate is usually lower. Present for meteor_shower."
},
"body": {
"type": "string",
"description": "The target body — the first of the pair for a two-body conjunction. Present for opposition/conjunction/max_elongation/perigee_apogee."
},
"kind": {
"type": "string",
"description": "Eclipse classification: \"penumbral\", \"partial\", \"annular\", or \"total\". Present for eclipses."
},
"body2": {
"type": "string",
"description": "The second body of a two-body conjunction, as requested. Present only when `body2` was supplied."
},
"event": {
"enum": [
"solar_eclipse",
"lunar_eclipse",
"equinox",
"solstice",
"moon_quarter",
"opposition",
"conjunction",
"max_elongation",
"perigee_apogee",
"meteor_shower"
],
"type": "string",
"description": "The event class this record belongs to."
},
"which": {
"enum": [
"march",
"september",
"june",
"december"
],
"type": "string",
"description": "Which equinox or solstice. Present for equinox/solstice events."
},
"shower": {
"type": "string",
"description": "The meteor shower's IMO name, e.g. \"Geminids\". Present for meteor_shower."
},
"quarter": {
"enum": [
"new",
"first_quarter",
"full",
"last_quarter"
],
"type": "string",
"description": "Which lunar quarter. Present for moon_quarter events."
},
"contacts": {
"type": "object",
"description": "Eclipse contact times in ISO 8601 UTC keyed by phase (e.g. partial_begin_utc, peak_utc); a phase that does not occur is null. A global solar eclipse carries peak_utc only.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"time_utc": {
"type": "string",
"description": "Time of the event in ISO 8601 UTC: the peak for an eclipse, the maximum for a meteor shower."
},
"apsis_kind": {
"enum": [
"perigee",
"apogee",
"perihelion",
"aphelion"
],
"type": "string",
"description": "Apsis classification. Present for perigee_apogee events."
},
"time_local": {
"type": "string",
"description": "Event time in observer-local time, present only when a timezone was supplied."
},
"visibility": {
"enum": [
"morning",
"evening"
],
"type": "string",
"description": "Whether the apparition is in the morning or evening sky. Present for max_elongation."
},
"distance_au": {
"type": "number",
"description": "Center-to-center distance at the apsis in astronomical units. Present for perigee_apogee."
},
"distance_km": {
"type": "number",
"description": "Center-to-center distance at the apsis in kilometers. Present for perigee_apogee."
},
"obscuration": {
"type": [
"number",
"null"
],
"description": "Peak fraction of the disc obscured, 0 to 1. Null/absent when undefined for a global partial solar eclipse."
},
"shower_code": {
"type": "string",
"description": "The meteor shower's IMO three-letter code, e.g. \"GEM\" — the form the `shower` input takes. Present for meteor_shower."
},
"local_visible": {
"type": "boolean",
"description": "True when the eclipsed body — the Sun for solar_eclipse, the Moon for lunar_eclipse — is above the observer's horizon at any contact. Present only when latitude/longitude are supplied. A solar result with an observer is always true, because the local search returns only eclipses with the Sun up at first or last contact; contact_altitudes_degrees tells an eclipse at sunrise or sunset from one at midday."
},
"contacts_local": {
"type": "object",
"description": "The contacts in observer-local time, keyed as in contacts with _local for _utc (e.g. partial_begin_local, peak_local) and null where contacts is null. Each carries whole seconds and the zone's offset at that contact's own instant, so contacts either side of a daylight-saving change carry different offsets. Present only when a timezone was supplied, exactly when time_local is.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"conjunction_kind": {
"enum": [
"inferior",
"superior"
],
"type": "string",
"description": "Whether the planet passes between Earth and the Sun (inferior) or behind the Sun (superior). Present only for mercury and venus conjunctions with the Sun, the two bodies that reach both."
},
"radiant_ra_hours": {
"type": "number",
"description": "Right ascension of the radiant at the maximum in sidereal hours, J2000. Present for meteor_shower."
},
"activity_end_date": {
"type": "string",
"description": "UTC date (YYYY-MM-DD) the shower stops being active after this maximum. Present for meteor_shower."
},
"elongation_degrees": {
"type": "number",
"description": "Greatest-elongation angle in degrees from the Sun. Present for max_elongation."
},
"separation_degrees": {
"type": "number",
"description": "Angular separation in degrees between body and body2 seen from Earth's center at the conjunction instant. Not always their closest approach: two planets can pass closer days or weeks away. Present only for a two-body conjunction."
},
"activity_start_date": {
"type": "string",
"description": "UTC date (YYYY-MM-DD) the shower becomes active before this maximum; it can fall in the previous year, as for the Quadrantids. Present for meteor_shower."
},
"radiant_dec_degrees": {
"type": "number",
"description": "Declination of the radiant at the maximum in degrees, J2000. Present for meteor_shower."
},
"sun_altitude_degrees": {
"type": "number",
"description": "Apparent altitude in degrees of the Sun above the observer's horizon at the maximum; a maximum can fall in daylight. Present for meteor_shower when latitude/longitude are supplied."
},
"peak_latitude_degrees": {
"type": "number",
"description": "Geographic latitude in degrees where a total or annular solar eclipse is greatest. Present for a solar_eclipse searched without an observer; absent for a partial eclipse, whose shadow axis misses Earth."
},
"peak_longitude_degrees": {
"type": "number",
"description": "Geographic longitude in degrees where a total or annular solar eclipse is greatest. Present for a solar_eclipse searched without an observer; absent for a partial eclipse."
},
"radiant_altitude_degrees": {
"type": "number",
"description": "Apparent altitude in degrees of the radiant, precessed to the date, above the observer's horizon at the maximum. Negative means below it. Present for meteor_shower when latitude/longitude are supplied."
},
"contact_altitudes_degrees": {
"type": "object",
"description": "Apparent altitude in degrees of the eclipsed body (the Sun for solar_eclipse, the Moon for lunar_eclipse) above the observer's horizon at each contact, keyed by bare phase name: partial_begin, total_begin, peak, total_end, partial_end, plus penumbral_begin and penumbral_end for a lunar eclipse. Negative means below the horizon; null marks a phase this eclipse does not reach. Present only when latitude/longitude are supplied.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"number",
"null"
]
}
},
"moon_illuminated_fraction": {
"type": "number",
"description": "The Moon's illuminated fraction at the maximum, 0 to 1. Geocentric: it does not say whether the Moon is above the horizon, which astronomy_get_rise_set for the moon answers across the night. Present for meteor_shower."
}
},
"description": "One event occurrence; which detail fields are present depends on the event class.",
"additionalProperties": false
},
"description": "The next occurrences of the requested event class, in chronological order."
},
"notice": {
"type": "string",
"description": "Why the list is shorter than the requested count: either the per-call cap held events back, and the notice names the exact `start` and `count` to re-call with, or the search reached the end of the supported span (2100). Absent when every requested occurrence came back."
},
"truncated": {
"type": "boolean",
"description": "True when `count` exceeded the per-call cap and only the first events came back."
},
"totalCount": {
"type": "number",
"description": "Number of event occurrences returned."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| time | string | Evaluation instant as an ISO 8601 UTC string, e.g. "2024-08-12T05:00:00Z". Defaults to now. A single instant, not a window. A value with no zone designator is read as UTC, not the local zone of the server process. |
| latitude * | number | Observer latitude in decimal degrees, north positive. |
| timezone | string | IANA timezone for localized output, e.g. "America/Los_Angeles". When omitted, output is UTC-only. |
| elevation | number | Observer elevation in meters above sea level. Default 0. |
| longitude * | number | Observer longitude in decimal degrees, east positive. |
| min_altitude | number | Minimum altitude in degrees to include a body. Default 0 (above the horizon); use e.g. 5 to require clearance. |
| include_stars | boolean | Include the bundled bright stars alongside planets. Default false. |
{
"name": "astronomy_list_visible",
"title": "astronomy-mcp-server: list visible bodies",
"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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"latitude",
"longitude"
],
"properties": {
"time": {
"type": "string",
"description": "Evaluation instant as an ISO 8601 UTC string, e.g. \"2024-08-12T05:00:00Z\". Defaults to now. A single instant, not a window. A value with no zone designator is read as UTC, not the local zone of the server process."
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Observer latitude in decimal degrees, north positive."
},
"timezone": {
"type": "string",
"description": "IANA timezone for localized output, e.g. \"America/Los_Angeles\". When omitted, output is UTC-only."
},
"elevation": {
"type": "number",
"default": 0,
"description": "Observer elevation in meters above sea level. Default 0."
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Observer longitude in decimal degrees, east positive."
},
"min_altitude": {
"type": "number",
"default": 0,
"maximum": 90,
"minimum": -90,
"description": "Minimum altitude in degrees to include a body. Default 0 (above the horizon); use e.g. 5 to require clearance."
},
"include_stars": {
"type": "boolean",
"default": false,
"description": "Include the bundled bright stars alongside planets. Default false."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"sky_condition",
"sun_altitude_degrees",
"total_count",
"bodies"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"invalid_time",
"time_out_of_range",
"invalid_timezone"
],
"description": "Machine-readable failure mode. Declared by this tool: `invalid_time`: The `time` value is not a parseable ISO 8601 instant, or names a calendar date that does not exist (e.g. 2026-02-30). `time_out_of_range`: The requested instant is outside the engine's high-accuracy span (≈1900–2100). `invalid_timezone`: The `timezone` value is not an IANA zone this runtime knows. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"bodies": {
"type": "array",
"items": {
"type": "object",
"required": [
"body",
"time_utc",
"equatorial",
"horizontal",
"ecliptic",
"magnitude",
"angular_diameter_arcsec",
"phase_angle_degrees",
"illuminated_fraction",
"sun_elongation_degrees",
"constellation",
"rank",
"visibility_note"
],
"properties": {
"body": {
"type": "string",
"description": "The body this position is for, or the catalog name of the star (e.g. \"Sirius\" for a `star` of \"α CMa\")."
},
"rank": {
"type": "number",
"description": "1-based rank, brightest-and-highest first."
},
"ecliptic": {
"type": "object",
"required": [
"longitude_degrees",
"latitude_degrees"
],
"properties": {
"latitude_degrees": {
"type": "number",
"description": "Ecliptic latitude in degrees [-90,90]."
},
"longitude_degrees": {
"type": "number",
"description": "Ecliptic longitude in degrees [0,360)."
}
},
"description": "Ecliptic-of-date coordinates of the body.",
"additionalProperties": false
},
"time_utc": {
"type": "string",
"description": "The instant of the observation in ISO 8601 UTC."
},
"magnitude": {
"type": [
"number",
"null"
],
"description": "Apparent visual magnitude (lower is brighter). Null for bodies where the engine cannot compute it."
},
"equatorial": {
"type": "object",
"required": [
"ra_hours",
"dec_degrees",
"distance_au"
],
"properties": {
"ra_hours": {
"type": "number",
"description": "Right ascension in sidereal hours [0,24), equator-of-date."
},
"dec_degrees": {
"type": "number",
"description": "Declination in degrees [-90,90], equator-of-date."
},
"distance_au": {
"type": "number",
"description": "Distance from the observer to the body in astronomical units."
}
},
"description": "Apparent equatorial coordinates, corrected for precession, nutation, parallax, and aberration.",
"additionalProperties": false
},
"horizontal": {
"type": "object",
"required": [
"altitude_degrees",
"azimuth_degrees",
"above_horizon"
],
"properties": {
"above_horizon": {
"type": "boolean",
"description": "True when the body is above the horizon (altitude > 0)."
},
"azimuth_degrees": {
"type": "number",
"description": "Compass bearing in degrees: 0=N, 90=E, 180=S, 270=W."
},
"altitude_degrees": {
"type": "number",
"description": "Angle above (positive) or below (negative) the horizon, refraction-corrected."
}
},
"description": "Refraction-corrected horizontal coordinates as seen from the observer.",
"additionalProperties": false
},
"time_local": {
"type": "string",
"description": "The same instant in the observer-local timezone with offset, present only when a timezone was supplied."
},
"constellation": {
"type": "object",
"required": [
"abbreviation",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Full constellation name, e.g. \"Orion\"."
},
"abbreviation": {
"type": "string",
"description": "IAU 3-letter constellation abbreviation, e.g. \"Ori\"."
}
},
"description": "The constellation the body currently falls within.",
"additionalProperties": false
},
"visibility_note": {
"type": "string",
"description": "Server-computed one-line headline from real values, e.g. \"Venus, mag -4.1, 12° above the W 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."
},
"phase_angle_degrees": {
"type": [
"number",
"null"
],
"description": "Sun-body-observer phase angle in degrees. Null when not applicable (e.g. stars)."
},
"illuminated_fraction": {
"type": [
"number",
"null"
],
"description": "Fraction of the disc illuminated, 0 to 1. Null when not applicable."
},
"sun_elongation_degrees": {
"type": "number",
"description": "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."
},
"angular_diameter_arcsec": {
"type": [
"number",
"null"
],
"description": "Apparent angular diameter of the disc in arcseconds. Null for point-source convention bodies."
}
},
"description": "A sky position above the horizon, with its rank and a plain-language visibility note.",
"additionalProperties": false
},
"description": "Every body (and optional star) above the minimum-altitude filter, ranked brightest-and-highest first."
},
"total_count": {
"type": "number",
"description": "Number of bodies returned above the minimum-altitude filter."
},
"sky_condition": {
"enum": [
"daylight",
"civil_twilight",
"nautical_twilight",
"astronomical_twilight",
"dark"
],
"type": "string",
"description": "Sky condition derived from the Sun's altitude — the gate for whether faint objects are observable."
},
"sun_altitude_degrees": {
"type": "number",
"description": "The Sun's altitude in degrees that produced the sky condition."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Fetch a time-series ephemeris for a small body (asteroid or comet) or spacecraft from JPL Horizons — RA/Dec, distance, apparent magnitude, the constellation, and the angle from the Sun with its morning or evening side over a span, optionally with observer-relative altitude/azimuth. RA/Dec are astrometric ICRF (J2000), the frame of modern star charts, so they differ from the apparent of-date values astronomy_get_sky_position returns by precession, nutation, and aberration — a gap that grows with distance from the year 2000. This covers objects the in-process major-body set cannot. The designation is passed to Horizons verbatim, so it must be in a form Horizons resolves to a single record: a numbered asteroid takes a trailing-semicolon record lookup (e.g. "433;" for Eros, "1;" for Ceres), and a periodic comet takes the DES + closest-apparition form (e.g. "DES=1P;CAP" for Halley). Spacecraft take their negative SPK-ID. Anything else goes through the Horizons name search: a bare name matching nothing (e.g. "433 Eros") or several records (e.g. "1P/Halley") is rejected, but one matching a single object succeeds even when that object is not the one meant — "Eros" resolves to Kerberos, a moon of Pluto — so compare `target_name`, the object Horizons resolved, with the one intended. A major-body name matching several bodies (e.g. "Mars") is rejected with the ID number of each body it matched — pass one, such as "499" for the planet. `start` and `stop` are ISO 8601 UTC dates in the Gregorian calendar, extended before 1582, in years 0100 through 9999; `stop` must not be before `start`, and a `stop` equal to `start` returns the single row at that instant. `step` is a count plus a unit of m, h, d, mo, or y, such as "1d", "1h", or "10m". Supplying observer latitude/longitude yields topocentric coordinates and adds alt/az — supply both or neither. This is a gated, network-backed extension (JPL Horizons is keyless but rate-limited and best-effort); large spans truncate inline at 200 rows, and the truncation notice names the exact `start` to resume from — one step past the last row returned, because Horizons includes the start instant in its output — so re-calling from there continues the series without repeating a sample. Splitting the range into smaller adjacent spans works too; keep the same step either way so no sample is lost.
| Parameter | Type | Description |
|---|---|---|
| step | string | Step size as a positive count up to 2147483647 plus a unit of m (minutes), h (hours), d (days), mo (months), or y (years), e.g. "10m", "1h", "1d". Default "1h". |
| stop | string | Ephemeris stop as an ISO 8601 UTC string in years 0100 through 9999, at or after start — equal to start returns the single row at that instant. Defaults to 24 hours after start. A value with no zone designator is read as UTC, not the local zone of the server process. |
| start | string | Ephemeris start as an ISO 8601 UTC string, e.g. "2024-01-01T00:00:00Z", in years 0100 through 9999 — the calendar years JPL Horizons reads. Dates are Gregorian, extended before 1582. Defaults to now. A value with no zone designator is read as UTC, not the local zone of the server process. |
| latitude | number | Observer latitude in decimal degrees — supply together with longitude for topocentric coordinates and alt/az. Supplying one without the other is rejected. |
| elevation | number | Observer elevation in meters above sea level. Default 0. With latitude and longitude it must be greater than -20000 and less than 40000000 — the observer altitudes Horizons accepts; a geocentric request ignores it. |
| longitude | number | Observer longitude in decimal degrees. Supply together with latitude; one without the other is rejected. |
| designation * | string | JPL Horizons target, passed verbatim — use a form that resolves to one record. Numbered asteroid: trailing-semicolon record lookup, e.g. "433;" (Eros), "1;" (Ceres). Periodic comet: DES + closest-apparition flag, e.g. "DES=1P;CAP" (Halley), "DES=2P;CAP" (Encke). Spacecraft: negative SPK-ID, e.g. "-4… |
{
"name": "astronomy_get_ephemeris",
"title": "astronomy-mcp-server: get small-body ephemeris",
"description": "Fetch a time-series ephemeris for a small body (asteroid or comet) or spacecraft from JPL Horizons — RA/Dec, distance, apparent magnitude, the constellation, and the angle from the Sun with its morning or evening side over a span, optionally with observer-relative altitude/azimuth. RA/Dec are astrometric ICRF (J2000), the frame of modern star charts, so they differ from the apparent of-date values astronomy_get_sky_position returns by precession, nutation, and aberration — a gap that grows with distance from the year 2000. This covers objects the in-process major-body set cannot. The designation is passed to Horizons verbatim, so it must be in a form Horizons resolves to a single record: a numbered asteroid takes a trailing-semicolon record lookup (e.g. \"433;\" for Eros, \"1;\" for Ceres), and a periodic comet takes the DES + closest-apparition form (e.g. \"DES=1P;CAP\" for Halley). Spacecraft take their negative SPK-ID. Anything else goes through the Horizons name search: a bare name matching nothing (e.g. \"433 Eros\") or several records (e.g. \"1P/Halley\") is rejected, but one matching a single object succeeds even when that object is not the one meant — \"Eros\" resolves to Kerberos, a moon of Pluto — so compare `target_name`, the object Horizons resolved, with the one intended. A major-body name matching several bodies (e.g. \"Mars\") is rejected with the ID number of each body it matched — pass one, such as \"499\" for the planet. `start` and `stop` are ISO 8601 UTC dates in the Gregorian calendar, extended before 1582, in years 0100 through 9999; `stop` must not be before `start`, and a `stop` equal to `start` returns the single row at that instant. `step` is a count plus a unit of m, h, d, mo, or y, such as \"1d\", \"1h\", or \"10m\". Supplying observer latitude/longitude yields topocentric coordinates and adds alt/az — supply both or neither. This is a gated, network-backed extension (JPL Horizons is keyless but rate-limited and best-effort); large spans truncate inline at 200 rows, and the truncation notice names the exact `start` to resume from — one step past the last row returned, because Horizons includes the start instant in its output — so re-calling from there continues the series without repeating a sample. Splitting the range into smaller adjacent spans works too; keep the same step either way so no sample is lost.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"designation"
],
"properties": {
"step": {
"type": "string",
"default": "1h",
"description": "Step size as a positive count up to 2147483647 plus a unit of m (minutes), h (hours), d (days), mo (months), or y (years), e.g. \"10m\", \"1h\", \"1d\". Default \"1h\"."
},
"stop": {
"type": "string",
"description": "Ephemeris stop as an ISO 8601 UTC string in years 0100 through 9999, at or after start — equal to start returns the single row at that instant. Defaults to 24 hours after start. A value with no zone designator is read as UTC, not the local zone of the server process."
},
"start": {
"type": "string",
"description": "Ephemeris start as an ISO 8601 UTC string, e.g. \"2024-01-01T00:00:00Z\", in years 0100 through 9999 — the calendar years JPL Horizons reads. Dates are Gregorian, extended before 1582. Defaults to now. A value with no zone designator is read as UTC, not the local zone of the server process."
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Observer latitude in decimal degrees — supply together with longitude for topocentric coordinates and alt/az. Supplying one without the other is rejected."
},
"elevation": {
"type": "number",
"default": 0,
"description": "Observer elevation in meters above sea level. Default 0. With latitude and longitude it must be greater than -20000 and less than 40000000 — the observer altitudes Horizons accepts; a geocentric request ignores it."
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Observer longitude in decimal degrees. Supply together with latitude; one without the other is rejected."
},
"designation": {
"type": "string",
"pattern": "\\S",
"description": "JPL Horizons target, passed verbatim — use a form that resolves to one record. Numbered asteroid: trailing-semicolon record lookup, e.g. \"433;\" (Eros), \"1;\" (Ceres). Periodic comet: DES + closest-apparition flag, e.g. \"DES=1P;CAP\" (Halley), \"DES=2P;CAP\" (Encke). Spacecraft: negative SPK-ID, e.g. \"-48\" (Hubble). A bare name like \"433 Eros\" (no match) or \"1P/Halley\" (several records) is rejected, and \"Mars\" (several major bodies) is rejected with their ID numbers listed — the planet is \"499\" — but one matching a single object succeeds even when it is not the object meant — check `target_name` in the result. Earth (\"399\") is rejected, being the body the observer is on, and so is a name containing an apostrophe, which the Horizons search cannot match — \"6P/d'Arrest\" resolves as \"DES=6P;CAP\" — or any character outside printable ASCII, which Horizons refuses, such as an accent or a typographic apostrophe — \"Šteins\" resolves as \"2867;\". Look up designations at ssd.jpl.nasa.gov/tools/sbdb_lookup.html."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"designation",
"points",
"truncated",
"shown",
"cap"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cap": {
"type": "number",
"description": "The inline row cap that was applied."
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"invalid_time",
"invalid_time_range",
"incomplete_observer",
"invalid_elevation",
"invalid_step",
"time_out_of_range",
"body_not_found",
"ambiguous_designation",
"observer_is_target",
"request_rejected",
"horizons_unavailable"
],
"description": "Machine-readable failure mode. Declared by this tool: `invalid_time`: The start or stop timestamp is not a parseable ISO 8601 instant, names a calendar date that does not exist (e.g. 2026-02-30), or falls outside years 0100 through 9999, the calendar years JPL Horizons reads. `invalid_time_range`: The resolved stop instant is before the resolved start instant. `incomplete_observer`: Exactly one of latitude and longitude was supplied. `invalid_elevation`: An observer (latitude and longitude) was supplied with an elevation of -20000 m or less, or 40000000 m or more — outside the observer altitudes JPL Horizons accepts. `invalid_step`: The step is not a positive count followed by a unit of m, h, d, mo, or y, its count is past 2147483647, or Horizons reports it longer than the span of data it holds for the target. `time_out_of_range`: The requested span falls outside the target's Horizons data span. The message names the bound Horizons reported, e.g. after A.D. 2599-DEC-31 for Mars. `body_not_found`: JPL Horizons has no match for the designation, the designation is ambiguous (a bare comet name matches multiple apparition records), it contains an apostrophe, which the Horizons search cannot match (e.g. \"6P/d'Arrest\"), or it contains a character outside printable ASCII, which Horizons refuses (e.g. \"Šteins\", \"6P/d’Arrest\"). `ambiguous_designation`: A major-body or spacecraft name matches several Horizons bodies (e.g. \"Mars\" matches the planet, its barycenter, and spacecraft). The message lists the candidates with their ID numbers, at most 20, and names the total when there are more. `observer_is_target`: The designation resolves to Earth (e.g. \"399\"), the body every request here observes from. `request_rejected`: JPL Horizons refused a request parameter value with HTTP 400 — the same answer on every attempt. The message names the input that parameter carries. `horizons_unavailable`: The JPL Horizons API failed after retries. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"shown": {
"type": "number",
"description": "Number of ephemeris rows returned."
},
"notice": {
"type": "string",
"description": "Caveats on the returned series — how to retrieve rows omitted by the cap, and whether any rows were dropped. Absent when the whole span came back intact."
},
"points": {
"type": "array",
"items": {
"type": "object",
"required": [
"time_utc",
"ra_hours",
"dec_degrees",
"distance_au",
"magnitude",
"constellation",
"sun_elongation_degrees",
"visibility"
],
"properties": {
"ra_hours": {
"type": "number",
"description": "Right ascension in sidereal hours [0,24), astrometric ICRF (J2000) as JPL Horizons reports it — the frame of modern star charts, not the apparent of-date right ascension astronomy_get_sky_position returns. The two differ by precession, nutation, and aberration, a gap that grows with distance from the year 2000."
},
"time_utc": {
"type": "string",
"description": "Step instant in ISO 8601 UTC."
},
"magnitude": {
"type": [
"number",
"null"
],
"description": "Apparent magnitude, or null when Horizons omits it for this body."
},
"visibility": {
"anyOf": [
{
"enum": [
"morning",
"evening"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "Whether the body sits in the morning or evening sky, from the /r code Horizons prints beside S-O-T: morning when the body leads the Sun (/L — it rises and sets before the Sun), evening when it trails (/T — it rises and sets after). Null when Horizons reports it aligned with the Sun's center (/?), as for the Sun itself, or prints no code. Horizons judges lead and trail by Earth's daily rotation, so for a body nearly opposite the Sun this can differ from the ecliptic-longitude rule astronomy_find_events uses for max_elongation."
},
"dec_degrees": {
"type": "number",
"description": "Declination in degrees [-90,90], astrometric ICRF (J2000), the same frame as ra_hours."
},
"distance_au": {
"type": "number",
"description": "Observer-to-body distance in astronomical units."
},
"constellation": {
"type": "object",
"required": [
"abbreviation",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Full constellation name, e.g. \"Orion\"."
},
"abbreviation": {
"type": "string",
"description": "IAU 3-letter constellation abbreviation, e.g. \"Ori\"."
}
},
"description": "The constellation the body falls within at this step, found from the row's own ra_hours and dec_degrees.",
"additionalProperties": false
},
"azimuth_degrees": {
"type": "number",
"description": "Azimuth in degrees (0=N, 90=E, 180=S, 270=W). Present only when an observer was supplied."
},
"altitude_degrees": {
"type": "number",
"description": "Refraction-corrected altitude in degrees. Present only when an observer was supplied."
},
"sun_elongation_degrees": {
"type": [
"number",
"null"
],
"description": "Angular distance from the Sun in degrees [0,180], the Sun-observer-target (S-O-T) angle JPL Horizons reports, seen from the observer when latitude and longitude are supplied and from Earth's center otherwise. 0 for the Sun itself. Null when Horizons supplies no value for the row."
}
},
"description": "One ephemeris step: position, constellation, angle from the Sun, and, with an observer, alt/az.",
"additionalProperties": false
},
"description": "Time-series of positions, one per step, in chronological order."
},
"dropped": {
"type": "number",
"description": "Rows Horizons returned that carried no usable time, position, or distance and were dropped. Present only when at least one row was dropped, in which case the series has gaps and is shorter than the requested step count."
},
"truncated": {
"type": "boolean",
"description": "True when the requested span continues past the returned rows; the notice names the start to resume from."
},
"designation": {
"type": "string",
"description": "The body designation echoed from the request."
},
"target_name": {
"type": "string",
"description": "The object JPL Horizons resolved the designation to, from its 'Target body name' header — compare it with the intended object, since a bare name can resolve to a different one. Absent when Horizons' response names no target."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}Predict visible passes of a satellite (e.g. the ISS, NORAD 25544) over an observer in the next `days`. Identify the satellite by exactly one of `norad_id` or `name` — supplying both, or neither, is rejected. A few well-known common names resolve directly to their catalog numbers, ignoring case: ISS or International Space Station (25544), Hubble, Hubble Space Telescope, or HST (20580), and Tiangong, CSS, or Chinese Space Station (48274). Any other `name` is matched as a case-insensitive substring of CelesTrak's catalog names, so it resolves only when it picks out a single object: a broader query comes back with the matching objects and their catalog numbers to choose from. Either way the result echoes the query that resolved it as `resolved_from_name`. Fetches the object's current GP element set from CelesTrak, propagates it with SGP4 in-process, and returns each pass's rise, peak, and set times with azimuths and the peak elevation, plus the stretch of the pass visible to the naked eye: `visible_start_utc` through `visible_end_utc`, with the elevation and azimuth at each end. A pass is returned when that visible stretch — the satellite above the horizon and sunlit while the Sun is below −6° for the observer — reaches 10° elevation, wherever in the pass it falls. `sunlit` reports illumination at the peak instant, so it is false on a pass seen only before it enters Earth's shadow or after it leaves. Rise, set, and the visible-stretch edges are within 1 s of the true instants; the peak is the highest sample of a 30-second scan. Every returned pass rises in the requested window or in the 30 s before `start`: a pass up longer than that at `start` is omitted rather than reported with `start` as its rise, so back up `start` to see it, while a pass still up when the window ends is reported through its actual set. Searches at most 10 days per call: a larger `days`, up to 30, searches the first 10 and returns a notice naming the exact `start` and `days` that continue the search with no pass repeated or skipped, while that start stays within about a month of the element set's epoch. A `start` further than about a month from the element set's epoch is rejected as out of range on that distance alone, and an element set that will not propagate to a window inside that horizon is rejected as a reentry — so an empty `passes` means only that nothing was visible. CelesTrak publishes only current element sets, so in practice `start` must be within about a month of today. NORAD catalog numbers and catalog names are found at celestrak.org or heavens-above.com. This is a gated, network-backed extension (CelesTrak is keyless but rate-limited; element sets are cached briefly). Default elevation 0 m; pass an IANA timezone for observer-local pass times.
| Parameter | Type | Description |
|---|---|---|
| days | integer | Number of days ahead to search for passes. Default 7. At most 10 are searched per call; a value up to 30 searches the first 10 with a notice naming the `start` and `days` that continue the search. |
| name | string | Satellite name to resolve, e.g. "ISS (ZARYA)". The common names ISS, International Space Station, Hubble, Hubble Space Telescope, HST, Tiangong, CSS, and Chinese Space Station resolve directly to their catalog numbers, ignoring case and surrounding whitespace. Any other name is matched against Celes… |
| start | string | Search start as an ISO 8601 UTC string, within about a month of the current element set's epoch — for a tracked object that epoch is hours old, so in practice within about a month of today. A start further out is rejected rather than answered from elements that no longer describe the orbit. Defaults… |
| latitude * | number | Observer latitude in decimal degrees, north positive. |
| norad_id | integer | NORAD catalog number of the satellite, e.g. 25544 for the ISS. Found at celestrak.org or heavens-above.com. Mutually exclusive with `name` — supply exactly one. |
| timezone | string | IANA timezone for localized pass times, e.g. "America/Los_Angeles". When omitted, output is UTC-only. |
| elevation | number | Observer elevation in meters above sea level. Default 0. |
| longitude * | number | Observer longitude in decimal degrees, east positive. |
{
"name": "astronomy_get_satellite_passes",
"title": "astronomy-mcp-server: get satellite passes",
"description": "Predict visible passes of a satellite (e.g. the ISS, NORAD 25544) over an observer in the next `days`. Identify the satellite by exactly one of `norad_id` or `name` — supplying both, or neither, is rejected. A few well-known common names resolve directly to their catalog numbers, ignoring case: ISS or International Space Station (25544), Hubble, Hubble Space Telescope, or HST (20580), and Tiangong, CSS, or Chinese Space Station (48274). Any other `name` is matched as a case-insensitive substring of CelesTrak's catalog names, so it resolves only when it picks out a single object: a broader query comes back with the matching objects and their catalog numbers to choose from. Either way the result echoes the query that resolved it as `resolved_from_name`. Fetches the object's current GP element set from CelesTrak, propagates it with SGP4 in-process, and returns each pass's rise, peak, and set times with azimuths and the peak elevation, plus the stretch of the pass visible to the naked eye: `visible_start_utc` through `visible_end_utc`, with the elevation and azimuth at each end. A pass is returned when that visible stretch — the satellite above the horizon and sunlit while the Sun is below −6° for the observer — reaches 10° elevation, wherever in the pass it falls. `sunlit` reports illumination at the peak instant, so it is false on a pass seen only before it enters Earth's shadow or after it leaves. Rise, set, and the visible-stretch edges are within 1 s of the true instants; the peak is the highest sample of a 30-second scan. Every returned pass rises in the requested window or in the 30 s before `start`: a pass up longer than that at `start` is omitted rather than reported with `start` as its rise, so back up `start` to see it, while a pass still up when the window ends is reported through its actual set. Searches at most 10 days per call: a larger `days`, up to 30, searches the first 10 and returns a notice naming the exact `start` and `days` that continue the search with no pass repeated or skipped, while that start stays within about a month of the element set's epoch. A `start` further than about a month from the element set's epoch is rejected as out of range on that distance alone, and an element set that will not propagate to a window inside that horizon is rejected as a reentry — so an empty `passes` means only that nothing was visible. CelesTrak publishes only current element sets, so in practice `start` must be within about a month of today. NORAD catalog numbers and catalog names are found at celestrak.org or heavens-above.com. This is a gated, network-backed extension (CelesTrak is keyless but rate-limited; element sets are cached briefly). Default elevation 0 m; pass an IANA timezone for observer-local pass times.",
"inputSchema": {
"type": "object",
"oneOf": [
{
"not": {
"required": [
"name"
]
},
"type": "object",
"required": [
"norad_id"
]
},
{
"not": {
"required": [
"norad_id"
]
},
"type": "object",
"required": [
"name"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"latitude",
"longitude"
],
"properties": {
"days": {
"type": "integer",
"default": 7,
"maximum": 30,
"minimum": 1,
"description": "Number of days ahead to search for passes. Default 7. At most 10 are searched per call; a value up to 30 searches the first 10 with a notice naming the `start` and `days` that continue the search."
},
"name": {
"type": "string",
"description": "Satellite name to resolve, e.g. \"ISS (ZARYA)\". The common names ISS, International Space Station, Hubble, Hubble Space Telescope, HST, Tiangong, CSS, and Chinese Space Station resolve directly to their catalog numbers, ignoring case and surrounding whitespace. Any other name is matched against CelesTrak as a case-insensitive substring of the catalog name, so give the fullest name you have — a short one matches many objects and is rejected as ambiguous. Mutually exclusive with `norad_id` — supply exactly one."
},
"start": {
"type": "string",
"description": "Search start as an ISO 8601 UTC string, within about a month of the current element set's epoch — for a tracked object that epoch is hours old, so in practice within about a month of today. A start further out is rejected rather than answered from elements that no longer describe the orbit. Defaults to now. A value with no zone designator is read as UTC, not the local zone of the server process."
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Observer latitude in decimal degrees, north positive."
},
"norad_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "NORAD catalog number of the satellite, e.g. 25544 for the ISS. Found at celestrak.org or heavens-above.com. Mutually exclusive with `name` — supply exactly one.",
"exclusiveMinimum": 0
},
"timezone": {
"type": "string",
"description": "IANA timezone for localized pass times, e.g. \"America/Los_Angeles\". When omitted, output is UTC-only."
},
"elevation": {
"type": "number",
"default": 0,
"description": "Observer elevation in meters above sea level. Default 0."
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Observer longitude in decimal degrees, east positive."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"norad_id",
"passes",
"totalCount"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"invalid_time",
"time_out_of_range",
"invalid_timezone",
"invalid_target",
"tle_not_found",
"satellite_name_not_found",
"ambiguous_satellite_name",
"object_decayed",
"celestrak_unavailable",
"malformed_element_set"
],
"description": "Machine-readable failure mode. Declared by this tool: `invalid_time`: The start timestamp is not a parseable ISO 8601 instant, or names a calendar date that does not exist (e.g. 2026-02-30). `time_out_of_range`: The start instant falls outside the years 1900–2100, or more than about a month from the epoch of the current element set — checked on the epoch distance itself, since SGP4 keeps returning positions well past the point where the mean elements describe the orbit. `invalid_timezone`: The `timezone` value is not an IANA zone this runtime knows. `invalid_target`: Neither `norad_id` nor `name` was supplied, or both were. `tle_not_found`: CelesTrak has no current element set for the NORAD ID. `satellite_name_not_found`: No current CelesTrak object has a name containing the `name` value. `ambiguous_satellite_name`: The `name` value matches more than one current object and none of them carries it as their whole name. The error names the match count and lists the matching objects with their catalog numbers, capped when there are more than the list holds. A capped list carries a hint leading with narrowing instead of with the list, since the wanted object need not be among the ones shown. `object_decayed`: A current element set will not propagate to a window near its own epoch — the signature of an object that has reentered. `celestrak_unavailable`: The element-set fetch failed after retries, or returned a body that is not JSON at all. `malformed_element_set`: CelesTrak answered with parsable JSON whose GP record does not carry the fields an OMM element set requires — a permanent property of that record, not the transient outage celestrak_unavailable covers. The same request returns the same record, so retrying it can only fail again. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"notice": {
"type": "string",
"description": "How to search the days the per-call cap held back: the exact `start` and `days` to re-call with, or — when that start would lie more than about a month from the element set's epoch — that no call can search them. Absent when every requested day was searched."
},
"passes": {
"type": "array",
"items": {
"type": "object",
"required": [
"rise_utc",
"peak_utc",
"set_utc",
"peak_altitude_degrees",
"rise_azimuth_degrees",
"set_azimuth_degrees",
"peak_azimuth_degrees",
"duration_seconds",
"sunlit",
"visible_start_utc",
"visible_end_utc",
"visible_start_altitude_degrees",
"visible_end_altitude_degrees",
"visible_start_azimuth_degrees",
"visible_end_azimuth_degrees"
],
"properties": {
"sunlit": {
"type": "boolean",
"description": "True when the satellite is in sunlight at the peak instant. False on a pass that enters Earth's shadow before its peak or leaves it after — the visible_* fields say when it can be seen."
},
"set_utc": {
"type": "string",
"description": "Set below the horizon in ISO 8601 UTC, within 1 s of the true crossing."
},
"peak_utc": {
"type": "string",
"description": "Time of maximum elevation in ISO 8601 UTC, the highest sample of a 30-second scan."
},
"rise_utc": {
"type": "string",
"description": "Rise above the horizon in ISO 8601 UTC, within 1 s of the true crossing. Can fall up to 30 s before `start` when the satellite rose inside the 30-second scan step ending at `start`."
},
"set_local": {
"type": "string",
"description": "Set time in observer-local time, present only when a timezone was supplied."
},
"peak_local": {
"type": "string",
"description": "Peak time in observer-local time, present only when a timezone was supplied."
},
"rise_local": {
"type": "string",
"description": "Rise time in observer-local time, present only when a timezone was supplied."
},
"visible_end_utc": {
"type": "string",
"description": "End of the visible stretch in ISO 8601 UTC. Equals `set_utc` when the pass is visible until it sets; otherwise within 1 s of the moment it enters Earth's shadow or the sky brightens."
},
"duration_seconds": {
"type": "number",
"description": "Pass duration from `rise_utc` to `set_utc`, in seconds."
},
"visible_end_local": {
"type": "string",
"description": "Visible-stretch end in observer-local time, present only when a timezone was supplied."
},
"visible_start_utc": {
"type": "string",
"description": "Start of the visible stretch — above the horizon, sunlit, over a dark sky — in ISO 8601 UTC. Equals `rise_utc` when the pass is visible from its rise; otherwise within 1 s of the moment it leaves Earth's shadow or the sky darkens."
},
"set_azimuth_degrees": {
"type": "number",
"description": "Azimuth at `set_utc`, in degrees."
},
"visible_start_local": {
"type": "string",
"description": "Visible-stretch start in observer-local time, present only when a timezone was supplied."
},
"peak_azimuth_degrees": {
"type": "number",
"description": "Azimuth at peak elevation, in degrees."
},
"rise_azimuth_degrees": {
"type": "number",
"description": "Azimuth at `rise_utc`, in degrees (0=N, 90=E, 180=S, 270=W)."
},
"peak_altitude_degrees": {
"type": "number",
"description": "Maximum elevation angle during the pass, in degrees, as sampled every 30 seconds."
},
"visible_end_azimuth_degrees": {
"type": "number",
"description": "Azimuth where the visible stretch ends, in degrees."
},
"visible_end_altitude_degrees": {
"type": "number",
"description": "Elevation where the visible stretch ends, in degrees — 0 when it ends at the set."
},
"visible_start_azimuth_degrees": {
"type": "number",
"description": "Azimuth where the visible stretch starts, in degrees — where to look first."
},
"visible_start_altitude_degrees": {
"type": "number",
"description": "Elevation where the visible stretch starts, in degrees — 0 when it starts at the rise."
}
},
"description": "One visible pass: horizon-to-horizon rise/peak/set geometry, illumination at peak, and the stretch of the pass that is visible to the naked eye.",
"additionalProperties": false
},
"description": "Passes whose visible stretch — the satellite above the horizon and sunlit while the Sun is below −6° for the observer — reaches 10° elevation, in the window searched, chronological."
},
"norad_id": {
"type": "number",
"description": "The NORAD catalog number echoed from the request."
},
"totalCount": {
"type": "number",
"description": "Number of visible passes found in the window searched."
},
"satellite_name": {
"type": "string",
"description": "Satellite name as CelesTrak catalogs it (the element set's OBJECT_NAME)."
},
"resolved_from_name": {
"type": "string",
"description": "The name query that resolved this object. Present only when the request supplied `name` rather than `norad_id`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}Observer location is latitude/longitude in decimal degrees plus optional elevation; times are ISO 8601 UTC and default to now. This server does not geocode — resolve a place name to coordinates upstream (e.g. via openstreetmap) and a timezone via reference-data, then pass `timezone` to receive observer-local times. astronomy_list_visible is the one-call "what is up now" answer. The astronomy_get_ephemeris (small bodies) and astronomy_get_satellite_passes tools are off by default; enable them with ASTRONOMY_ENABLE_HORIZONS / ASTRONOMY_ENABLE_SATELLITES.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.
| elevation | number | Observer elevation in meters above sea level. Default 0. |
| longitude | number | Observer longitude in decimal degrees, supplied together with latitude. Optional for solar_eclipse, lunar_eclipse, and meteor_shower; ignored by every other event. |