Skip to main content
Glama

Weather MCP Server

Apache 2.0
23
  • Linux
  • Apple

get_weather_details

Retrieve current weather data and optional 24-hour forecast for any city in structured JSON format for programmatic analysis and processing.

Instructions

Get detailed weather information for a specified city as structured JSON data. This tool provides raw weather data for programmatic analysis and processing.

Input Schema

NameRequiredDescriptionDefault
cityYesThe name of the city to fetch weather information for, PLEASE NOTE English name only, if the parameter city isn't English please translate to English before invoking this function.
include_forecastNoWhether to include forecast data (next 24 hours)

Input Schema (JSON Schema)

{ "properties": { "city": { "description": "The name of the city to fetch weather information for, PLEASE NOTE English name only, if the parameter city isn't English please translate to English before invoking this function.", "type": "string" }, "include_forecast": { "default": false, "description": "Whether to include forecast data (next 24 hours)", "type": "boolean" } }, "required": [ "city" ], "type": "object" }

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/isdaniel/mcp_weather_server'

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