# Weatherbit MCP for AI Agents AI Agent Connect

> Weatherbit gives your AI agent live access to global weather data. It handles everything from 16-day forecasts and real-time lightning strikes to hyper-local air quality metrics and severe weather alerts. Use it to ground your agent's responses in actual environmental conditions.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_OEjYQu4VfNgAM3KkqDKvQitVnJSqamZE5FKmLBrx/ai-agent-connect
- **Tags:** weather-forecast, air-quality, weather-alerts, meteorology, lightning-data

## Description

When you connect Weatherbit to your agent, you're giving it a window into the physical world. Instead of your agent guessing what the weather might be like, it can pull live data for a specific city or set of coordinates. This means your agent can actually tell a user if it's going to rain in ten minutes or check the air quality for a hiking trip next weekend. It handles the heavy lifting of fetching 16-day outlooks, tracking lightning strikes in real-time, and monitoring local severe weather alerts from official agencies. You don't have to copy-paste data from multiple tabs anymore. Because this Connector is part of the Vinkius catalog, you get a reliable way to feed accurate environmental context into your workflows without managing complex API calls yourself. It turns your agent into a tool that knows the difference between a sunny day and a hazardous storm. You can use it to build smarter travel apps, more reliable logistics systems, or even just to help people plan their backyard gatherings with actual data. It takes the guesswork out of environmental planning by putting the most relevant metrics right into your agent's context. It makes the difference between an agent that just talks and one that actually knows what's happening outside your door.

## Tools

### get_alerts
Get active severe weather alerts for a city or coordinate. This lets your agent warn users about local hazards like storms or floods.

### get_current_airquality
Get current AQI and pollutant levels like PM10 and NO2. This helps your agent provide health-focused air quality data for any location.

### get_current_lightning
Locate the nearest lightning strikes using latitude and longitude. Your agent can use this to provide real-time safety warnings during storms.

### get_current_weather
Retrieve current temperature, wind, and precipitation for a location. It gives your agent a quick snapshot of what the weather is like right now.

### get_daily_forecast
Pull a 16-day daily weather forecast for a specific city or area. This helps your agent plan long-term schedules based on the weather.

### get_daily_history
Fetch historical daily weather data for a specific date range. Your agent can use this to analyze past weather patterns for research.

### get_geocode
Convert a city name or postal code into geographic coordinates. This allows your agent to find accurate weather data for any town or zip code.

### get_hourly_forecast
Get a 10-day hourly weather forecast for a location. Your agent can use this to show how conditions will change hour by hour.

### get_hourly_history
Retrieve historical hourly weather data for a specific period. This is useful for looking back at specific hourly trends in the past.

### get_minutely_forecast
Get a 60-minute minute-by-minute precipitation forecast. Your agent can use this to tell people exactly when it will start raining.

### get_normals
Access climate normals for a specific date range from 1991-2020. This is perfect for environmental studies and climate research.

### get_subhourly_history
Requires lat, lon, start_date, end_date.

Get sub-hourly historical weather

### get_subscription_usage
Check your current Weatherbit API subscription limits. This lets your agent monitor your account usage and status.

### get_airquality_forecast
Get a 3-day hourly air quality forecast for a location. Your agent can use this to provide health-conscious planning for outdoor activities.

## Prompt Examples

**Prompt:** 
```
Is it safe to go for a hike in Denver right now?
```

**Response:** 
```
### Current Conditions in Denver

| Metric | Value |
| :--- | :--- |
| **Temperature** | 68°F |
| **Wind Speed** | 12 mph |
| **Precipitation** | 0% |
| **Air Quality (AQI)** | 42 (Good) |

**Safety Summary:** The weather is currently clear and the air quality is good for outdoor activity. No severe weather alerts are active at this time.
```

**Prompt:** 
```
Give me the weather outlook for my trip to London next week.
```

**Response:** 
```
**London 16-Day Forecast Outlook**

* **Mon:** 15°C, Partly Cloudy
* **Tue:** 14°C, Light Rain
* **Wed:** 16°C, Sunny
* **Thu:** 17°C, Sunny
* **Fri:** 15°C, Cloudy

*Note: Temperatures will remain consistent with moderate humidity throughout the week.*
```

