This server does not require an API key. It uses the Open-Meteo API, which is free and open-source.
Usage
This server provides several tools:
get_weather
get_weather_by_datetime_range
get_current_datetime
get_weather
Retrieves the current weather information for a given city.
Parameters:
city (string, required): The name of the city.
Example: To get the weather in Taipei, you would use the tool like this:
get_weather {
"city": "Taipei"
}
get_weather_by_datetime_range
Retrieves weather information for a specified city between start and end dates.
Parameters:
city (string, required): The name of the city.
start_date (string, required): Start date in format YYYY-MM-DD (ISO 8601).
end_date (string, required): End date in format YYYY-MM-DD (ISO 8601).
Example: To get the weather in London between 2024-01-01 and 2024-01-07, you would use the tool like this:
Retrieves the current time in a specified timezone.
Parameters:
timezone_name (string, required): IANA timezone name (e.g., 'America/New_York', 'Europe/London'). Use UTC timezone if no timezone provided by the user.
Example: To get the current time in New York, you would use the tool like this: