npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@neuroequalityorg/mcp-weather-server

v1.0.0

Published

MCP server for weather data using wttr.in - provides current weather, forecasts, alerts, and temperature conversion

Downloads

194

Readme

MCP Weather Server 🌤️

A Model Context Protocol (MCP) server that provides weather data using the free wttr.in API. Works with Claude Desktop, Cline, and any MCP-compatible client.

Features

  • get_weather - Current weather conditions for any city
  • get_forecast - Weather forecast up to 3 days
  • get_alerts - Smart weather alerts based on conditions
  • convert_temp - Temperature conversion (Celsius ↔ Fahrenheit ↔ Kelvin)

Installation

From npm (recommended)

npm install -g mcp-weather-server

From source

git clone https://github.com/ttracx/mcp-weather-server.git
cd mcp-weather-server
npm install
npm run build

Usage

Claude Desktop Configuration

Add this to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": ["-y", "mcp-weather-server"]
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "weather": {
      "command": "mcp-weather-server"
    }
  }
}

Or from source:

{
  "mcpServers": {
    "weather": {
      "command": "node",
      "args": ["/path/to/mcp-weather-server/dist/index.js"]
    }
  }
}

Running Standalone

# Development mode
npm run dev

# Production mode
npm run build
npm start

Tools

get_weather

Get current weather conditions for a city.

Parameters:

  • city (string, required): City name (e.g., "London", "New York", "Tokyo")

Example response:

{
  "location": "London, United Kingdom",
  "temperature": "15°C (59°F)",
  "condition": "Partly cloudy",
  "humidity": "72%",
  "wind": "13 km/h WSW",
  "feelsLike": "14°C (57°F)",
  "visibility": "10 km",
  "pressure": "1015 mb"
}

get_forecast

Get weather forecast for a city (up to 3 days).

Parameters:

  • city (string, required): City name
  • days (number, optional): Number of forecast days (1-3, default: 3)

Example response:

[
  {
    "date": "2024-01-15",
    "maxTemp": "12°C (54°F)",
    "minTemp": "5°C (41°F)",
    "condition": "Light rain",
    "sunrise": "07:45 AM",
    "sunset": "04:30 PM",
    "chanceOfRain": "65%"
  }
]

get_alerts

Get weather alerts and warnings for a region. Generates smart alerts based on current conditions.

Parameters:

  • region (string, required): Region or city name

Alert types:

  • 🔥 Heat advisory (>35°C)
  • ❄️ Freeze warning (≤0°C)
  • 💨 High wind warning (>50 km/h)
  • 💧 High humidity alert (≥90%)
  • 🌫️ Low visibility warning (<2km)
  • ⛈️ Thunderstorm warning
  • 🌨️ Snow advisory
  • 🌫️ Fog advisory

convert_temp

Convert temperature between units.

Parameters:

  • value (number, required): Temperature value
  • from (string, required): Source unit (celsius, fahrenheit, kelvin)
  • to (string, required): Target unit (celsius, fahrenheit, kelvin)

Example response:

{
  "input": { "value": 100, "unit": "celsius" },
  "output": { "value": 212, "unit": "fahrenheit" },
  "formatted": "100 celsius = 212°F"
}

Data Source

This server uses wttr.in - a free, open-source weather service. No API key required!

Requirements

  • Node.js 18+
  • Internet connection for weather data

License

MIT

Author

ttracx