Integration

WeatherAPI integration

Weather and geolocation data API. Get current conditions, forecasts, historical data, and alerts. Build weather apps, travel planners, and location-aware applications.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in WeatherAPI.Built from the 11 WeatherAPI tools below, on the connection you add once.

Common WeatherAPI use cases

  • Sports apps
  • Auto-location
  • Trip planning
  • Time conversion
  • Weather display
  • Sailing planning
  • Historical analysis
  • Safety applications
  • Sunrise/sunset times
  • Location autocomplete

What you can do with WeatherAPI

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Alert, 1 operation

  • get_alertsGet alertsGETAgents: ask firstRetrieves active weather alerts for a location.

Astronomy, 1 operation

  • get_astronomyGet astronomyGETAgents: ask firstRetrieves astronomy data for a location and date.

Forecast, 1 operation

  • get_forecastGet forecastGETAgents: ask firstRetrieves weather forecast for a location.

Future, 1 operation

  • get_futureGet futureGETAgents: ask firstRetrieves long-range weather forecast 14-300 days ahead.

History, 1 operation

  • get_historyGet historyGETAgents: ask firstRetrieves historical weather data for a location.

Ip, 1 operation

  • get_ip_lookupGet ip lookupGETAgents: ask firstRetrieves location information for an IP address.

Location, 1 operation

  • search_locationSearch locationGETAgents: ask firstSearches for locations matching a query.

Marine, 1 operation

  • get_marineGet marineGETAgents: ask firstRetrieves marine weather and tide data for a coastal location.

Sports, 1 operation

  • get_sportsGet sportsGETAgents: ask firstRetrieves upcoming sports events near a location.

Timezone, 1 operation

  • get_timezoneGet timezoneGETAgents: ask firstRetrieves timezone information for a location.

Weather, 1 operation

  • get_currentGet currentGETAgents: ask firstRetrieves current weather conditions for a location.

Use WeatherAPI from Claude Code, Cursor or Codex

Connect WeatherAPI in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its WeatherAPI operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect WeatherAPI

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect WeatherAPI once

    Add your WeatherAPI connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

WeatherAPI integration FAQ

What can you do with the WeatherAPI integration?

LiveContext exposes 11 operations on WeatherAPI, covering alert, astronomy, forecast and future. Common uses include Sports apps, Auto-location and Trip planning.

Popular integrations

Browse the whole catalog