Skip to main content
Glama

MCP Weather Server

by le-yo

getHourlyWeather

Fetch hourly weather forecasts for the next 24 hours for any location. Configure temperature units, language, and forecast duration using the MCP Weather Server.

Instructions

Get hourly weather forecast for a location. Returns weather data hour by hour for the next 24 hours.

Input Schema

NameRequiredDescriptionDefault
locationNoThe location to get hourly weather forecast for (city name, zip code, coordinates, etc.). If not provided, default location will be used.
optionsNoHourly forecast configuration options, all fields are optional

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "location": { "description": "The location to get hourly weather forecast for (city name, zip code, coordinates, etc.). If not provided, default location will be used.", "type": "string" }, "options": { "additionalProperties": false, "description": "Hourly forecast configuration options, all fields are optional", "properties": { "hours": { "description": "Number of hours to forecast (default: 24, max: 24)", "type": "number" }, "language": { "description": "Response language code (e.g., 'en' for English, 'zh' for Chinese)", "type": "string" }, "units": { "description": "Temperature units: metric (Celsius) or imperial (Fahrenheit)", "enum": [ "metric", "imperial" ], "type": "string" } }, "type": "object" } }, "type": "object" }
Install Server

Other Tools from MCP Weather Server

Related Tools

    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/le-yo/weather-mcp'

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