**Prompt:** 
```
Are there any severe weather warnings for Miami?
```

**Response:** 
```
### Active Weather Alerts for Miami

⚠️ **Yellow Alert**
* **Type:** Heavy Rainfall
* **Expected Start:** 6:00 PM tonight
* **Details:** Local agencies report a high probability of heavy rainfall moving into the area from the east. Stay indoors if possible during peak hours.
```

## Capabilities

### Get live weather updates
Pull temperature, wind, and precipitation data for any location.

### Track lightning strikes
Find the exact coordinates of the nearest lightning hits.

### Monitor air quality
Check AQI and pollutants like PM2.5 for a specific area.

### Pull long-term forecasts
Access daily weather outlooks for the next 16 days.

### Check severe weather alerts
Retrieve active warnings from local weather agencies.

### View precipitation minutes
See a minute-by-minute breakdown of upcoming rain.

## Use Cases

### Outdoor Event Planning
An organizer asks the agent to check if a park is safe for a concert. The agent uses get_alerts and get_current_weather to confirm no severe storms are pending.

### Logistics Routing
A fleet manager asks the agent to identify high-risk areas for drivers. The agent uses get_current_lightning and get_current_weather to flag dangerous conditions.

### Health & Wellness
A user wants to know if it's safe to go for a run. The agent uses get_current_airquality to provide the current AQI and pollutant levels.

### Travel Itinerary
A traveler asks for a two-week weather outlook for a trip to Japan. The agent uses get_daily_forecast to build a day-by-day plan.

## Benefits

- Stop guessing on weather: Use get_current_weather to get exact temperature and wind data for any city instantly.
- Plan further ahead: Access 16-day forecasts with get_daily_forecast to help with long-term scheduling.
- Stay safe: Use get_alerts to pull real-time severe weather warnings from local agencies automatically.
- Monitor air quality: Check current and 3-day forecasted air quality with get_airquality_forecast for health-conscious planning.
- Track lightning: Get precise coordinates of nearby strikes using get_current_lightning for safety-critical applications.
- Get historical context: Use get_daily_history to pull past weather data for research or trend analysis.

## How It Works

The bottom line is your agent gets real-time environmental data without you having to do any manual searching.

1. Subscribe to the Weatherbit MCP on Vinkius.
2. Provide your Weatherbit API key in the configuration.
3. Ask your AI client for weather data or forecasts in plain English.

## Frequently Asked Questions

**Can Weatherbit provide real-time lightning data?**
Yes, it pulls the nearest lightning strikes with exact coordinates. This helps your agent provide real-time safety warnings during active storms.

**How does Weatherbit handle air quality?**
It provides current AQI and 3-day forecasts. This allows your agent to give health-focused air quality data for any specific city or area.

**Can I use Weatherbit for historical weather?**
Yes, it can pull daily and hourly history. This is great for looking back at past weather patterns for research or trend analysis.

**Does Weatherbit offer long-term forecasts?**
It provides a 16-day daily forecast. This makes it a solid choice for long-term planning and scheduling outdoor activities.

**Can Weatherbit find severe weather alerts?**
Yes, it pulls active warnings from local agencies. Your agent can use this to notify users about hazards like storms, floods, or high winds.

**How accurate is Weatherbit for precipitation?**
It offers 60-minute minutely precipitation forecasts. This is perfect for knowing exactly when rain will start during your day.

**Can I get a detailed hourly forecast for the next few days?**
Yes, use the `get_hourly_forecast` tool with lat/lon coordinates to get up to 240 hours of detailed weather data.

**How do I check for severe weather warnings in my city?**
Use the `get_alerts` tool with your city name or postal code to retrieve active alerts from local meteorological agencies.

**Can the agent monitor air quality levels?**
Absolutely. Use `get_current_airquality` for real-time data or `get_airquality_forecast` for a 3-day hourly outlook on pollutants like PM2.5 and Ozone.