Skip to main content
Glama
Powder Compass MCP

Powder Compass MCP

by petelittle

Powder Compass MCP ❄️

A small local MCP server that gives Claude Desktop a set of honest, tested tools for scoring a ski or snowboard day — plus the unit converters an imperial-units skier needs to feed it.

The scoring is a faithful port of the Rust CLI powder-compass: same bands, same verdicts, same practical tips, same safety override — ported, not redesigned.

Fun planning only — always check the resort's official conditions and avalanche information before you go.

The tools

Tool

What it does

powder_score

Score a day out of 100 from fresh snow (cm), temperature (°C), wind (km/h) and visibility (1–5). Returns the score, a points breakdown, a verdict and one practical tip.

convert_temperature

°C ↔ °F, direction stated explicitly, rounded to 1 decimal place.

convert_wind

km/h ↔ mph, direction stated explicitly, rounded to 1 decimal place.

convert_snow

cm ↔ inches, direction stated explicitly, rounded to 1 decimal place.

Out-of-range or unknown-unit inputs are rejected with a clear error — never silently clamped or guessed. That is a design rule, not an accident (see Why this exists below).

Related MCP server: OpenWeather MCP Server

Quick start

Requires Python 3.10+ and uv.

uv run pytest -q          # run the test suite (13 tests)
uv run mcp dev server.py  # poke the tools by hand in the MCP Inspector

Use it in Claude Desktop

Add an entry like this to Claude Desktop's claude_desktop_config.json (Settings → Desktop app → Local MCP servers → Edit config shows you the exact file your install actually reads), then restart Claude:

{
  "mcpServers": {
    "PowderCompass": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "C:\\path\\to\\powder-compass-mcp",
        "python",
        "server.py"
      ]
    }
  }
}

Windows note (learned the hard way): if mcp install tells you "Claude app not found", your Claude Desktop is probably the MSIX-packaged build. Its real config file may live outside the app package, e.g. at %LOCALAPPDATA%\Claude-Data\<package-id>\claude_desktop_config.json. The Edit config button in Settings always opens the true file — trust it, not the textbook paths. Back the file up before editing, merge the mcpServers entry in, and restart Claude fully (tray → Quit) so it re-reads the config.

Then just ask, in plain words:

  • "We got 24 cm of fresh snow overnight, it's −8 °C, the wind is 8 km/h and visibility is perfect. How good a ski day is it?" → 96/100, "Champagne-powder alert"

  • "How fast is 60 mph wind in km/h?" → 96.6 km/h

  • "An American resort reports 10 inches of fresh snow, 20 °F, wind 10 mph, visibility 4 out of 5…" → Claude converts, then scores: 89/100

Why this exists

In April 2025 the author ran an experiment: an MCP add tool that quietly returned a − b under an honest "Add two numbers" docstring. The lesson stuck — a language model trusts a tool's description, not its code.

This server is the counterpart. Every tool's behaviour is pinned down by automated tests (test_server.py, pytest) that mirror the original Rust test suite and add converter and error-case checks, so the descriptions Claude reads are claims the code has been proven to keep. Trust, but verify — then earn the trust.

Scoring at a glance

Category

Max

Bands (points)

Fresh snow

40

0→0 · 1–4→10 · 5–9→20 · 10–19→30 · 20–29→36 · 30+→40

Temperature

20

−12…−3→20 · −18…−13 / −2…0→16 · −25…−19 / 1…2→10 · 3…5→5 · 6+→0 · below −25→6

Wind

20

0–10→20 · 11–20→17 · 21–35→12 · 36–50→6 · 51+→0

Visibility

20

1→2 · 2→6 · 3→11 · 4→16 · 5→20

Verdicts run from "Champagne-powder alert" (85+) down to "Hot-chocolate conditions" — with a safety override: at −30 °C or colder, or wind at 70 km/h or more, the verdict is always "Red-flag conditions — official advice first", whatever the score.

Tech

  • Python + MCP Python SDK 2.3.0 (mcp[cli]), managed with uv

  • Tests: pytest — uv run pytest -q

Licence

MIT (same as the Rust original).

Available Tools

4 tools
convert_snowA

Convert a snow depth between centimetres and inches.

Give the value and its current unit: "cm" or "in". Returns the value converted to the other unit, rounded to 1 decimal place. Negative depths and any other unit are rejected with an error.

Inputs: value (required), from_unit (required). Returns: result

convert_temperatureA

Convert a temperature between Celsius and Fahrenheit.

Give the value and its current unit: "C" for Celsius or "F" for Fahrenheit. Returns the value converted to the other unit, rounded to 1 decimal place. Any other unit is rejected with an error.

Inputs: value (required), from_unit (required). Returns: result

convert_windA

Convert a wind speed between kilometres per hour and miles per hour.

Give the value and its current unit: "km/h" or "mph". Returns the value converted to the other unit, rounded to 1 decimal place. Negative speeds and any other unit are rejected with an error.

Inputs: value (required), from_unit (required). Returns: result

powder_scoreA

Score a ski or snowboard day out of 100 with Powder Compass.

Give the fresh snow in the last 24 hours (cm, 0-100), the temperature (Celsius, -60 to 20), the wind speed (km/h, 0-200) and the visibility (1 = poor, 5 = crystal clear). Returns the score with its points breakdown, a verdict and one practical tip. Out-of-range values are rejected with an error, never silently adjusted.

Inputs: wind_kmh (required), visibility (required), fresh_snow_cm (required), temperature_c (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: one scores a snow day, and the other three convert temperature, wind speed, and snow depth respectively. There is no meaningful overlap or ambiguity between the tools, and the unit-specific conversion tools are easy to tell apart.

    Naming Consistency4/5

    The three conversion tools consistently use the convert_<quantity> pattern. The scoring tool is named powder_score, which is a slight deviation from the verb_noun convention but remains clear and readable.

    Tool Count5/5

    Four tools is well-scoped for a focused powder-scoring server, with three supporting unit converters that directly complement the main scoring input requirements. Each tool earns its place without bloat.

    Completeness4/5

    The surface covers the core scoring operation plus conversions for the key input units (temperature, wind, snow depth), so agents can prepare inputs and interpret results. Minor gaps exist, such as no tool for explaining scoring criteria or handling other units, but core workflows are covered.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Integrates the OpenWeather API with Claude to provide real-time weather updates, 5-day forecasts, and air quality data. It enables users to query current conditions, pollution levels, and coordinate-based weather information directly within their conversations.
      4
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables users to get weather forecasts, snow conditions, air quality, and location search via the Open-Meteo API, with guided prompts for ski trips and outdoor activities.
      11
      MIT