LocalTides MCP Server

MIT License
1

get_next_sun_event

Calculate the next occurrence of sun events like sunrise, sunset, or golden hour for a specific location and date. Input latitude, longitude, event type, and optional date, count, and timezone to receive results in JSON or text format.

Instructions

Get the next occurrence(s) of a specific sun event

Input Schema

NameRequiredDescriptionDefault
countNoNumber of occurrences to return. Defaults to 1.
dateNoStarting date (YYYY-MM-DD format). Defaults to current date.
eventYesSun event to find
formatNoOutput format (json or text)
latitudeYesLatitude for location-specific calculations
longitudeYesLongitude for location-specific calculations
timezoneNoTimezone for the results. Defaults to UTC.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "count": { "description": "Number of occurrences to return. Defaults to 1.", "exclusiveMinimum": 0, "type": "number" }, "date": { "description": "Starting date (YYYY-MM-DD format). Defaults to current date.", "type": "string" }, "event": { "description": "Sun event to find", "enum": [ "sunrise", "sunset", "dawn", "dusk", "solarNoon", "night", "nightEnd", "goldenHourStart", "goldenHourEnd", "nauticalDawn", "nauticalDusk", "astronomicalDawn", "astronomicalDusk" ], "type": "string" }, "format": { "description": "Output format (json or text)", "enum": [ "json", "text" ], "type": "string" }, "latitude": { "description": "Latitude for location-specific calculations", "maximum": 90, "minimum": -90, "type": "number" }, "longitude": { "description": "Longitude for location-specific calculations", "maximum": 180, "minimum": -180, "type": "number" }, "timezone": { "description": "Timezone for the results. Defaults to UTC.", "type": "string" } }, "required": [ "event", "latitude", "longitude" ], "type": "object" }
ID: xv9thnwdng