LocalTides MCP Server

MIT License
1

get_sun_times

Calculate sunrise, sunset, and other sun event times for a specific date and location using latitude, longitude, and optional timezone. Output in JSON or text format.

Instructions

Get sun rise/set and other sun event times for a specific date and location

Input Schema

NameRequiredDescriptionDefault
dateNoDate to get sun times for (YYYY-MM-DD format). Defaults to current date.
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": { "date": { "description": "Date to get sun times for (YYYY-MM-DD format). Defaults to current date.", "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": [ "latitude", "longitude" ], "type": "object" }
ID: xv9thnwdng