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.
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
Metadata
Release files for astronomy-mcp-server 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| astronomy_mcp_server-0.1.0.tar.gz | 9.1 kB | Without provenance | Details for astronomy_mcp_server-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| astronomy_mcp_server-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for astronomy_mcp_server-0.1.0-py3-none-any.whl |
Total release size: 19.7 kB
Release files / astronomy_mcp_server-0.1.0.tar.gz
| Download URL | astronomy_mcp_server-0.1.0.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9195776963d7fe84a3340e534eee37685152b0abd3ee1d48bf48ba6ca1b2915b
|
|
BLAKE2b-256 checksum How to use checksums |
2c798b06b71d4c89cad620fa7207fd797004c20baad9263c516cb00c98677f24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / astronomy_mcp_server-0.1.0-py3-none-any.whl
| Download URL | astronomy_mcp_server-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b27a1264b14d813d6a0c6af368ed16ad948cd38dbd4c107b9d2e39e65557f1a
|
|
BLAKE2b-256 checksum How to use checksums |
b3299caab34eec8b53f835427634124aaacce33c72adc6566d7377de67fc22ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Security for astronomy-mcp-server 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.