Skip to main content
Glama

OpenWeatherMap MCP Server

get-onecall-weather

Retrieve current weather and 7-day forecast data by providing latitude, longitude, and unit preferences. Exclude specific data types to customize the response.

Instructions

Get comprehensive weather data (current + 7-day forecast)

Input Schema

NameRequiredDescriptionDefault
excludeNoParts of weather data to exclude from the response
latitudeYesLatitude coordinate
longitudeYesLongitude coordinate
unitsNoTemperature units: metric (Celsius), imperial (Fahrenheit), or standard (Kelvin)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "exclude": { "description": "Parts of weather data to exclude from the response", "items": { "enum": [ "current", "minutely", "hourly", "daily", "alerts" ], "type": "string" }, "type": "array" }, "latitude": { "description": "Latitude coordinate", "maximum": 90, "minimum": -90, "type": "number" }, "longitude": { "description": "Longitude coordinate", "maximum": 180, "minimum": -180, "type": "number" }, "units": { "description": "Temperature units: metric (Celsius), imperial (Fahrenheit), or standard (Kelvin)", "enum": [ "metric", "imperial", "standard" ], "type": "string" } }, "required": [ "latitude", "longitude" ], "type": "object" }
Install Server

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