weather-mcp-server
Click on "Install 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-serverGet active weather alerts for Texas"
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
A simple Model Context Protocol (MCP) server that exposes weather tools backed by the US National Weather Service (NWS) API.
The server runs over stdio and can be plugged into any MCP-compatible client (e.g. Cursor, Claude Desktop).
Tools
The server registers two tools:
get_alerts— Get active weather alerts for a US state.Input:
state— two-letter state code (e.g.CA,NY).
get_forecast— Get the weather forecast for a location.Input:
latitude(-90 to 90),longitude(-180 to 180).Note: Only US locations are supported by the NWS API.
Related MCP server: MCP Weather Server
Requirements
Node.js (with support for ES modules)
npm
Installation
npm installBuild
npm run buildThis compiles TypeScript into the build/ directory and marks build/index.js as executable.
Run
After building, run the server directly:
node build/index.jsYou should see:
Weather MCP Server running on stdioUsing with an MCP client
Configure your MCP client to launch this server. Example configuration:
{
"mcpServers": {
"weather": {
"command": "node",
"args": ["/absolute/path/to/weather/build/index.js"]
}
}
}Project structure
src/
index.ts # MCP server entry point, tool registration
utils/
helper.ts # NWS API helpers and alert formattingThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides access to weather alerts and forecasts for US locations using the National Weather Service public APIs.Last updated5Apache 2.0
- Alicense-qualityDmaintenanceProvides weather alerts and forecasts for US locations using the National Weather Service API.Last updated93GPL 3.0
- Alicense-qualityDmaintenanceProvides US weather alerts and forecasts via the National Weather Service API.Last updated93GPL 3.0
- Flicense-qualityDmaintenanceProvides weather forecasts, current conditions, and alerts for US locations using the National Weather Service API.Last updated1
Related MCP Connectors
Get US weather forecasts, active alerts, and current observations.
US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/imvedanshmehra/weather-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server