iflow-mcp-weather-server

v0.6.0
iflow-mcp-weather-server Checked 1 day ago Published 1 year ago

An MCP server for weather information

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_current_weather

Get current weather information for a specified city. It extracts the current hour's temperature and weather code, maps the weather code to a human-readable description, and returns a formatted summary.

ParameterTypeDescription
city *stringThe name of the city to fetch weather information for, PLEASE NOTE English name only, if the parameter city isn't English please translate to English before invoking this function.

get_weather_byDateTimeRange

Get weather information for a specified city between start and end dates.

ParameterTypeDescription
city *stringThe name of the city to fetch weather information for, PLEASE NOTE English name only, if the parameter city isn't English please translate to English before invoking this function.
end_date *stringEnd date in format YYYY-MM-DD , please follow ISO 8601 format
start_date *stringStart date in format YYYY-MM-DD, please follow ISO 8601 format

get_weather_details

Get detailed weather information for a specified city as structured JSON data. This tool provides raw weather data for programmatic analysis and processing.

ParameterTypeDescription
city *stringThe name of the city to fetch weather information for, PLEASE NOTE English name only, if the parameter city isn't English please translate to English before invoking this function.
include_forecastbooleanWhether to include forecast data (next 24 hours)

get_current_datetime

Get current time in specified timezone.

ParameterTypeDescription
timezone_name *stringIANA timezone name (e.g., 'America/New_York', 'Europe/London'). Use UTC timezone if no timezone provided by the user.

get_timezone_info

Get information about a specific timezone including current time and UTC offset.

ParameterTypeDescription
timezone_name *stringIANA timezone name (e.g., 'America/New_York', 'Europe/London')

convert_time

Convert time from one timezone to another.

ParameterTypeDescription
datetime_str *stringDateTime string in ISO format (e.g., '2024-01-15T14:30:00') or 'now' for current time
from_timezone *stringSource timezone (IANA timezone name)
to_timezone *stringTarget timezone (IANA timezone name)

get_air_quality

Get air quality information for a specified city including PM2.5, PM10, ozone, nitrogen dioxide, carbon monoxide, and other pollutants. Provides health advisories based on current air quality levels.

ParameterTypeDescription
city *stringThe name of the city to fetch air quality information for, PLEASE NOTE English name only, if the parameter city isn't English please translate to English before invoking this function.
variablesarrayAir quality variables to retrieve. If not specified, defaults to pm10, pm2_5, ozone, nitrogen_dioxide, and carbon_monoxide.

get_air_quality_details

Get detailed air quality information for a specified city as structured JSON data. This tool provides raw air quality data for programmatic analysis and processing.

ParameterTypeDescription
city *stringThe name of the city to fetch air quality information for, PLEASE NOTE English name only, if the parameter city isn't English please translate to English before invoking this function.
variablesarrayAir quality variables to retrieve