brahe-mcp
v0.3.0MCP server wrapping the Brahe astrodynamics library
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_constants
List all available brahe astrodynamics constants, organized by category.
get_constant
Get a single brahe constant by name (case-insensitive). Args: name: The constant name, e.g. "R_EARTH" or "gm_earth".
| Parameter | Type | Description |
|---|---|---|
name * | string |
list_time_systems
List all supported time systems for epoch conversion.
current_time
Return the current time as an epoch. Args: output_format: Output format - one of: iso, iso_precise, string, mjd, jd, gps_seconds, gps_nanoseconds, gps_date. output_time_system: Time system for output. One of: UTC, GPS, TAI, TT, UT1.
| Parameter | Type | Description |
|---|---|---|
output_format | string | |
output_time_system | string |
convert_epoch
Convert an epoch between time representations and time systems. Supports ISO strings, MJD, JD, GPS seconds, GPS nanoseconds, and GPS date (week,seconds). Time systems: UTC, GPS, TAI, TT, UT1. Args: value: The epoch value as a string. For ISO: '2024-01-01T12:00:00Z'. For MJD/JD/GPS: numeric string. For gps_date: 'week,seconds'. input_format: Input format - one of: iso, mjd, jd, gps_seconds, gps_nanoseconds, gps_date. input_time_system: Time system of input (ignored for iso and gps_* formats). One of: UTC, GPS, TAI, TT, UT1. output_format: Output for…
| Parameter | Type | Description |
|---|---|---|
value * | string | |
input_format | string | |
input_time_system | string | |
output_format | string | |
output_time_system | string |
list_orbital_computations
List all available orbital property computations and anomaly conversions. Returns names, descriptions, and parameter requirements for each computation.
compute_orbital_property
Compute an orbital property using brahe astrodynamics functions. Use list_orbital_computations() to see all available computations and their parameters. Args: computation: Name of the computation (case-insensitive), e.g. "orbital_period". a: Semi-major axis in meters. e: Eccentricity (dimensionless). n: Mean motion (deg/s or rad/s depending on angle_format). period: Orbital period in seconds. state_eci: ECI state vector as comma-separated string "x,y,z,vx,vy,vz" (m, m/s). gm: Gravitational parameter (m^3/s^2). Defaults to Earth…
| Parameter | Type | Description |
|---|---|---|
computation * | string | |
a | ||
angle_format | string | |
e | ||
gm | ||
n | ||
period | ||
r_body | ||
state_eci |
convert_anomaly
Convert between orbital anomaly types (mean, eccentric, true). Use list_orbital_computations() to see all available conversions. Args: conversion: Conversion name (case-insensitive), e.g. "eccentric_to_mean". anomaly: Input anomaly value in the specified angle_format. e: Orbital eccentricity (dimensionless). angle_format: Angle unit - "degrees" (default) or "radians".
| Parameter | Type | Description |
|---|---|---|
anomaly * | number | |
conversion * | string | |
e * | number | |
angle_format | string |
convert_equinoctial
Convert between Keplerian and equinoctial orbital elements. Equinoctial elements are nonsingular for circular and equatorial orbits, where the Keplerian argument of perigee and RAAN become undefined. Args: state: 6-element state. Keplerian [a, e, i, RAAN, omega, M] with a in meters, or equinoctial [a, h, k, p, q, l] with a in meters. direction: "koe_to_equinoctial" or "equinoctial_to_koe". fr: Retrograde factor, +1 (default) for direct orbits or -1 for near-retrograde orbits where the standard set is singular at i=180. angle…
| Parameter | Type | Description |
|---|---|---|
direction * | string | |
state * | array | |
angle_format | string | |
fr | integer |
convert_mean_osculating
Convert a single Keplerian state between mean and osculating elements. Uses the Brouwer-Lyddane analytical theory. The numerical method is batch-only; use convert_mean_osculating_batch for it. Brouwer-Lyddane is a first-order theory, so mean -> osc -> mean does not return the input exactly. Residuals grow for near-circular orbits where omega and M are ill-conditioned. Args: state: 6-element Keplerian [a, e, i, RAAN, omega, M], a in meters. direction: "mean_to_osc" or "osc_to_mean". method: "brouwer_lyddane" (default). "numerical" is rejected h…
| Parameter | Type | Description |
|---|---|---|
direction * | string | |
state * | array | |
angle_format | string | |
method | string |
convert_mean_osculating_batch
Convert a series of Keplerian states between mean and osculating elements. Two methods are available. "brouwer_lyddane" maps each state independently and always preserves series length. "numerical" applies windowed averaging; with edge="truncate" it returns FEWER states than it receives, because the averaging window consumes the series edges. Always read n_output rather than assuming it equals n_input. Numerical mean_to_osc inverts the averaging by differential correction and therefore requires force_config. Numerical osc_to_mean does not. Singular states rej…
| Parameter | Type | Description |
|---|---|---|
direction * | string | |
epochs * | array | |
states * | array | |
alignment | string | |
angle_format | string | |
edge | string | |
force_config | ||
force_model | string | |
integrator | ||
max_iterations | integer | |
method | string | |
tolerance | number | |
window_seconds | number |
list_coordinate_systems
List all supported coordinate frames, their components, and valid conversions. Returns groups for position frames, state frames, and relative frames, along with allowed conversion pairs for each tool.
convert_position
Convert a 3-element position vector between coordinate frames. Supported conversions: GEODETIC<->ECEF, GEOCENTRIC<->ECEF, GEODETIC<->GEOCENTRIC, ECI<->ECEF (requires epoch), GCRF<->ITRF (requires epoch), GCRF<->EME2000. Args: vector: 3-element position vector [x, y, z] or [lon, lat, alt] etc. from_frame: Source frame (ECEF, GEODETIC, GEOCENTRIC, ECI, GCRF, ITRF, EME2000). to_frame: Target frame (same set). angle_format: "degrees" (default) or "radians" for geodetic/geocentric angles. epoch: ISO epoch string, required for ECI<->ECEF and GCRF…
| Parameter | Type | Description |
|---|---|---|
from_frame * | string | |
to_frame * | string | |
vector * | array | |
angle_format | string | |
epoch | string |
convert_state
Convert a 6-element state vector between coordinate frames. Supported conversions: KOE<->ECI, ECI<->ECEF (requires epoch), GCRF<->ITRF (requires epoch), GCRF<->EME2000. Args: vector: 6-element state vector [x,y,z,vx,vy,vz] or [a,e,i,RAAN,omega,M]. from_frame: Source frame (ECI, KOE, ECEF, GCRF, ITRF, EME2000). to_frame: Target frame (same set). angle_format: "degrees" (default) or "radians" for KOE angles. epoch: ISO epoch string, required for ECI<->ECEF and GCRF<->ITRF.
| Parameter | Type | Description |
|---|---|---|
from_frame * | string | |
to_frame * | string | |
vector * | array | |
angle_format | string | |
epoch | string |
convert_relative_position
Convert a position relative to a ground station between ECEF and topocentric frames. Supported conversions: ECEF<->ENZ, ECEF<->SEZ, ENZ->AZEL, SEZ->AZEL. Args: station: 3-element station position (geodetic [lon,lat,alt] or ECEF [x,y,z]). vector: 3-element position to convert. from_frame: Source frame (ECEF, ENZ, SEZ). to_frame: Target frame (ECEF, ENZ, SEZ, AZEL). station_type: How station is specified: "geodetic" (default), "geocentric", or "ecef". angle_format: "degrees" (default) or "radians" for AZEL output and station angles.
| Parameter | Type | Description |
|---|---|---|
from_frame * | string | |
station * | array | |
to_frame * | string | |
vector * | array | |
angle_format | string | |
station_type | string |
list_radec_options
List RA/Dec frames, vector components, and conversion requirements. Use before convert_radec to discover valid frame pairs and which conversions require a site and epoch.
convert_radec
Convert a position or state between RA/Dec and inertial or topocentric frames. A 3-element vector is treated as a position, a 6-element vector as a state. Use list_radec_options() to discover valid frame pairs. Args: vector: 3 elements for a position, 6 for a state. from_frame: Source frame (RADEC, ECI, GCRF, AZEL). to_frame: Target frame (same set). angle_format: "degrees" (default) or "radians". Also governs the units of site's longitude/latitude (site_type="ecef" is unaffected, since ECEF coordinates carry no angles).…
| Parameter | Type | Description |
|---|---|---|
from_frame * | string | |
to_frame * | string | |
vector * | array | |
angle_format | string | |
epoch | string | |
site | ||
site_type | string |
apply_proper_motion
Propagate a star's catalog RA/Dec between epochs using proper motion. Wraps IAU SOFA's iauPmsafe space-motion routine, which accounts for parallax and radial velocity when supplied. Args: ra: Right ascension at epoch_from (degrees or radians per angle_format). dec: Declination at epoch_from (degrees or radians per angle_format). pm_ra: Proper motion in RA. Units: mas/yr. This is the catalog convention mu_alpha* = mu_alpha * cos(dec), matching the pmra column of Hipparcos, Gaia, and most other catalogs. pm_dec: Proper motion…
| Parameter | Type | Description |
|---|---|---|
dec * | number | |
epoch_from * | string | |
epoch_to * | string | |
pm_dec * | number | |
pm_ra * | number | |
ra * | number | |
angle_format | string | |
parallax | ||
radial_velocity |
list_frame_options
List reference frames and modes for the transform_frame tool.
transform_frame
Transform a position/state between any two brahe reference frames, or get the rotation. Covers all frames in the brahe frame router: GCRF, ITRF, EME2000, GSE, EMR, SER, EMBI, SSBI, lunar (LCI/LFME/LFPA), Mars (MCI/MCMF), the Synodic rotating frame, and generic body frames. Use list_frame_options() to discover names and the parameterized-frame arguments. Args: mode: "position" (3-vector), "state" (6-vector), or "rotation" (3x3 matrix; no vector). from_frame: Source frame name. to_frame: Target frame name. epoch: ISO epoch string (e.g. "2024-…
| Parameter | Type | Description |
|---|---|---|
epoch * | string | |
from_frame * | string | |
mode * | string | |
to_frame * | string | |
body_naif_id | ||
pck_center | ||
pck_frame | ||
synodic_origin | string | |
synodic_primary | ||
synodic_secondary | ||
vector |
list_relative_motion_options
List relative motion conversions, ROE element meanings, and units.
convert_rtn_state
Convert a deputy state between ECI and the chief's RTN frame. Args: chief_state_eci: Chief 6-element ECI state [x,y,z,vx,vy,vz] (m, m/s). vector: For "eci_to_rtn", the deputy's ABSOLUTE ECI state. For "rtn_to_eci", the RELATIVE RTN state. direction: "eci_to_rtn" or "rtn_to_eci".
| Parameter | Type | Description |
|---|---|---|
chief_state_eci * | array | |
direction * | string | |
vector * | array |
compute_rtn_rotation
Compute the 3x3 rotation between ECI and the chief's RTN frame. Args: chief_state_eci: Chief 6-element ECI state [x,y,z,vx,vy,vz] (m, m/s). direction: "eci_to_rtn" or "rtn_to_eci".
| Parameter | Type | Description |
|---|---|---|
chief_state_eci * | array | |
direction * | string |
convert_roe_state
Convert between absolute states and quasi-nonsingular relative orbital elements. ROE is [da, dlambda, dex, dey, dix, diy]. da, dex, and dey are dimensionless; dlambda, dix, and diy are angular. Args: chief: Chief 6-element state. ECI [x,y,z,vx,vy,vz] when chief_type is "eci", or Keplerian [a,e,i,RAAN,omega,M] when chief_type is "koe". vector: The deputy state or the ROE vector, per direction. direction: "eci_to_roe", "roe_to_eci", "oe_to_roe", or "roe_to_oe". chief_type: "eci" (default) or "koe". Must match the direction. angle_…
| Parameter | Type | Description |
|---|---|---|
chief * | array | |
direction * | string | |
vector * | array | |
angle_format | string | |
chief_type | string |
list_attitude_options
List attitude representations, Euler orders, and value encodings.
convert_attitude
Convert an attitude between quaternion, Euler axis, Euler angle, and matrix. Use list_attitude_options() to see the value encoding for each representation. Args: from_repr: Source representation. value: The attitude, encoded per from_repr. to_repr: Target representation. euler_order_in: Euler order for euler_angle input. An "order" key in value takes precedence. euler_order_out: Euler order for euler_angle output. scalar_first: Quaternion component ordering. True (default) is [w, x, y, z]; False is [x, y, z,…
| Parameter | Type | Description |
|---|---|---|
from_repr * | string | |
to_repr * | string | |
value * | ||
angle_format | string | |
euler_order_in | string | |
euler_order_out | string | |
scalar_first | boolean |
axis_rotation_matrix
Compute a principal-axis rotation matrix (Rx, Ry, or Rz). Args: axis: "x", "y", or "z". angle: Rotation angle in the given angle_format. angle_format: "degrees" (default) or "radians".
| Parameter | Type | Description |
|---|---|---|
angle * | number | |
axis * | string | |
angle_format | string |
compose_rotations
Compose a sequence of rotations into a single rotation. Rotations are applied in list order: rotations[0] is applied first, then rotations[1], and so on. The result is R_total = R_n @ ... @ R_1. Args: rotations: List of {"repr": ..., "value": ...} entries. "repr" is any representation from list_attitude_options(); "value" uses that representation's encoding. An optional "order" key sets the Euler order for euler_angle entries. output_repr: Representation for the composed result. scalar_first: Quaternion ordering for both…
| Parameter | Type | Description |
|---|---|---|
rotations * | array | |
angle_format | string | |
output_repr | string | |
scalar_first | boolean |
quaternion_slerp
Spherically interpolate between two quaternions. Args: q1: Start quaternion, [w, x, y, z] unless scalar_first is False. q2: End quaternion, same ordering. t: Interpolation parameter in [0, 1]. 0 returns q1, 1 returns q2. scalar_first: Quaternion component ordering for input and output. output_repr: Representation for the interpolated result. angle_format: "degrees" (default) or "radians", for non-quaternion output.
| Parameter | Type | Description |
|---|---|---|
q1 * | array | |
q2 * | array | |
t * | number | |
angle_format | string | |
output_repr | string | |
scalar_first | boolean |
list_ephemeris_options
List SPICE kernel and body-ephemeris query options.
list_spice_kernels
List currently loaded SPICE kernels.
load_spice_kernel
Download (cached) and load a NAIF SPICE kernel by name (e.g. "de440s").
| Parameter | Type | Description |
|---|---|---|
name * | string |
load_common_spice_kernels
Load the common kernels (de440s planetary ephemeris + moon_pa_de440 orientation).
unload_spice_kernel
Unload a previously loaded SPICE kernel by name.
| Parameter | Type | Description |
|---|---|---|
name * | string |
get_body_state
Get a celestial body's state/position/velocity relative to a center body from SPICE. Args: target: Body of interest (name like "moon"/"mars" or a NAIF id). center: Reference center body (name or NAIF id). epoch: ISO epoch string. mode: "state" (6-vector), "position" (3-vector), or "velocity" (3-vector).
| Parameter | Type | Description |
|---|---|---|
center * | string | |
epoch * | string | |
target * | string | |
mode | string |
list_smallbody_options
List small-body lookup and ephemeris tools and their network characteristics.
lookup_small_body
Look up a small body (asteroid/comet) in the JPL Small-Body Database. Args: name: Name or designation, e.g. "Ceres", "433", "2000 SG344".
| Parameter | Type | Description |
|---|---|---|
name * | string |
get_small_body_ephemeris
Generate a Horizons SPK for a small body and sample its state over a time span. Resolves the body via SBDB, requests an SPK from JPL Horizons, loads it, and samples spk_state at each step. Live JPL network calls; keep the span modest. Args: designation: Small-body name/designation (resolved via SBDB). start: ISO start epoch. stop: ISO stop epoch. step_seconds: Sampling step in seconds (default 3600). center: Reference center ("ssb" default, "sun", or a NAIF id).
| Parameter | Type | Description |
|---|---|---|
designation * | string | |
start * | string | |
stop * | string | |
center | string | |
step_seconds | number |
list_celestrak_options
List available CelesTrak lookup methods, groups, supplemental sources, and filter options. Returns discovery information for all CelesTrak tools including valid group names, supplemental GP sources, SATCAT query options, filter operators, and GP record field names.
get_celestrak_gp
Look up GP (General Perturbations) ephemeris records from CelesTrak. Provide exactly one identifier to query by. Use list_celestrak_options() to see available groups and other options. Args: catnr: NORAD catalog number (e.g. 25544 for ISS). group: Satellite group name (e.g. "stations", "active", "starlink"). name: Satellite name substring search. intdes: International designator (e.g. "1998-067A"). limit: Maximum number of records to return.
| Parameter | Type | Description |
|---|---|---|
catnr | ||
group | ||
intdes | ||
limit | ||
name |
get_celestrak_sup_gp
Look up supplemental GP records from CelesTrak by source. Supplemental GP data provides operator-provided ephemerides that may be more accurate than standard GP data for certain constellations. Args: source: Supplemental source name (case-insensitive), e.g. "starlink", "spacex". limit: Maximum number of records to return.
| Parameter | Type | Description |
|---|---|---|
source * | string | |
limit |
get_celestrak_satcat
Look up satellite catalog (SATCAT) records from CelesTrak. At least one filter parameter must be provided. Args: catnr: NORAD catalog number. active: Filter to active objects only. payloads: Filter to payloads only. on_orbit: Filter to on-orbit objects only. limit: Maximum number of records to return.
| Parameter | Type | Description |
|---|---|---|
active | ||
catnr | ||
limit | ||
on_orbit | ||
payloads |
query_celestrak
Build and execute an advanced CelesTrak query with filtering and sorting. This tool provides full access to the CelesTrak query builder, including client-side filtering and ordering that the simpler tools don't expose. Args: query_type: One of "gp", "sup_gp", or "satcat" (case-insensitive). group: Satellite group name (GP queries). name: Satellite name search (GP queries). catnr: NORAD catalog number (GP/SATCAT queries). intdes: International designator (GP queries). source: Supplemental source name (sup_gp queries). active:…
| Parameter | Type | Description |
|---|---|---|
query_type * | string | |
active | ||
catnr | ||
filters | ||
group | ||
intdes | ||
limit | ||
name | ||
on_orbit | ||
order_ascending | boolean | |
order_by | ||
payloads | ||
source |
list_spacetrack_options
List available SpaceTrack tools, request classes, filter fields, and operators. Returns discovery information for all SpaceTrack tools. No authentication required for this tool — it returns static reference data.
get_spacetrack_gp
Query GP (General Perturbations) records from SpaceTrack. At least one filter parameter must be provided. Requires SPACETRACK_USER and SPACETRACK_PASS environment variables. Args: norad_cat_id: NORAD catalog number (e.g. 25544 for ISS). name: Satellite name substring search (case-insensitive). epoch_range: ISO datetime range string "start--end" to filter by EPOCH (e.g. "2024-01-01--2024-01-31"). limit: Maximum number of records to return.
| Parameter | Type | Description |
|---|---|---|
epoch_range | ||
limit | ||
name | ||
norad_cat_id |
get_spacetrack_gp_history
Query historical GP records from SpaceTrack. Unlike get_spacetrack_gp which returns only the latest element set, this tool returns all historical element sets for matching objects. Useful for tracking orbital evolution over time. At least one filter parameter must be provided. An epoch_range is strongly recommended to avoid very large result sets. For queries spanning more than a couple of days, use the decimation parameter to thin results (e.g. '1d' for ~1 record per day). Requires SPACETRACK_USER and SPACETRACK_PASS environment variables. Args:…
| Parameter | Type | Description |
|---|---|---|
decimation | ||
epoch_range | ||
limit | ||
name | ||
norad_cat_id |
get_spacetrack_satcat
Query satellite catalog (SATCAT) records from SpaceTrack. At least one filter parameter must be provided. Requires SPACETRACK_USER and SPACETRACK_PASS environment variables. Args: norad_cat_id: NORAD catalog number. name: Satellite name substring search (case-insensitive). country: Country code filter (e.g. "US", "CIS"). object_type: Object type filter (e.g. "PAYLOAD", "ROCKET BODY", "DEBRIS"). limit: Maximum number of records to return.
| Parameter | Type | Description |
|---|---|---|
country | ||
limit | ||
name | ||
norad_cat_id | ||
object_type |
get_spacetrack_cdm
Query conjunction data messages (CDM) from SpaceTrack. At least one filter parameter must be provided. Returns raw CDM records as dicts. Requires SPACETRACK_USER and SPACETRACK_PASS environment variables. Args: norad_cat_id: NORAD catalog number for SAT_1_ID or SAT_2_ID. epoch_range: ISO datetime range string "start--end" to filter by TCA (e.g. "2024-01-01--2024-01-31"). limit: Maximum number of records to return.
| Parameter | Type | Description |
|---|---|---|
epoch_range | ||
limit | ||
norad_cat_id |
get_spacetrack_decay
Query decay predictions from SpaceTrack. At least one filter parameter must be provided. Returns raw decay records as dicts. Requires SPACETRACK_USER and SPACETRACK_PASS environment variables. Args: norad_cat_id: NORAD catalog number. epoch_range: ISO datetime range string "start--end" to filter by MSG_EPOCH (e.g. "2024-01-01--2024-01-31"). limit: Maximum number of records to return.
| Parameter | Type | Description |
|---|---|---|
epoch_range | ||
limit | ||
norad_cat_id |
query_spacetrack
Build and execute an advanced SpaceTrack query with full control. Provides direct access to the SpaceTrack query builder with arbitrary filters, sorting, and pagination. Requires SPACETRACK_USER and SPACETRACK_PASS environment variables. Args: request_class: One of "gp", "gp_history", "satcat", "cdm_public", "decay" (case-insensitive). filters: List of filter dicts with "field" and "value" keys, e.g. [{"field": "NORAD_CAT_ID", "value": "25544"}]. order_by: Field name to sort results by. order_ascending: Sort ascending (True) or desc…
| Parameter | Type | Description |
|---|---|---|
request_class * | string | |
filters | ||
limit | ||
offset | ||
order_ascending | boolean | |
order_by |
list_gcat_options
List available GCAT catalog types, field descriptions, enumeration values, and filter options. Returns comprehensive discovery information for all GCAT tools including catalog types, detailed field descriptions with enumeration code meanings, and available filters. Call this first to understand what fields and codes mean before querying GCAT data.
get_gcat_satcat
Look up GCAT SATCAT records by identifier. Provide exactly one of jcat, satcat_num, or name to query by. The GCAT SATCAT contains ~60k records of orbital objects from Jonathan McDowell's General Catalog. Use list_gcat_options() to see field descriptions and enumeration code meanings (status, object_type, op_orbit, etc.). Args: jcat: JCAT identifier (e.g. "S00001"). satcat_num: SATCAT/NORAD catalog number as string (e.g. "00001"). name: Name substring search (case-insensitive). limit: Maximum number of records to return (default 100).…
| Parameter | Type | Description |
|---|---|---|
jcat | ||
limit | integer | |
name | ||
satcat_num |
query_gcat_satcat
Query GCAT SATCAT with advanced chainable filters. At least one filter parameter must be provided. Filters are applied sequentially to narrow results. Use list_gcat_options() to see valid enumeration codes for object_type, status, etc. Args: name: Name substring search (case-insensitive). object_type: Object type prefix — P=Payload, R1-R4=Rocket stages, D=Debris, C=Craft. Use list_gcat_options() for full codes. owner: Owner/operator organization code (e.g. "NASA", "SpX"). state: State/country code (e.g. "US", "CN", "JP", "SU").…
| Parameter | Type | Description |
|---|---|---|
apogee_max | ||
apogee_min | ||
inc_max | ||
inc_min | ||
limit | integer | |
name | ||
object_type | ||
owner | ||
perigee_max | ||
perigee_min | ||
state | ||
status |
get_gcat_psatcat
Look up GCAT PSATCAT (payload satellite catalog) records by identifier. Provide exactly one of jcat or name to query by. The PSATCAT contains mission-level data including program, result, disposal orbit, and UN registration information. Use list_gcat_options() to see field descriptions and enumeration code meanings (category, class_, result, etc.). Args: jcat: JCAT identifier (e.g. "S00049"). name: Name substring search (case-insensitive). limit: Maximum number of records to return (default 100).
| Parameter | Type | Description |
|---|---|---|
jcat | ||
limit | integer | |
name |
query_gcat_psatcat
Query GCAT PSATCAT with advanced chainable filters. At least one filter parameter must be provided (active_only=True counts). Filters are applied sequentially to narrow results. Use list_gcat_options() for full enumeration code descriptions. Args: name: Name substring search (case-insensitive). category: Mission category code — COM=Communications, IMG=Imaging, NAV=Navigation, SCI=Science, SIG=Signals intelligence, MET=Meteorology, TECH=Technology demo. Compound codes like "COM/MET" also exist. Use list_gcat_options() for f…
| Parameter | Type | Description |
|---|---|---|
active_only | boolean | |
category | ||
limit | integer | |
name | ||
object_class | ||
result_code |
list_groundstation_options
List available groundstation providers and query options. Returns discovery information for groundstation tools including available providers and field descriptions.
get_groundstations
Load groundstation locations by provider or all providers. Args: provider: Provider name (case-insensitive). Use list_groundstation_options() to see available providers. If omitted, loads all stations. limit: Maximum number of stations to return.
| Parameter | Type | Description |
|---|---|---|
limit | ||
provider |
query_groundstations
Query groundstations with geographic and attribute filters. At least one filter parameter must be provided. All filters are combined (AND logic). Args: provider: Provider name (case-insensitive). name: Station name substring search (case-insensitive). lat_min: Minimum latitude in degrees. lat_max: Maximum latitude in degrees. lon_min: Minimum longitude in degrees. lon_max: Maximum longitude in degrees. frequency_band: Required frequency band (e.g. "S", "X", "Ka"). limit: Maximum number of stations to return.
| Parameter | Type | Description |
|---|---|---|
frequency_band | ||
lat_max | ||
lat_min | ||
limit | ||
lon_max | ||
lon_min | ||
name | ||
provider |
list_propagation_options
List available propagator types, output frames, force model presets, and their options. Use this to discover which propagation tool to use and what parameters are available.
propagate_sgp4
Propagate a satellite orbit using the SGP4/SDP4 model from TLE data. Provide either target_epoch for a single point, or start_epoch + end_epoch for a range. Args: tle_line1: TLE line 1. tle_line2: TLE line 2. target_epoch: Single target epoch (ISO string, e.g. "2024-01-01T12:00:00Z"). start_epoch: Range start epoch (ISO string). end_epoch: Range end epoch (ISO string). step_seconds: Step size in seconds for range propagation (default 60). output_frame: Output coordinate frame (eci, ecef, gcrf, itrf, eme2000, koe_osc, koe_mean).…
| Parameter | Type | Description |
|---|---|---|
tle_line1 * | string | |
tle_line2 * | string | |
angle_format | string | |
end_epoch | ||
output_frame | string | |
start_epoch | ||
step_seconds | number | |
target_epoch |
propagate_keplerian
Propagate a satellite orbit using two-body (Keplerian) analytical dynamics. Initialize with either an ECI Cartesian state vector or Keplerian elements. Provide either target_epoch for a single point, or start_epoch + end_epoch for a range. Args: epoch: Initial epoch (ISO string). state_eci: ECI Cartesian state [x,y,z,vx,vy,vz] in meters and m/s. elements_koe: Keplerian elements [a,e,i,RAAN,omega,M] (a in meters, angles in input_angle_format). input_angle_format: Angle format for input KOE elements ("degrees" or "radians"). target_epoch: Sin…
| Parameter | Type | Description |
|---|---|---|
epoch * | string | |
angle_format | string | |
elements_koe | ||
end_epoch | ||
input_angle_format | string | |
output_frame | string | |
start_epoch | ||
state_eci | ||
step_seconds | number | |
target_epoch |
propagate_numerical
Propagate a satellite orbit using high-fidelity numerical integration. Use list_propagation_options() for presets, central bodies, output frames, and the force_config / integrator dict keys. Args: epoch: Initial epoch (ISO string). state_eci: Cartesian state [x,y,z,vx,vy,vz] (m, m/s) in the central body's inertial frame. target_epoch: Single target epoch (ISO string). start_epoch: Range start epoch (ISO string). end_epoch: Range end epoch (ISO string). step_seconds: Step size in seconds for range propagation (default 60). ou…
| Parameter | Type | Description |
|---|---|---|
epoch * | string | |
state_eci * | array | |
angle_format | string | |
central_body | string | |
end_epoch | ||
force_config | ||
force_model | string | |
integrator | ||
output_frame | string | |
spacecraft_params | ||
start_epoch | ||
step_seconds | number | |
target_epoch |
propagate_from_gp_record
Propagate from a GP record dict (from celestrak/spacetrack query tools). Bridges GP data queries directly into propagation. For SGP4, uses the OMM elements directly (avoiding TLE precision loss). For Keplerian/Numerical, converts OMM elements to an ECI state. Args: gp_record: Dict from get_celestrak_gp or query_spacetrack_gp tools. propagator_type: "sgp4" (default), "keplerian", or "numerical". target_epoch: Single target epoch (ISO string). start_epoch: Range start epoch (ISO string). end_epoch: Range end epoch (ISO string). st…
| Parameter | Type | Description |
|---|---|---|
gp_record * | object | |
angle_format | string | |
central_body | string | |
end_epoch | ||
force_config | ||
force_model | string | |
integrator | ||
output_frame | string | |
propagator_type | string | |
spacecraft_params | ||
start_epoch | ||
step_seconds | number | |
target_epoch |
list_access_options
List available access computation options, constraint types, and input formats. Use this to discover how to call compute_access() and compute_access_from_gp().
compute_access
Compute access windows (visibility periods) between a satellite and a ground location. Finds time intervals when a satellite is visible from a location, subject to geometric constraints (elevation, off-nadir, look direction, etc.). Use list_access_options() to see constraint types, satellite input formats, and configuration options. Args: location: Ground location dict with lon, lat, and optional altitude_m/name. satellite: Satellite spec dict. Must include "source" key ("tle", "gp_record", or "state"). search_start: Start of search window (ISO ep…
| Parameter | Type | Description |
|---|---|---|
location * | object | |
satellite * | object | |
search_end * | string | |
search_start * | string | |
config | ||
constraint_logic | string | |
constraints | ||
min_elevation_deg | ||
property_computers |
compute_access_from_gp
Compute access windows from a GP record (from celestrak/spacetrack tools). Convenience wrapper that creates a satellite spec from a GP record dict and delegates to compute_access(). This is the most common workflow: fetch GP data with get_celestrak_gp() or query_spacetrack_gp(), then compute accesses. Args: gp_record: GP record dict from get_celestrak_gp or query_spacetrack_gp tools. location: Ground location dict with lon, lat, and optional altitude_m/name. search_start: Start of search window (ISO epoch string). search_end: End of search wind…
| Parameter | Type | Description |
|---|---|---|
gp_record * | object | |
location * | object | |
search_end * | string | |
search_start * | string | |
config | ||
constraint_logic | string | |
constraints | ||
force_model | ||
min_elevation_deg | ||
propagator_type | string | |
property_computers | ||
spacecraft_params |
list_plotting_options
List available plotting tools, plot types, and their parameters. Use this to discover which plotting tool to use and what inputs are required.
plot_gp_history_elements
Plot orbital element trends from GP history records. Visualizes how orbital elements change over time from a series of GP records. Provide either pre-fetched gp_records or a norad_cat_id to auto-fetch history from SpaceTrack. Args: gp_records: List of GP record dicts (from spacetrack/celestrak tools). norad_cat_id: NORAD catalog ID to fetch GP history from SpaceTrack. elements: Element names to plot. None plots all 6 classical elements. Valid: semimajor_axis, eccentricity, inclination, ra_of_asc_node, arg_of_pericenter, mean_ano…
| Parameter | Type | Description |
|---|---|---|
elements | ||
gp_records | ||
norad_cat_id | ||
title |
plot_altitude
Plot satellite altitude (above WGS84 ellipsoid) versus time. Propagates the orbit and converts each ECEF position to geodetic altitude. Useful for visualizing orbital decay, altitude variations due to eccentricity, and maneuver effects. Args: satellite: Satellite spec dict (same format as compute_access). Must include "source" key ("tle", "gp_record", or "state"). start_epoch: Start epoch (ISO string). end_epoch: End epoch (ISO string). step_seconds: Propagation step size in seconds (default 60). title: Optional plot title.…
| Parameter | Type | Description |
|---|---|---|
end_epoch * | string | |
satellite * | object | |
start_epoch * | string | |
step_seconds | number | |
title |
plot_altitude_from_gp
Plot satellite altitude versus time from a GP record. Convenience wrapper that creates a satellite spec from a GP record dict and delegates to plot_altitude(). Args: gp_record: GP record dict from celestrak/spacetrack tools. start_epoch: Start epoch (ISO string). end_epoch: End epoch (ISO string). propagator_type: "sgp4" (default) or "keplerian". step_seconds: Propagation step size in seconds (default 60). title: Optional plot title.
| Parameter | Type | Description |
|---|---|---|
end_epoch * | string | |
gp_record * | object | |
start_epoch * | string | |
propagator_type | string | |
step_seconds | number | |
title |
plot_ground_track
Plot satellite ground track on a world map. Propagates the satellite and plots its sub-satellite point trace. Args: satellite: Satellite spec dict (same format as compute_access). Must include "source" key ("tle", "gp_record", or "state"). start_epoch: Start of ground track (ISO epoch string). end_epoch: End of ground track (ISO epoch string). step_seconds: Propagation step size in seconds (default 60). ground_stations: Optional list of location dicts to plot on map. show_grid: Show latitude/longitude grid lines. sho…
| Parameter | Type | Description |
|---|---|---|
end_epoch * | string | |
satellite * | object | |
start_epoch * | string | |
ground_stations | ||
show_grid | boolean | |
show_legend | boolean | |
step_seconds | number |
plot_ground_track_from_gp
Plot satellite ground track from a GP record. Convenience wrapper that creates a satellite spec from a GP record dict and delegates to plot_ground_track(). Args: gp_record: GP record dict from celestrak/spacetrack tools. start_epoch: Start of ground track (ISO epoch string). end_epoch: End of ground track (ISO epoch string). propagator_type: "sgp4" (default) or "keplerian". step_seconds: Propagation step size in seconds (default 60). ground_stations: Optional list of location dicts to plot on map. show_grid: Show latitude/lo…
| Parameter | Type | Description |
|---|---|---|
end_epoch * | string | |
gp_record * | object | |
start_epoch * | string | |
ground_stations | ||
propagator_type | string | |
show_grid | boolean | |
show_legend | boolean | |
step_seconds | number |
plot_orbit_elements
Plot Keplerian orbital element evolution over a propagation arc. Uses brahe's plot_keplerian_trajectory to show how each of the 6 classical orbital elements changes over time. Args: satellite: Satellite spec dict (same format as compute_access). start_epoch: Start epoch (ISO string). end_epoch: End epoch (ISO string). step_seconds: Propagation step size in seconds (default 60).
| Parameter | Type | Description |
|---|---|---|
end_epoch * | string | |
satellite * | object | |
start_epoch * | string | |
step_seconds | number |
plot_orbit_elements_from_gp
Plot Keplerian orbital element evolution from a GP record. Args: gp_record: GP record dict from celestrak/spacetrack tools. start_epoch: Start epoch (ISO string). end_epoch: End epoch (ISO string). propagator_type: "sgp4" (default) or "keplerian". step_seconds: Propagation step size in seconds (default 60).
| Parameter | Type | Description |
|---|---|---|
end_epoch * | string | |
gp_record * | object | |
start_epoch * | string | |
propagator_type | string | |
step_seconds | number |
plot_access_geometry
Plot access geometry between a satellite and ground location. Computes access windows and plots the satellite pass geometry. Args: location: Ground location dict with lon, lat, optional altitude_m/name. satellite: Satellite spec dict (same format as compute_access). search_start: Start of search window (ISO epoch string). search_end: End of search window (ISO epoch string). plot_type: "polar" (default), "elevation", or "elevation_azimuth". constraints: List of constraint spec dicts. constraint_logic: "all" (AND) or "any" (OR).…
| Parameter | Type | Description |
|---|---|---|
location * | object | |
satellite * | object | |
search_end * | string | |
search_start * | string | |
constraint_logic | string | |
constraints | ||
min_elevation_deg | ||
plot_type | string |
plot_access_geometry_from_gp
Plot access geometry from a GP record. Convenience wrapper that creates a satellite spec from a GP record dict and delegates to plot_access_geometry(). Args: gp_record: GP record dict from celestrak/spacetrack tools. location: Ground location dict with lon, lat, optional altitude_m/name. search_start: Start of search window (ISO epoch string). search_end: End of search window (ISO epoch string). propagator_type: "sgp4" (default) or "keplerian". plot_type: "polar" (default), "elevation", or "elevation_azimuth". constraints: L…
| Parameter | Type | Description |
|---|---|---|
gp_record * | object | |
location * | object | |
search_end * | string | |
search_start * | string | |
constraint_logic | string | |
constraints | ||
min_elevation_deg | ||
plot_type | string | |
propagator_type | string |
plot_gabbard_diagram
Plot a Gabbard diagram (apogee/perigee altitude vs orbital period). Useful for visualizing debris clouds or constellation distributions. Each GP record becomes a point on the diagram. Args: gp_records: List of GP record dicts from celestrak/spacetrack tools. altitude_units: Units for altitude axis ("km" or "m"). period_units: Units for period axis ("min", "hr", or "s"). title: Optional plot title.
| Parameter | Type | Description |
|---|---|---|
gp_records * | array | |
altitude_units | string | |
period_units | string | |
title |
plot_trajectory_3d
Plot a 3D orbit trajectory about Earth (interactive Plotly; returns PNG + HTML path). Args: satellite: {"source": "tle"|"gp_record"|"state", ...} — tle needs tle_line1/tle_line2; gp_record needs gp_record; state needs epoch + state_eci. start_epoch: ISO start epoch. end_epoch: ISO end epoch. step_seconds: Trajectory step size in seconds. label: Optional legend label.
| Parameter | Type | Description |
|---|---|---|
end_epoch * | string | |
satellite * | object | |
start_epoch * | string | |
label | ||
step_seconds | number |
plot_synodic_3d
Plot a 3D trajectory in a synodic (rotating two-body) frame; default Earth-Moon (EMR). Args: satellite: {"source": "tle"|"gp_record"|"state", ...} (see plot_trajectory_3d). start_epoch: ISO start epoch. end_epoch: ISO end epoch. frame: Synodic frame name (default "EMR" = Earth-Moon rotating). step_seconds: Trajectory step size in seconds. label: Optional legend label.
| Parameter | Type | Description |
|---|---|---|
end_epoch * | string | |
satellite * | object | |
start_epoch * | string | |
frame | string | |
label | ||
step_seconds | number |