rudra-weather-mcp
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., "@rudra-weather-mcp what are the current weather alerts in Austin, 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 provides weather alerts to AI assistants such as Claude Code.
The server runs locally and communicates with the MCP client using stdio (standard input/output). It fetches weather information from an external weather API and exposes it as an MCP tool.
Architecture
Claude Code
ā
stdio
ā
Weather MCP Server
ā
Weather APIThe MCP server runs as a local Node.js process. It does not expose a web server or listen on a port such as localhost:3000.
Related MCP server: MCP Weather Server
Features
š”ļø Get current weather alerts
š Query weather for a specified location
š MCP-compatible tool interface
š» Runs locally using stdio
š¦ Installable through npm
š¤ Designed for use with Claude Code
Requirements
Node.js
npm
Claude Code
An API key for the weather service, if required by the implementation
Installation
Using npm
The package is available on npm as:
npx rudra-weather-mcpNo global installation is required.
From source
Clone the repository:
git clone <YOUR_GITHUB_REPOSITORY_URL>
cd weatherInstall dependencies:
npm installRun the server:
npm startUsing with Claude Code
Add the MCP server to Claude Code:
claude mcp add weather -- npx rudra-weather-mcpClaude Code will automatically start the MCP server locally when it needs to communicate with it.
You can verify the MCP configuration with:
claude mcp listExample Prompt
After adding the MCP server, ask Claude Code:
Use the weather MCP server to get the current weather alerts in Boston, Massachusetts.
Do not answer from your own knowledge. Use the MCP tool.Claude Code should invoke the weather MCP tool and return the information provided by the server.
How It Works
MCP defines how an AI application communicates with external tools.
In this project, stdio is the transport mechanism used to send MCP messages between Claude Code and the local MCP server.
Claude Code
ā
ā MCP messages
ā
ā¼
stdio
ā
ā¼
Weather MCP Server
ā
ā HTTP request
ā¼
Weather API
ā
ā Weather data
ā¼
Weather MCP Server
ā
ā MCP response
ā¼
Claude CodeThe MCP server itself is not an HTTP server. It runs as a local process and communicates through:
stdinā receives messages from Claude Codestdoutā sends responses to Claude Codestderrā used for errors/logging
Local vs Remote MCP
This project is designed as a local MCP server.
Local
Claude Code
ā
stdio
ā
MCP ServerEach user runs their own copy of the MCP server on their computer.
Remote
A remote MCP server could instead communicate over HTTP:
Claude Code
ā HTTP
Remote MCP Server
ā
Weather APIThis project does not currently require a remote server.
Development
Start the server directly with:
npm startThe project uses:
TypeScript ā MCP server implementation
Node.js ā runtime
tsx ā TypeScript execution
Zod ā schema validation
MCP SDK ā MCP server implementation
Project Structure
weather/
āāā bin/
ā āāā weather-mcp.js
āāā src/
ā āāā index.ts
āāā package.json
āāā README.mdnpm Package
The published npm package is:
rudra-weather-mcpRun it with:
npx rudra-weather-mcpLicense
MIT
Available Tools
1 toolget-alertsA
Get the active weather alerts for a US state
Inputs: state (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogā¦
TDQS
Scored across 1 tool
Only one tool exists, so there is no possibility of confusion between tools. The purpose is clearly defined as retrieving active weather alerts for a US state.
The single tool name 'get-alerts' follows a clear verb-noun pattern. With only one tool, naming is trivially consistent.
One tool is borderline; it feels thin for a server named 'weather-mcp', but it is appropriately focused for a single-purpose alerts service.
The server only provides alerts, leaving obvious gaps in weather data such as current conditions and forecasts. The surface is too limited for a weather-focused MCP.
Maintenance
Related MCP Connectors
US NWS weather alerts and 5-day forecasts for AI agents. $0.01 per call.
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.
US weather alerts (NWS): warnings, watches. $0.01/query. Be born in one call ā free testnet funds.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI models to fetch weather alerts and detailed forecasts for US locations using the National Weather Service API.ISC
- -licenseBqualityDmaintenanceEnables users to retrieve current weather alerts for US states and detailed weather forecasts by geographic coordinates using the US National Weather Service API. Built with Node.js and TypeScript following Model Context Protocol standards for seamless LLM integration.2-
- FlicenseAqualityDmaintenanceProvides real-time weather alerts from the National Weather Service API via the Model Context Protocol. It allows LLMs to fetch active alerts for specific US states using both STDIO and SSE transport protocols.11-
- FlicenseNot gradedqualityDmaintenanceProvides real-time weather alerts and forecasts from the National Weather Service for US locations, integrating with AI assistants via the Model Control Protocol.-