1. Conduid
  2. Developer Tools
  3. Weather Server
MCP server · Developer Tools

Weather Server

This is my first ever mcp server. A ModelContextProtocol compatible weather data server powered by Node.js and TypeScript, using the MCP SDK for standardized data transport.

Unclaimed last commit a year ago devtools
41Fair

Scored 5 months ago · breakdown

About Weather Server

Weather Server is an MCP server published by JohnnieEmmanuel in the Developer Tools category: this is my first ever mcp server. A ModelContextProtocol compatible weather data server powered by Node.js and TypeScript, using the MCP SDK for standardized data transport.

The repository has 1 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/JohnnieEmmanuel/mcp-weather-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (2)

get-alertsGet weather alerts for a state

Parameters not published.

get-forecastGet weather forecast for a location

Parameters not published.

Ask AI

✦

Ask AI about Weather Server

Powered by Claude · Grounded in docs

I know everything about Weather Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

MCP Weather Server

This project is a ModelContextProtocol (MCP) compatible weather server that fetches real-time alerts and forecasts from the U.S. National Weather Service (NWS) and exposes them as tools via MCP. It is built with Node.js, TypeScript, and the official @modelcontextprotocol/sdk.

🔧 Features

  • get-alerts: Get active weather alerts for any U.S. state.
  • get-forecast: Get a 7-day weather forecast for a given latitude and longitude in the U.S.
  • Uses fetch with custom headers to communicate with the NWS API.
  • Runs over standard input/output (STDIO) transport using MCP.

📦 Installation

git clone https://github.com/JohnnieEmmanuel/mcp-weather-server.git
cd mcp-weather-server
npm install

🚀 Usage

Build the project:

npm run build

Run the server:

node build/index.js

Ensure the MCP consumer you're connecting to is set up to use STDIO transport.

🛠 Tools

🔔 get-alerts

Fetches active alerts for a U.S. state.

Input:

{
  "state": "CA"
}

Output (MCP):

  • Text block summarizing active alerts.

🌦 get-forecast

Fetches weather forecast for a given latitude and longitude.

Input:

{
  "latitude": 37.7749,
  "longitude": -122.4194
}

Output (MCP):

  • Text block summarizing forecast periods including temperature, wind, and short description.

🧱 Tech Stack

  • Node.js + TypeScript
  • Zod for schema validation
  • node-fetch for HTTP requests
  • MCP SDK for server integration and transport

📄 License

MIT License


🧠 Credits

Built by John Emmanuel (REDJOHN) using the ModelContextProtocol SDK.

📢 Disclaimer

This server only supports U.S. locations as it uses the api.weather.gov, which is limited to U.S. data.


✨ Example

> get-alerts { "state": "TX" }

Active alerts for TX:

Event: Excessive Heat Warning
Area: Central Texas
Severity: Severe
Status: Actual
Headline: Dangerously hot conditions expected
---
...

README fetched from the repository 7 days ago. The original is authoritative.

Questions

About Weather Server

How do I install Weather Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Weather Server safe to use with an AI agent?

Its trust score is 41 out of 100 (fair). It passes 2 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Weather Server still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.