# EPA Envirofacts MCP for AI Agents AI Agent Connect

> EPA Envirofacts MCP lets you pull federal environmental data directly into your workflow. Get UV forecasts, check industrial toxic release records, and query the EPA's DMAP database without manual searching. It's a direct line to official records on air, water, and waste.

## Overview
- **Category:** government-public-data
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_MUjPT9aewtl8KJkMMs8b36O0IfswJIUaoxUGiwfj/ai-agent-connect
- **Tags:** environmental-data, uv-index, toxic-release, superfund, public-health, data-query

## Description

Imagine you're trying to map out environmental risks for a new industrial site. Usually, this means jumping between multiple government websites, hunting for specific tables, and copy-pasting data into a spreadsheet. This Connector changes that by giving your agent a direct line to the EPA Envirofacts database. Instead of manually digging through the Toxic Release Inventory or Superfund records, you can just ask your agent to pull the specific site data you need. It handles the heavy lifting of navigating the EPA's complex data structures, whether you're looking for hourly UV radiation levels in a specific zip code or trying to run complex aggregations across different environmental metrics. Because Vinkius makes connecting these types of tools so straightforward, you can move from a research question to a data-backed report in minutes. It’s about getting the official numbers you need without the headache of navigating federal web portals.

## Tools

### uv_hourly_zip
Get hourly UV Index forecasts for a specific ZIP code. Use this for hyper-local UV monitoring.

### uv_hourly_city_state
Get hourly UV Index forecasts for a specific city and state. This is useful for local solar radiation planning.

### graphql_query
Query the EPA Envirofacts database using GraphQL. This allows for complex aggregations and cross-table analysis.

### rest_query
Query the EPA Envirofacts database using the REST API. Use this to search specific tables with custom filters.

### uv_daily_city_state
Get daily UV Index forecasts for a specific city and state. Use this for long-term solar radiation planning.

### uv_daily_zip
Get daily UV Index forecasts for a specific ZIP code. Use this for daily local UV level monitoring.

## Prompt Examples

**Prompt:** 
```
What's the UV forecast for zip code 90210 today?
```

**Response:** 
```
I've pulled the UV Index forecast for Beverly Hills (90210). 

**Today's Forecast:**
- **Morning:** 2 (Low)
- **Afternoon Peak:** 7 (High) at 1:00 PM
- **Evening:** 3 (Low)

Would you like me to check the forecast for tomorrow as well?
```

**Prompt:** 
```
Find all facilities in Miami listed in the Superfund database.
```

**Response:** 
```
I searched the SEMS database for environmental sites in Miami. Here are some notable entries:

| Site Name | Site ID |
| :--- | :--- |
| Miami Drum Services | 12345 |
| Munisport Landfill | 67890 |

Would you like the full environmental records for any of these specific IDs?
```

**Prompt:** 
```
How many TRI facilities are in Texas compared to California?
```

**Response:** 
```
I ran an aggregation query on the Toxic Release Inventory (TRI) database. 

**Facility Counts:**
- **Texas:** 1,542 facilities
- **California:** 1,210 facilities

Texas currently has 332 more TRI-reported facilities than California. Let me know if you need a breakdown by city.
```

## Capabilities

### Pull UV radiation forecasts
Get hourly or daily solar radiation levels for specific cities or zip codes.

### Search industrial site records
Query the Toxic Release Inventory and Superfund databases for specific facility data.

### Run complex data aggregations
Use GraphQL to perform multi-table analysis and cross-table queries across the EPA's DMAP API.

### Filter specific environmental tables
Search any table in the Envirofacts database using custom filters and operators via REST.

### Access official government records
Get verified data on air, water, and waste without needing to create separate accounts.

## Use Cases

### Mapping toxic release sites
A researcher needs to know every toxic release site in a specific county. They ask the agent to query the TRI database using rest_query to get a clean list.

### Creating worker safety plans
A safety officer needs to warn workers about high UV levels tomorrow. They ask for the uv_daily_city_state forecast to see the peak radiation hours.

### Building a pollution tracker
A developer is building a pollution tracking app. They use graphql_query to pull aggregated environmental metrics across multiple states.

### Verifying facility history
A consultant is checking a specific facility's history. They ask the agent to search the SEMS database for a site ID to find historical records.

## Benefits

- Skip the manual search: Get TRI and SEMS records instantly using rest_query instead of clicking through government portals.
- Accurate UV monitoring: Use uv_hourly_zip to get precise solar radiation data for specific locations.
- Complex data handling: Run multi-table queries using graphql_query to perform aggregations that would be hard to do manually.
- No registration hassle: Access public air, water, and waste records without needing to create individual government accounts.
- Speed up research: Environmental researchers can pull site-specific data for impact analysis in seconds rather than hours.

## How It Works

The bottom line is you get direct access to official US environmental data without needing to navigate government websites.

1. Subscribe to the EPA Envirofacts MCP on Vinkius.
2. Connect your preferred AI client to the Vinkius catalog.
3. Ask your agent to pull specific data like UV levels or facility records.

## Frequently Asked Questions

**Can I use the EPA Envirofacts MCP to see toxic waste records?**
Yes, you can access records from the Toxic Release Inventory and Superfund databases. This makes it easy to identify specific industrial sites and their environmental history.

**Does the EPA Envirofacts MCP require a login?**
No, you don't need a private API key for public EPA data. You can start querying records immediately after connecting the Connector to your client.

**Can I get UV forecasts for specific zip codes?**
Yes, you can get both hourly and daily UV forecasts. You can search by city and state or by a specific ZIP code to get localized radiation levels.

**How does the EPA Envirofacts MCP handle complex data queries?**
It supports complex queries through GraphQL. This means you can perform aggregations and analyze multiple tables at once rather than just pulling single records.

**Is the data in the EPA Envirofacts MCP updated regularly?**
The Connector pulls from the official EPA Envirofacts database. This ensures you are getting the most current government records available for public use.

**Can I use the EPA Envirofacts MCP for air and water quality research?**
Yes, the Connector provides access to official records on air, water, and waste. It's a great way to gather verified data for environmental research projects.

**How can I check the UV Index for a specific location?**
Use the `uv_hourly_zip` or `uv_hourly_city_state` tools. Simply provide a 5-digit US ZIP code or the city name and 2-letter state abbreviation to receive the latest hourly forecast data.

**Can I search for specific facilities in the EPA database?**
Yes! Use the `rest_query` tool. You can specify tables like 'tri.tri_facility' or 'sems.envirofacts_site' and apply filters using operators like 'equals' or 'contains' to find specific sites and their environmental records.

**Does this server support complex data aggregations?**
Absolutely. The `graphql_query` tool allows you to execute custom GraphQL strings to perform advanced data fetching, aggregations, and subqueries across the EPA's DMAP API infrastructure.