Weather MCP Server
Provides geocoding services to convert location names into coordinates, used to fetch weather forecasts from the National Weather Service.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Weather MCP Serverwhat's the weather in Seattle?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Weather MCP Server
An MCP (Model Context Protocol) server that provides weather forecasts using OpenStreetMap Nominatim for geocoding and the National Weather Service (Weather.gov) API for forecast data.
Features
Single tool:
get_weather_forecast- Get weather forecasts for any city, state, or addressUses OpenStreetMap Nominatim for free geocoding (no API key required)
Uses Weather.gov API for accurate, free weather data (US locations only)
Returns detailed forecast periods with temperature, wind, and conditions
Related MCP server: Weather MCP Server
Installation
Install dependencies:
npm installBuild the project:
npm run buildConfiguration
Add this server to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"weather": {
"command": "node",
"args": ["/Users/atharvawadekar/Desktop/Projects/WeatherMCP/dist/index.js"]
}
}
}Usage
Once configured, you can ask Claude:
"What's the weather in Seattle?"
"Get me the forecast for Miami, FL"
"What's the weather like in Portland, Oregon?"
"Tell me the weather for 1600 Pennsylvania Ave, Washington DC"
Tool Details
get_weather_forecast
Input:
location(string): City name, state, or full address
Output:
Location name and coordinates
NWS forecast office
Multiple forecast periods with:
Period name (Today, Tonight, Tomorrow, etc.)
Temperature
Wind speed and direction
Short and detailed forecast descriptions
How It Works
Takes a location string (city, state, or address)
Geocodes it using OpenStreetMap Nominatim to get latitude/longitude
Calls Weather.gov
/points/{lat},{lon}to get grid dataFetches the forecast from the returned forecast URL
Formats and returns the weather data
Limitations
US locations only: Weather.gov only provides data for US locations
Rate limits: Be respectful of Nominatim's usage policy (max 1 request/second)
Geocoding accuracy: Results depend on OpenStreetMap's geocoding quality
Development
Run in development mode with auto-rebuild:
npm run devLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
Provide real-time and forecast weather information for locations in the United States using natura…
Get US weather forecasts, active alerts, and current observations.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to access real-time US weather forecasts and alerts through the National Weather Service API.217 npmMIT
- -licenseNot gradedqualityNot gradedmaintenanceProvides weather forecast data from the US National Weather Service API through MCP tools. Enables users to get detailed weather forecasts by ZIP code or coordinates using natural language queries.-
- FlicenseNot gradedqualityDmaintenanceEnables users to get weather forecasts and alerts for any US city and state through natural language queries using the National Weather Service API.-
- FlicenseNot gradedqualityDmaintenanceProvides weather forecasts and alerts for US locations via the National Weather Service API, enabling AI assistants to deliver real-time weather information.16 npm-