MCP Weather Server
by deepcodes7
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENWEATHER_API_KEY | Yes | Your OpenWeatherMap API key (required for the server) | |
| OPENWEATHER_BASE_URL | No | The base URL for the OpenWeatherMap API | https://api.openweathermap.org/data/2.5 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| list_supported_cities | List all cities this weather server supports as examples. |
| get_help | Get 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