Skip to main content
Glama

OpenWeatherMap MCP Server

by robertn702

get-weather-forecast

Retrieve detailed weather forecasts for up to 5 days by specifying location and preferred units (Celsius, Fahrenheit, or Kelvin) using OpenWeatherMap MCP Server.

Instructions

Get weather forecast for up to 5 days

Input Schema

NameRequiredDescriptionDefault
daysNoNumber of days to forecast (1-5, default: 5)
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": { "days": { "description": "Number of days to forecast (1-5, default: 5)", "maximum": 5, "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