Skip to main content
Glama
r-u-d-r-a-a

rudra-weather-mcp

by r-u-d-r-a-a

šŸŒ¤ļø 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 API

The 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-mcp

No global installation is required.

From source

Clone the repository:

git clone <YOUR_GITHUB_REPOSITORY_URL>
cd weather

Install dependencies:

npm install

Run the server:

npm start

Using with Claude Code

Add the MCP server to Claude Code:

claude mcp add weather -- npx rudra-weather-mcp

Claude Code will automatically start the MCP server locally when it needs to communicate with it.

You can verify the MCP configuration with:

claude mcp list

Example 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 Code

The MCP server itself is not an HTTP server. It runs as a local process and communicates through:

  • stdin — receives messages from Claude Code

  • stdout — sends responses to Claude Code

  • stderr — used for errors/logging

Local vs Remote MCP

This project is designed as a local MCP server.

Local

Claude Code
     ↕
   stdio
     ↕
MCP Server

Each 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 API

This project does not currently require a remote server.

Development

Start the server directly with:

npm start

The 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.md

npm Package

The published npm package is:

rudra-weather-mcp

Run it with:

npx rudra-weather-mcp

License

MIT

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI models to fetch weather alerts and detailed forecasts for US locations using the National Weather Service API.
    80
    GPL 3.0
  • -
    license
    B
    quality
    D
    maintenance
    Enables 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
  • F
    license
    A
    quality
    D
    maintenance
    Provides 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.
    1
    1
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides real-time weather alerts and forecasts from the National Weather Service for US locations, integrating with AI assistants via the Model Control Protocol.

View all related MCP servers

Related MCP Connectors

  • 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.

  • Get US weather forecasts, active alerts, and current observations.

View all MCP Connectors

Latest Blog Posts

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/r-u-d-r-a-a/weather-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server