astronomy
Pack: weatherapi · Endpoint: https://gateway.pipeworx.io/weatherapi/mcp
Get astronomy data for a location and date: sunrise, sunset, moonrise, moonset, moon phase, and moon illumination. Example: astronomy({ q: “Reykjavik”, dt: “2026-06-21” }).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | yes | |
dt | string | no | Date in YYYY-MM-DD format (optional; defaults to today). |
Example call
curl -X POST https://gateway.pipeworx.io/weatherapi/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"astronomy","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"weatherapi": {
"url": "https://gateway.pipeworx.io/weatherapi/mcp"
}
}
}
See Getting Started for client-specific install steps.