Node.js MCP Weather Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Node.js MCP Weather Server with Azure Deployment
A Model Context Protocol (MCP) server built with Express.js and Node.js that provides weather information using the National Weather Service API. Ready for deployment to Azure App Service with Azure Developer CLI (azd).
π Features
Express.js Framework: Fast, unopinionated web framework for Node.js
MCP Protocol Compliance: Full support for JSON-RPC 2.0 MCP protocol
HTTP Transport: HTTP-based communication for web connectivity
Weather Tools:
get_alerts: Get weather alerts for any US stateget_forecast: Get detailed weather forecast for any location
Azure Ready: Pre-configured for Azure App Service deployment
Web Test Interface: Built-in HTML interface for testing
National Weather Service API: Real-time weather data from official US government source
Related MCP server: WeatherMCP
π» Local Development
Prerequisites
Node.js 22+ (or Node.js 18+)
npm (Node Package Manager)
Setup & Run
Clone and install dependencies:
git clone <your-repo-url> cd remote-mcp-webapp-node npm installStart the development server:
npm run devAccess the server:
Server: http://localhost:8000
Health Check: http://localhost:8000/health
Test Interface: http://localhost:8000/test
π Connect to the Local MCP Server
Using VS Code - Copilot Agent Mode
Add MCP Server from command palette and add the URL to your running server's HTTP endpoint:
http://localhost:8000List MCP Servers from command palette and start the server
In Copilot chat agent mode, enter a prompt to trigger the tool:
What's the weather forecast for San Francisco?When prompted to run the tool, consent by clicking Continue
Using MCP Inspector
In a new terminal window, install and run MCP Inspector:
npx @modelcontextprotocol/inspectorCTRL+click the URL displayed by the app (e.g. http://localhost:5173/#resources)
Set the transport type to
HTTPSet the URL to your running server's HTTP endpoint and Connect:
http://localhost:8000List Tools, click on a tool, and Run Tool
π Quick Deploy to Azure
Prerequisites
Active Azure subscription
Deploy in 3 Commands
# 1. Login to Azure
azd auth login
# 2. Initialize the project
azd init
# 3. Deploy to Azure
azd upAfter deployment, your MCP server will be available at:
Health Check:
https://<your-app>.azurewebsites.net/healthMCP Capabilities:
https://<your-app>.azurewebsites.net/mcp/capabilitiesTest Interface:
https://<your-app>.azurewebsites.net/test
π Connect to the Remote MCP Server
Follow the same guidance as above, but use your App Service URL instead.
π§ͺ Testing
Visit /test endpoint for an interactive testing interface.
π¦οΈ Data Source
This server uses the National Weather Service (NWS) API:
Real-time weather alerts and warnings
Detailed weather forecasts
Official US government weather data
No API key required
High reliability and accuracy
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
An MCP server for weather information by @kulybaba
An MCP server for weather information by @kulybaba
MCP server for weather with reasoning β umbrella advice, outdoor checks, city comparisons.
Related MCP Servers
- FlicenseBqualityDmaintenanceAn MCP server that provides weather information and alerts for US locations using the National Weather Service API, enabling retrieval of weather forecasts and active weather alerts.2-
- FlicenseBqualityDmaintenanceAn MCP server providing US National Weather Service data with tools to fetch weather alerts by state and forecasts by coordinates.2-
- AlicenseBqualityDmaintenanceMCP server that integrates the National Weather Service API to fetch weather alerts for US states and forecasts for coordinates.28 npm1MIT
- FlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that provides US weather forecasts and active alerts using the National Weather Service API.2-