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.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-wunderground https://api.bowmark.ai/mcp/site/wundergroundPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-wunderground": {
"url": "https://api.bowmark.ai/mcp/site/wunderground"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-wunderground","type":"http","url":"https://api.bowmark.ai/mcp/site/wunderground"}'Run this in a terminal.
codex mcp add bowmark-wunderground --url https://api.bowmark.ai/mcp/site/wundergroundIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/wundergroundIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/wundergroundAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/wundergroundFunctions
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":{}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wunderground.findNearbyStations("San Francisco, CA", {});import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wunderground.findNearbyStations("San Francisco, CA", {}))Responsereturns WundergroundNearbyinterface 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}}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wunderground.getAirportHistory("KSFO", { date: { $daysFromNow: -2 } });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wunderground.getAirportHistory("KSFO", {"date": {"$daysFromNow": -2}}))Responsereturns WundergroundAirportDaytype 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":{}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wunderground.getCurrentConditions("Chicago", {});import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wunderground.getCurrentConditions("Chicago", {}))Responsereturns WundergroundConditionstype 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}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wunderground.getForecast("Denver, CO", { days: 3 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wunderground.getForecast("Denver, CO", {"days": 3}))Responsereturns WundergroundForecasttype 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":{}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wunderground.getStationConditions("<stationId>", {});import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wunderground.getStationConditions("<stationId>", {}))Responsereturns WundergroundStationNowtype 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":{}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wunderground.getStationHistory("<stationId>", {});import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wunderground.getStationHistory("<stationId>", {}))Responsereturns WundergroundStationHistorytype 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":{}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wunderground.getStationRecentDays("ZZZNOSTATION9", {});import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wunderground.getStationRecentDays("ZZZNOSTATION9", {}))Responsereturns WundergroundRecentDaystype 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"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.wunderground.searchLocations("San Francisco");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.wunderground.searchLocations("San Francisco"))Responsereturns WundergroundSearchinterface 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[]; }