Skip to main content
Glama

LocalTides MCP Server

get_sun_position

Calculate the sun's position for any date, time, and location using latitude and longitude inputs. Output in JSON or text format for precise astronomical data.

Instructions

Get sun position information for a specific date, time, and location

Input Schema

NameRequiredDescriptionDefault
dateNoDate to get sun position for (YYYY-MM-DD format). Defaults to current date.
formatNoOutput format (json or text)
latitudeYesLatitude for location-specific calculations
longitudeYesLongitude for location-specific calculations
timeNoTime to get sun position for (HH:MM:SS format). Defaults to current time.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "date": { "description": "Date to get sun position 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" }, "time": { "description": "Time to get sun position for (HH:MM:SS format). Defaults to current time.", "type": "string" } }, "required": [ "latitude", "longitude" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RyanCardin15/NOAA-TidesAndCurrents-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server