Skip to main content

MCP Server for astronomy data: ISS tracking, moon phases, NASA APOD, near-earth objects, exoplanets, sunrise/sunset, space weather — no API key required

Project description

astronomy-mcp-server

MCP Server for astronomy data — ISS tracking, moon phases, NASA APOD, near-Earth objects, exoplanets, space weather, and upcoming events. No API key required.

PyPI version License: MIT

Tools (8)

Tool Description
tool_get_moon_phase Current moon phase, illumination %, next full/new moon
tool_track_iss ISS real-time position, altitude, speed, crew aboard
tool_get_astronomy_picture_of_day NASA APOD — daily astronomy image with explanation
tool_get_near_earth_objects Upcoming asteroid/comet approaches (NASA NeoWs)
tool_get_sunrise_sunset Sunrise, sunset, solar noon, twilight for any location
tool_get_space_weather Kp-index, solar wind, aurora alerts (NOAA SWPC)
tool_search_exoplanets Search 5800+ confirmed exoplanets (NASA Exoplanet Archive)
tool_get_upcoming_events Meteor showers, eclipses, solstices, moon phases

Data Sources

  • NASA APOD — api.nasa.gov (DEMO_KEY, 30 req/hour)
  • Open Notify — api.open-notify.org (ISS position + astronauts, free)
  • NASA NeoWs — Near Earth Object Web Service (DEMO_KEY)
  • NASA Exoplanet Archive — exoplanetarchive.ipac.caltech.edu (free TAP API)
  • Sunrise-Sunset.org — Free sunrise/sunset API
  • NOAA SWPC — Space Weather Prediction Center (free)
  • Moon phases — Calculated locally (no API needed)

Installation

pip install astronomy-mcp-server

Claude Desktop Configuration

{
  "mcpServers": {
    "astronomy": {
      "command": "astronomy-mcp-server"
    }
  }
}

Example Usage

"What is today's moon phase?"
→ tool_get_moon_phase()

"Where is the ISS right now?"
→ tool_track_iss()

"Show me today's NASA astronomy picture"
→ tool_get_astronomy_picture_of_day()

"Are there any asteroids approaching Earth this week?"
→ tool_get_near_earth_objects()

"When does the sun rise in Berlin tomorrow?"
→ tool_get_sunrise_sunset(latitude=52.52, longitude=13.405)

"What is the current space weather / Kp-index?"
→ tool_get_space_weather()

"Find exoplanets similar in size to Earth"
→ tool_search_exoplanets(min_radius=0.8, max_radius=1.5)

"What astronomical events are coming up in May 2026?"
→ tool_get_upcoming_events(year=2026, month=5)

License

MIT — AiAgentKarl

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

astronomy_mcp_server-0.1.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

astronomy_mcp_server-0.1.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file astronomy_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: astronomy_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for astronomy_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9195776963d7fe84a3340e534eee37685152b0abd3ee1d48bf48ba6ca1b2915b
MD5 70b65fba690d7f39dcd4166fe9d214a9
BLAKE2b-256 2c798b06b71d4c89cad620fa7207fd797004c20baad9263c516cb00c98677f24

See more details on using hashes here.

File details

Details for the file astronomy_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for astronomy_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b27a1264b14d813d6a0c6af368ed16ad948cd38dbd4c107b9d2e39e65557f1a
MD5 ad4c19d001ba36759400fb7793346dcf
BLAKE2b-256 b3299caab34eec8b53f835427634124aaacce33c72adc6566d7377de67fc22ec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page