Skip to main content
Glama

MCP Weather Server

by le-yo

getWeatherForecast

Retrieve weather forecasts for specific locations, including temperature, unit preferences, and future days. Supports city names, zip codes, or coordinates via the MCP Weather Server.

Instructions

Get weather forecast for a location. Returns weather forecast for the next few days.

Input Schema

NameRequiredDescriptionDefault
locationNoThe location to get weather forecast for (city name, zip code, coordinates, etc.). If not provided, default location will be used.
optionsNoForecast 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 weather forecast for (city name, zip code, coordinates, etc.). If not provided, default location will be used.", "type": "string" }, "options": { "additionalProperties": false, "description": "Forecast configuration options, all fields are optional", "properties": { "days": { "description": "Number of days to forecast (default: 3, supports 3, 7days)", "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