astronomy-mcp-server
Allows retrieval of NASA Astronomy Picture of the Day, near-Earth object data, and exoplanet search via NASA's APIs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@astronomy-mcp-serverWhat is the current moon phase?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 |
| Current moon phase, illumination %, next full/new moon |
| ISS real-time position, altitude, speed, crew aboard |
| NASA APOD — daily astronomy image with explanation |
| Upcoming asteroid/comet approaches (NASA NeoWs) |
| Sunrise, sunset, solar noon, twilight for any location |
| Kp-index, solar wind, aurora alerts (NOAA SWPC) |
| Search 5800+ confirmed exoplanets (NASA Exoplanet Archive) |
| Meteor showers, eclipses, solstices, moon phases |
Related MCP server: MCP TypeScript NASA Server
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-serverClaude 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
This server cannot be installed
Maintenance
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides standardized access to 20+ NASA data sources including astronomy pictures, Mars rover photos, near-Earth objects, satellite imagery, space weather, and planetary data through a unified interface optimized for AI consumption.Last updated2335ISC
- AlicenseAqualityFmaintenanceProvides seamless integration with NASA's public APIs, enabling AI assistants to access space and astronomy data including APOD, Mars rover photos, Near-Earth Objects, space weather events, and Earth imagery.Last updated5122MIT
- AlicenseAqualityCmaintenanceProvides authoritative astronomical data including moon phases, solar eclipses, and sun/moon rise and set times using the US Navy API or offline Skyfield calculations. It enables users to query Earth's seasons and celestial events for any location and date.Last updated81Apache 2.0
- Alicense-qualityDmaintenanceProvides access to NASA's public APIs including Astronomy Picture of the Day, Mars Rover Images, and Near Earth Objects data, enabling users to query and retrieve space-related information through natural language.Last updated5MIT
Related MCP Connectors
Live space data for AI agents - rocket launches, ISS passes, launch news. Free, no auth.
Spacenews MCP — wraps the Spaceflight News API v4 (free, no auth)
TLE MCP — satellite tracking via Two-Line Element sets (tle.ivanstanojevic.me, free, no auth)
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AiAgentKarl/astronomy-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server