astronomy
3.4
The Astronomy MCP Server is a robust platform designed to provide developers with easy access to a wealth of astronomical data.
The Astronomy MCP Server offers a suite of tools that enable the integration of celestial data into applications, providing a seamless interface for exploring and utilizing information from the skies. It is an invaluable resource for developers and astronomers alike, offering a comprehensive suite of tools to explore and integrate astronomical data into various applications. Whether you're interested in tracking celestial bodies, generating star charts, or learning more about the universe, this server provides the necessary tools to enhance your astronomical endeavors.
Features
- Get All Bodies Positions: Retrieve a comprehensive list of celestial bodies and their respective properties in a tabular format.
- Get Positions for Body: Obtain detailed properties of a specified celestial body over a defined date range.
- Search: Utilize the search endpoint to fetch information about stars and deep space objects.
- Generate Moon Phase: Create an image representing the current phase of the Moon based on specified parameters.
- Generate Star Chart: Produce a star chart with given parameters, allowing users to visualize the night sky.
Usage with Different Platforms
python
python
import requests
url = 'http://astronomy-mcp-server/api/get_all_bodies_positions'
params = {
'latitude': 34.0522,
'longitude': -118.2437,
'from_date': '2023-10-01',
'to_date': '2023-10-31'
}
response = requests.get(url, params=params)
print(response.json())
javascript
javascript
fetch('http://astronomy-mcp-server/api/get_all_bodies_positions?latitude=34.0522&longitude=-118.2437&from_date=2023-10-01&to_date=2023-10-31')
.then(response => response.json())
.then(data => console.log(data));