How to Look Up Astronomical Events with Copilot
Research astronomical events in your IDE with Copilot and ToolRouter.
ToolSpace DataCopilot gives developers direct access to structured NASA data from within their IDE, returning APOD imagery metadata, ISS coordinates, and near-Earth object catalogs as typed JSON ready for application integration. Generate React components for space dashboards, build map visualizations of ISS ground tracks, or create TypeScript interfaces from NASA response schemas -- all without leaving your coding environment. This is the fastest path from space data to working features.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Space Data tool:
- In Copilot Chat: "Fetch APOD data for the last solar eclipse date"
- Copilot returns structured event data
- Ask: "Build an astronomical event tracker component from this data"
- Integrate celestial event features into your application
Example Prompt
Try this with Copilot using the Space Data tool
Fetch NASA APOD data for the last 7 days and filter for any astronomical event imagery.
Tips
- Build event notification features for astronomy apps
- Use APOD data to populate educational content databases
- Combine with location data for personalized viewing recommendations