# Stormglass Io — how to use (mcp.ai)

Connect your Stormglass Io account and use 6 tools for developer tools straight from your AI agent. Connect with your own API key. stormglass.io provides a global weather API offering high-resolution forecasts and historical data from trusted meteorological institutions.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_stormglass_io?ms=1787296080000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `stormglass_io_get_elevation_point`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/stormglass_io`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/stormglass_io/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/stormglass_io/get/elevation/point` — Tool to fetch elevation data for a single geographic point. Use when you need bathymetry or topography for a specific latitude/longitude.
  - body: { lat: number, lng: number }
- `POST https://api.mcp.ai/api/stormglass_io/get/tide/extremes/point` — Tool to retrieve high and low tide times with corresponding sea level heights for a coordinate. Returns tide extreme points (high/low) for the specified time interval.
  - body: { end?: string, lat: number, lng: number, datum?: string, start?: string }
- `POST https://api.mcp.ai/api/stormglass_io/get/tide/stations/area` — Tool to list tide stations within a defined geographic bounding box. Use when you need stations in a specific region defined by coordinates.
  - body: { box: string }
- `POST https://api.mcp.ai/api/stormglass_io/get/tide/stations/list` — Tool to list all available tide stations. Use when you need a catalog of stations before querying tide data.
- `POST https://api.mcp.ai/api/stormglass_io/stormglass/get/solar/point` — Tool to fetch solar irradiation and sun-position data for a specific coordinate. Use after confirming lat/lng, desired parameters, and optional ISO-formatted start/end.
  - body: { end?: string, lat: number, lng: number, start?: string, params: string[], source?: string }
- `POST https://api.mcp.ai/api/stormglass_io/stormglass/get/weather/point` — Tool to fetch marine and land weather data for a specific coordinate. Use after confirming latitude, longitude, and desired parameters.
  - body: { end?: string, lat: number, lng: number, start?: string, params: string[], source?: string }

## Example prompts
- "What can I do in Stormglass Io?"
- "Show me a summary of my Stormglass Io account"

## More
- Page: https://mcp.ai/stormglass_io
- Agent spec (llms.txt): https://mcp.ai/stormglass_io/llms.txt
- Postman collection: https://mcp.ai/stormglass_io/postman.json
