home / mcp / weather mcp server
Provides weather data, forecasts, and alerts from the National Weather Service via MCP endpoints.
Configuration
View docs{
"mcpServers": {
"akarnik23-mcp-weather": {
"url": "https://weather-mcp.onrender.com/mcp"
}
}
}You can access current weather, forecasts, and real-time alerts through a lightweight Weather MCP Server that pulls data from the National Weather Service. This server keeps location-based weather information up to date for integrations with Poke and other clients, without requiring an API key.
Connect your MCP client to the Weather MCP Server using its MCP URL and invoke the available tools to retrieve current conditions, forecasts, or alerts. The server exposes three tools you can call from your MCP client: get_current_weather, get_forecast, and get_weather_alerts. Use these to drive in-app weather displays, alerts, or decision logic for location-based features.
Prerequisites: You need Python installed on your system. You also need pip to install dependencies.
# Install dependencies
pip install -r requirements.txt
# Run the server
python src/server.pyThe Weather MCP Server is available publicly via Render at the URL shown below. You can configure your MCP client to connect to this URL to start using weather data in your projects.
To enable weather-based integrations in Poke, point your MCP client to the Weather MCP URL shown in deployment and name the connection something like “Weather”. Then issue the tools to obtain current conditions, forecasts, or alerts for your target location.
No API key is required. The server fetches weather data directly from the National Weather Service API. Ensure your MCP client enforces appropriate rate limits and caching to avoid excessive requests.
Fetches current weather conditions for a specified location using the nearest forecast period from the National Weather Service data.
Returns a multi-day forecast (day and night periods) for a location, with configurable days and units.
Retrieves real-time weather alerts, watches, and warnings for the specified location from the National Weather Service.