🌤️ Weather MCP Server
A Model Context Protocol (MCP) server for weather data from the National Weather Service API secured by Descope auth and hosted on Fly.io.
Quick Start
Server URL
Configuration
IDE Integration
Windsurf
- Open Settings
- Navigate to Cascade → Model Context Provider Servers
- Select Add Server
Cursor
- Press Cmd + Shift + J to open Settings
- Select MCP
- Select Add new global MCP server
VSCode
Read more here
Note: Requires VSCode 1.99 or above
Zed
Available Tools
Weather Alerts
get-alerts
Get real-time weather alerts for any US state using the National Weather Service API. This tool provides detailed information about active weather warnings, watches, and advisories.
Parameters:
state
: Two-letter state code (e.g., "CA" for California)
Returns:
- Event type (e.g., Flood Warning, Severe Thunderstorm Watch)
- Affected area description
- Alert severity level
- Current status
- Detailed headline information
Weather Forecast
get-forecast
Get detailed weather forecasts for any location in the United States using latitude and longitude coordinates. This tool provides comprehensive weather information including temperature, wind conditions, and short-term forecasts from the National Weather Service.
Parameters:
latitude
: Location latitude (-90 to 90)longitude
: Location longitude (-180 to 180)
Returns:
- Forecast period name (e.g., "This Afternoon", "Tonight")
- Temperature in Fahrenheit or Celsius
- Wind speed and direction
- Short-term weather forecast description
Note: This tool supports locations within the United States only, as provided by the National Weather Service.
Example Workflows
Travel Planning
"What's the weather forecast for San Francisco next week?"
Event Planning
"Check weather alerts for outdoor events in New York"
Agriculture
"Get weather alerts for farming regions in Iowa"
Troubleshooting
If you encounter issues with mcp-remote
, try clearing the authentication files:
rm -rf ~/.mcp-auth