ghh1125/astronomy
0
astronomy MCP Service
This deployment package exposes selected Astronomy Engine capabilities through MCP using FastMCP. It supports local stdio usage and HTTP deployment (Docker/HuggingFace Spaces).
Available Tools
health_checklist_supported_bodiesget_body_equatorialget_rise_set_timeget_moon_phaseget_seasonssearch_global_solar_eclipseget_constellation
Local stdio Connection
Install dependencies and run the local stdio entrypoint:
cd astronomy/mcp_output
pip install -r requirements.txt
python mcp_plugin/main.pyYou can also run:
python start_mcp.py(default transport is stdio)
HTTP Client Connection
For Docker/HF Spaces, transport is set to HTTP automatically:
MCP_TRANSPORT=httpMCP_PORT=7860
The MCP endpoint is:
https://{host}/mcp
Docker entrypoint runs FastMCP directly:
python astronomy/mcp_output/start_mcp.pyapp.py is supplementary for local info/inspection only and is not the Docker entrypoint.
