Weather Underground API and MCP server for AI agents

Let Claude, ChatGPT or your own agent read Weather Underground. No Weather Underground API key needed.

Add to your agent

Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.

Read https://bowmark.ai/sites/wunderground.md and add Bowmark's Weather Underground MCP server to my agent.

Functions

Open a function to see its parameters and run it with your own API key.

  • findNearbyStationsLists the personal weather stations (PWS) Weather Underground shows nearest a place.

    POST /v1/sites/wunderground/findNearbyStations

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/wunderground/findNearbyStations \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"place":"San Francisco, CA","options":{}}'
    Sign in to run
    Responsereturns WundergroundNearby
    interface WundergroundStation {
      stationId: string;
      name: string | null;
      latitude: number | null;
      longitude: number | null;
      distanceKm: number | null;
      distanceMi: number | null;
      lastReportAt: string | null; // ISO time of its last report
      qcStatus: number | null; // 1 passed quality control, 0 unchecked, -1 failed
      dashboardUrl: string;
    }
    
    interface WundergroundNearby {
      place: string | null;
      latitude: number;
      longitude: number;
      stations: WundergroundStation[];
    }
  • getAirportHistoryWeather Underground's historical weather for an airport on one past day.

    POST /v1/sites/wunderground/getAirportHistory

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/wunderground/getAirportHistory \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"airport":"KSFO","options":{"date":{"$daysFromNow":-2}}}'
    Sign in to run
    Responsereturns WundergroundAirportDay
    type WundergroundUnits = "imperial" | "metric";
    
    interface WundergroundAirportObservation {
      observedAt: string | null;
      conditions: string | null;
      temperature: number | null;
      dewPoint: number | null;
      feelsLike: number | null;
      humidity: number | null;
      windSpeed: number | null;
      windGust: number | null;
      windDirection: string | null;
      windDirectionDegrees: number | null;
      pressure: number | null;
      visibility: number | null;
      precipHourly: number | null;
      snowHourly: number | null;
      uvIndex: number | null;
      clouds: string | null;
    }
    
    interface WundergroundAirportDay {
      airport: string;
      name: string | null;
      city: string | null;
      country: string | null;
      date: string;
      units: WundergroundUnits;
      summary: { high: number | null; low: number | null; average: number | null; precipTotal: number | null; maxWindSpeed: number | null; observationCount: number };
      observations: WundergroundAirportObservation[];
      url: string;
    }
  • getCurrentConditionsCurrent conditions for a place as Weather Underground shows them.

    POST /v1/sites/wunderground/getCurrentConditions

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/wunderground/getCurrentConditions \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"place":"Chicago","options":{}}'
    Sign in to run
    Responsereturns WundergroundConditions
    type WundergroundUnits = "imperial" | "metric";
    
    interface WundergroundConditions {
      place: string | null;
      latitude: number;
      longitude: number;
      units: WundergroundUnits;
      observedAt: string | null;
      conditions: string | null;
      temperature: number | null;
      feelsLike: number | null;
      dewPoint: number | null;
      humidity: number | null;
      windSpeed: number | null;
      windGust: number | null;
      windDirection: string | null;
      pressure: number | null;
      pressureTrend: string | null;
      visibility: number | null;
      uvIndex: number | null;
      cloudCover: number | null;
      precipLastHour: number | null;
      precipLast24Hours: number | null;
      high24Hours: number | null;
      low24Hours: number | null;
      sunrise: string | null;
      sunset: string | null;
    }
  • getForecastWeather Underground's 10-day forecast for a place.

    POST /v1/sites/wunderground/getForecast

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/wunderground/getForecast \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"place":"Denver, CO","options":{"days":3}}'
    Sign in to run
    Responsereturns WundergroundForecast
    type WundergroundUnits = "imperial" | "metric";
    
    interface WundergroundForecastDay {
      date: string;
      dayOfWeek: string | null;
      narrative: string | null;
      high: number | null;
      low: number | null;
      precipAmount: number | null;
      snowAmount: number | null;
      sunrise: string | null;
      sunset: string | null;
      moonPhase: string | null;
      day: Record<string, unknown> | null;
      night: Record<string, unknown> | null;
    }
    
    interface WundergroundForecast {
      place: string | null;
      latitude: number;
      longitude: number;
      units: WundergroundUnits;
      days: WundergroundForecastDay[];
    }
  • getStationConditionsLive readings from one personal weather station.

    POST /v1/sites/wunderground/getStationConditions

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/wunderground/getStationConditions \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"stationId":"<stationId>","options":{}}'
    Sign in to run
    Responsereturns WundergroundStationNow
    type WundergroundUnits = "imperial" | "metric";
    
    interface WundergroundStationNow {
      stationId: string | null;
      observedAt: string | null; // ISO, UTC
      observedAtLocal: string | null;
      latitude: number | null;
      longitude: number | null;
      humidity?: number | null;
      winddir?: number | null;
      temp?: number | null; // current readings use temp/dewpt/windSpeed…
      tempHigh?: number | null; // history rows use tempHigh/tempLow/tempAvg…
      tempLow?: number | null;
      tempAvg?: number | null;
      precipTotal?: number | null;
      pressure?: number | null;
      units: WundergroundUnits;
      dashboardUrl: string;
      [key: string]: unknown;
    }
  • getStationHistoryRecorded history for one personal weather station on one past day.

    POST /v1/sites/wunderground/getStationHistory

    Parameters

    {date: string /* "YYYY-MM-DD", a past day */, granularity?: "hourly" | "daily", units?: WundergroundUnits}
    curl -X POST https://api.bowmark.ai/v1/sites/wunderground/getStationHistory \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"stationId":"<stationId>","options":{}}'
    Sign in to run
    Responsereturns WundergroundStationHistory
    type WundergroundUnits = "imperial" | "metric";
    
    interface WundergroundStationReading { // the station's own fields, unit block flattened in
      stationId: string | null;
      observedAt: string | null; // ISO, UTC
      observedAtLocal: string | null;
      latitude: number | null;
      longitude: number | null;
      humidity?: number | null;
      winddir?: number | null;
      temp?: number | null; // current readings use temp/dewpt/windSpeed…
      tempHigh?: number | null; // history rows use tempHigh/tempLow/tempAvg…
      tempLow?: number | null;
      tempAvg?: number | null;
      precipTotal?: number | null;
      pressure?: number | null;
      [key: string]: unknown;
    }
    
    interface WundergroundStationHistory {
      stationId: string;
      date: string;
      granularity: "hourly" | "daily";
      units: WundergroundUnits;
      observations: WundergroundStationReading[];
    }
  • getStationRecentDaysThe last 7 days of daily summaries for one personal weather station.

    POST /v1/sites/wunderground/getStationRecentDays

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/wunderground/getStationRecentDays \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"stationId":"ZZZNOSTATION9","options":{}}'
    Sign in to run
    Responsereturns WundergroundRecentDays
    type WundergroundUnits = "imperial" | "metric";
    
    interface WundergroundStationReading { // the station's own fields, unit block flattened in
      stationId: string | null;
      observedAt: string | null; // ISO, UTC
      observedAtLocal: string | null;
      latitude: number | null;
      longitude: number | null;
      humidity?: number | null;
      winddir?: number | null;
      temp?: number | null; // current readings use temp/dewpt/windSpeed…
      tempHigh?: number | null; // history rows use tempHigh/tempLow/tempAvg…
      tempLow?: number | null;
      tempAvg?: number | null;
      precipTotal?: number | null;
      pressure?: number | null;
      [key: string]: unknown;
    }
    
    interface WundergroundRecentDays {
      stationId: string;
      units: WundergroundUnits;
      days: WundergroundStationReading[];
    }
  • searchLocationsSearches Weather Underground for a city, postal code, airport or personal weather station.

    POST /v1/sites/wunderground/searchLocations

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/wunderground/searchLocations \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"query":"San Francisco"}'
    Sign in to run
    Responsereturns WundergroundSearch
    interface WundergroundLocation {
      name: string;
      type: string; // city · airport · postal · pws …
      city: string | null;
      region: string | null;
      country: string | null;
      countryCode: string | null;
      postalCode: string | null;
      latitude: number;
      longitude: number;
      timeZone: string | null;
      airportCode: string | null; // ICAO code, for an airport row
      nearestStationId: string | null;
      url: string | null;
    }
    
    interface WundergroundSearch {
      query: string;
      locations: WundergroundLocation[];
    }