Skip to main content
Glama

OpenWeatherMap MCP Server

by robertn702

get-hourly-forecast

Retrieve hourly weather forecasts for up to 48 hours using city names or coordinates. Specify units (Celsius, Fahrenheit, Kelvin) and desired forecast duration for precise planning.

Instructions

Get hourly weather forecast for up to 48 hours

Input Schema

NameRequiredDescriptionDefault
hoursNoNumber of hours to forecast (1-48, default: 48)
locationYesCity name (e.g., 'New York') or coordinates (e.g., 'lat,lon')
unitsNoTemperature units: metric (Celsius), imperial (Fahrenheit), or standard (Kelvin)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "hours": { "description": "Number of hours to forecast (1-48, default: 48)", "maximum": 48, "minimum": 1, "type": "number" }, "location": { "description": "City name (e.g., 'New York') or coordinates (e.g., 'lat,lon')", "type": "string" }, "units": { "description": "Temperature units: metric (Celsius), imperial (Fahrenheit), or standard (Kelvin)", "enum": [ "metric", "imperial", "standard" ], "type": "string" } }, "required": [ "location" ], "type": "object" }

You must be authenticated.

Other Tools from OpenWeatherMap MCP 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/robertn702/mcp-openweathermap'

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