{"openapi":"3.1.0","info":{"title":"BaroWatch Barometric Pressure & Migraine/Fishing Telemetry API","version":"1.0.0","description":"Read-only 96-hour barometric pressure-drop velocity (Δ3h/Δ6h), high-altitude MSL vs ambient surface pressure, localized US AQI / Canadian AQHI, fishing pre-front bite windows, and .ics alert feeds powered by Open-Meteo and MET Norway Locationforecast 2.0. Informational atmospheric telemetry sourced from Open-Meteo, MET Norway Locationforecast 2.0, EPA AirNow, and NOAA NWS. Not medical advice or a substitute for professional care.","contact":{"name":"BaroWatch (Luli Labs Limited)","url":"https://barowatch.com/docs","email":"hello@barowatch.com"},"license":{"name":"CC BY 4.0 (Telemetry Attribution)","url":"https://creativecommons.org/licenses/by/4.0/"}},"servers":[{"url":"https://barowatch.com","description":"BaroWatch Production Server"}],"paths":{"/mcp":{"get":{"operationId":"discoverMcpServer","summary":"Discover BaroWatch Remote MCP Server capabilities and tools","responses":{"200":{"description":"MCP server discovery metadata","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"protocolVersion":{"type":"string","example":"2025-03-26"},"endpoint":{"type":"string","format":"uri"},"readOnly":{"type":"boolean"}}}}}}}},"post":{"operationId":"invokeMcpJsonRpc","summary":"Invoke BaroWatch Remote MCP Streamable HTTP JSON-RPC 2.0 endpoint","description":"Supports initialize, notifications/initialized, ping, tools/list, and tools/call for get_migraine_pressure_risk, get_72h_pressure_drops, get_fishing_bite_window, export_alert_ics_url. Rate limit: 60 req/min/IP.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","method"],"properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"null"}]},"method":{"type":"string","enum":["initialize","notifications/initialized","ping","tools/list","tools/call"]},"params":{"type":"object","additionalProperties":true}}}}}},"responses":{"200":{"description":"JSON-RPC 2.0 result or error envelope","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"Notification accepted"},"429":{"description":"Rate limit exceeded (Retry-After header set)"}}}},"/api/lookup":{"get":{"operationId":"lookupBarometricLocation","summary":"Fetch 96-hour barometric pressure-drop risk, AQI/AQHI & fishing bite forecast for any city or US ZIP","parameters":[{"name":"q","in":"query","required":false,"description":"City name, city + state/country, or 5-digit US ZIP code (e.g. \"London\", \"Denver, CO\", \"80202\").","schema":{"type":"string"}},{"name":"slug","in":"query","required":false,"description":"Canonical location slug (e.g. \"us/denver-co\", \"gb/london-uk\", \"ca/toronto-on\").","schema":{"type":"string"}}],"responses":{"200":{"description":"Resolved barometric telemetry payload","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"entity":{"type":"object"},"disambiguations":{"type":"array","items":{"type":"object"}}}}}}},"404":{"description":"Location could not be resolved"}}}},"/api/calendar/{country}/{slug}.ics":{"get":{"operationId":"exportCalendarIcsFeed","summary":"Download or subscribe to an iCalendar (.ics) feed with 2-hour pre-front alarms","parameters":[{"name":"country","in":"path","required":true,"schema":{"type":"string","example":"us"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string","example":"denver-co"}},{"name":"mode","in":"query","required":false,"schema":{"type":"string","enum":["migraine","fishing"],"default":"migraine"}},{"name":"threshold","in":"query","required":false,"description":"Minimum 6-hour drop in hPa (1.0–12.0).","schema":{"type":"number","default":4.5}}],"responses":{"200":{"description":"RFC 5545 iCalendar feed","content":{"text/calendar":{"schema":{"type":"string"}}}},"404":{"description":"Location not found"}}}}}}