Skip to main content
Glama
gitPratikSingh

Weather MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WEATHER_API_KEYNoYour OpenWeatherMap API key. Get a free API key from https://openweathermap.org/api. If no API key is provided, the server will use mock data for demonstration purposes.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
get_current_weather

Get current weather conditions for a specific location

get_weather_forecast

Get weather forecast for a specific location for multiple days

search_locations

Search for location names matching a query string

Prompts

Interactive templates invoked by user choice

NameDescription
analyze_weatherAnalyze weather patterns and provide insights about current conditions
compare_locationsCompare weather conditions between multiple locations

Resources

Contextual data attached and managed by the client

NameDescription
Current WeatherCurrent weather data for any location
Weather ForecastWeather forecast data for any location

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/gitPratikSingh/weather_mcp_server'

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