Skip to main content
Glama
deepcodes7

MCP Weather Server

by deepcodes7

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENWEATHER_API_KEYYesYour OpenWeatherMap API key (required for the server)
OPENWEATHER_BASE_URLNoThe base URL for the OpenWeatherMap APIhttps://api.openweathermap.org/data/2.5

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_weatherB

Get the current weather for a city.

Args: city: Name of the city (e.g., "Toronto", "London", "Tokyo")

Returns: A formatted string with current weather conditions.

get_forecastB

Get a multi-day weather forecast for a city.

Args: city: Name of the city days: Number of days to forecast (1-5, default 3)

Returns: A formatted multi-day forecast summary.

Prompts

Interactive templates invoked by user choice

NameDescription
weather_report Generate a comprehensive weather report for a city. Args: city: Name of the city Returns: A formatted weather report.
travel_advisory Generate a travel weather advisory prompt. Args: city: Destination city days: Trip duration in days

Resources

Contextual data attached and managed by the client

NameDescription
list_supported_citiesList all cities this weather server supports as examples.
get_helpGet help on how to use the weather server.

Latest Blog Posts

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/deepcodes7/MCPServerWeather'

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