GnistAI GnistAI
Log in

Astronomy

Solar system planets and notable stars — mass, radius, orbital parameters, spectral data.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 8 tools tools 8 8 Science

Data source: NASA Planetary Fact Sheet / IAU

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/astronomy/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-astronomy": {
      "url": "https://context.gnist.ai/mcp/astronomy/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/astronomy/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_planet", "arguments": {"name": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/astronomy/

8 endpoints available:

Shell
curl "https://context.gnist.ai/rest/astronomy/get_planet?name=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/astronomy/get_planet",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "name": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc astronomy

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (8)

get_planet
Get detailed information about a solar system planet.
ParameterTypeRequiredDescription
namestringrequiredPlanet name (e.g. Earth, Mars, Jupiter, Pluto).
list_planets
List planets in the solar system.
ParameterTypeRequiredDescription
planet_typeanyoptionalFilter: terrestrial, gas_giant, ice_giant, dwarf.
get_star
Get detailed information about a notable star.
ParameterTypeRequiredDescription
namestringrequiredStar name (e.g. Sirius, Betelgeuse, Polaris, Sun).
search_stars
Search the star database by name or constellation.
ParameterTypeRequiredDescription
querystringrequiredSearch by star name, constellation, or designation.
limitintegeroptional (default: 10)
list_brightest_stars
List the brightest stars visible from Earth, sorted by apparent magnitude.
ParameterTypeRequiredDescription
limitintegeroptional (default: 10)
list_nearest_stars
List the nearest stars to Earth, sorted by distance in light-years.
ParameterTypeRequiredDescription
limitintegeroptional (default: 10)
get_constellations
List all constellations represented in the star database.
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related