GnistAI GnistAI
Log in

Astronomy

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

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 8 tools tools 8 8 type: open dataset type type open dataset open dataset lifecycle: maintained lifecycle lifecycle maintained maintained Science

Data source: NASA Planetary Fact Sheet / IAU

MCP Endpoint (Streamable HTTP) https://context.gnist.ai/mcp/astronomy/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (8)

get_planet

Get detailed information about a solar system planet.

Returns mass, radius, orbital parameters, atmosphere composition, and more.
Includes the 8 major planets plus Pluto (dwarf planet).

ParameterTypeRequiredDescription
namestringrequiredPlanet name (e.g. Earth, Mars, Jupiter, Pluto).
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_planet",
    "arguments": {
      "name": "example"
    }
  }
}
list_planets

List planets in the solar system.

Optionally filter by type: terrestrial (rocky), gas_giant, ice_giant, or dwarf.

ParameterTypeRequiredDescription
planet_typeanyoptionalFilter: terrestrial, gas_giant, ice_giant, dwarf.
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "list_planets",
    "arguments": {}
  }
}
get_star

Get detailed information about a notable star.

Returns spectral type, magnitude, distance, mass, radius, temperature, and luminosity.

ParameterTypeRequiredDescription
namestringrequiredStar name (e.g. Sirius, Betelgeuse, Polaris, Sun).
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_star",
    "arguments": {
      "name": "example"
    }
  }
}
search_stars

Search the star database by name or constellation.

ParameterTypeRequiredDescription
querystringrequiredSearch by star name, constellation, or designation.
limitintegeroptional (default: 10)
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "search_stars",
    "arguments": {
      "query": "example"
    }
  }
}
list_brightest_stars

List the brightest stars visible from Earth, sorted by apparent magnitude.

ParameterTypeRequiredDescription
limitintegeroptional (default: 10)
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "list_brightest_stars",
    "arguments": {}
  }
}
list_nearest_stars

List the nearest stars to Earth, sorted by distance in light-years.

ParameterTypeRequiredDescription
limitintegeroptional (default: 10)
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "list_nearest_stars",
    "arguments": {}
  }
}
get_constellations

List all constellations represented in the star database.

JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_constellations",
    "arguments": {}
  }
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
}

Quick Start

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"}}}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/astronomy/",
    headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_planet",
    "arguments": {
      "name": "example"
    }
  }
},
)
print(resp.json())

Related Toolkits (Science)

Resources