Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Server port for HTTP transport | 3000 |
| MCP_ENDPOINT | No | HTTP endpoint path | /stream |
| MCP_TRANSPORT | No | Transport type: stdio or httpStream | stdio |
| OPENWEATHER_API_KEY | No | Your OpenWeatherMap API key (required for stdio transport only) |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| OpenWeatherMap API Documentation |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get-current-weather | Get current weather conditions for a location |
| get-weather-forecast | Get weather forecast for up to 5 days |
| get-hourly-forecast | Get hourly weather forecast for up to 48 hours |
| get-daily-forecast | Get daily weather forecast for up to 8 days |
| get-minutely-forecast | Get minute-by-minute precipitation forecast for next hour |
| get-weather-alerts | Get active weather alerts and warnings |
| get-current-air-pollution | Get current air quality data |
| get-location-info | Get location information from coordinates (reverse geocoding) |
| get-onecall-weather | Get comprehensive weather data (current + 7-day forecast) |
| get-air-pollution | Get air quality index and pollution data |
| geocode-location | Convert location name to coordinates or vice versa |