Skip to main content
Glama
Weather Edge MCP Server

Weather Edge MCP Server

by RJW34

Weather Edge MCP Server

weather-edge-mcp MCP server

Weather Edge is an MCP server for calibrated Kalshi weather-market signals. It turns public forecast and market data into a compact tool surface for AI agents.

What it does

  • calibrates NWS daily high-temperature forecasts by city

  • reads current Kalshi weather market prices

  • estimates per-bucket probability, edge, and net expected value

  • exposes the results through MCP tools and an optional FastAPI surface

Related MCP server: SimpleFunctions

Install

pip install weather-edge-mcp

MCP usage

Claude Desktop

{
  "mcpServers": {
    "weather-edge": {
      "command": "python",
      "args": ["-m", "weather_edge_mcp"]
    }
  }
}

Other MCP clients

Use either of these commands:

weather-edge-mcp
python -m weather_edge_mcp

Transport options

weather-edge-mcp --transport stdio
weather-edge-mcp --transport sse --port 8050
weather-edge-mcp --transport streamable-http --port 8050

Tools

Tool

Description

get_weather_signals(city)

Calibrated signals for one city's Kalshi weather markets

get_all_signals()

Full scan across all supported cities

get_forecast(city)

Bias-adjusted forecast context for one supported city

get_station_observation(city)

Latest METAR observation from the settlement station

list_cities()

Supported cities and calibration parameters

Supported cities: nyc, chicago, denver, miami, la

Optional web API

Weather Edge also ships an optional FastAPI app:

python -m uvicorn weather_edge_mcp.web_app:app --host 0.0.0.0 --port 8080

Routes:

  • /api/health

  • /api/signals?city=nyc

  • /api/all-signals

  • /dashboard

  • /subscribe

If the optional x402 stack is installed and configured, the paid routes can be gated there. MCP stdio mode stays clean and side-effect free.

Docker

The repo includes a Dockerfile for Glama/container builds.

docker build -t weather-edge-mcp .
docker run --rm weather-edge-mcp --help

Architecture

src/weather_edge_mcp/
  core.py        # forecasting, market fetches, calibration, formatting
  mcp_server.py  # MCP tools
  web_app.py     # optional FastAPI surface
  cli.py         # command-line entrypoint

Data sources

  • National Weather Service forecast API

  • Aviation Weather METAR API

  • Kalshi public market API

Development

python -m unittest discover -s tests -v
python -m build

License

MIT

Available Tools

5 tools
get_all_signalsA

Run a full scan across all supported cities and rank top weather-market signals.

Inputs: no named parameters. Returns: result

get_forecastC

Get raw calibrated forecast context for one supported city.

Args: city: One of nyc, chicago, denver, miami, la.

Inputs: city (required). Returns: result

get_station_observationB

Get the latest METAR observation from the settlement station for one city.

Args: city: One of nyc, chicago, denver, miami, la.

Inputs: city (required). Returns: result

get_weather_signalsA

Get calibrated edge signals for one city's Kalshi weather markets.

Args: city: One of nyc, chicago, denver, miami, la.

Inputs: city (required). Returns: result

list_citiesA

List supported cities, settlement stations, and calibration parameters.

Inputs: no named parameters. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a distinct purpose: listing cities, getting forecasts, getting observations, getting signals for one city, and scanning all cities. No overlap in functionality.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern (get_* and list_cities), with no mixing of conventions or ambiguous verbs.

    Tool Count5/5

    5 tools is well-scoped for a weather market server covering 5 cities. Each tool provides essential functionality without redundancy.

    Completeness4/5

    The tool set covers key operations: listing cities, retrieving raw data (forecast, observation), and market signals. A minor gap is the lack of a combined retrieval for all cities' raw data, but overall coverage is solid.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Prediction market probability oracle for AI agents. 26 tools across 500+ live markets from Kalshi and Polymarket. Cross-source arbitrage detection, structured TPF signals, Kelly Criterion sizing, agent performance tracking, and webhook alerts.
      9
      83 npm
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      24/7 autonomous monitoring and edge detection for prediction markets (Kalshi & Polymarket). Features causal tree analysis, orderbook depth tracking, cross-venue comparison, and real-time alerts.
      16
      196 npm
      12
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides prediction market intelligence, research, and strategy signals for platforms like Kalshi, Polymarket, and Robinhood. It enables AI assistants to perform market screening, arbitrage detection, and deep causal analysis to support informed trading decisions.
      27
      1
      MIT