# Alternative Fuels Data Center: charging and fuel stations, incentives

US Department of Energy Alternative Fuels Data Center: electric vehicle charging and alternative fuel stations near a place, station counts by state and fuel, and transportation incentives and laws.

- No API key needed to call. The provider needs an API key; AgentNative holds it.
- Source: [National Laboratory of the Rockies \(formerly NREL\) developer APIs](https://developer.nlr.gov/)
- Licence and terms: [US Department of Energy laboratory data; terms not verified](https://developer.nrel.gov/docs/terms-of-service/)
- Coverage: United States
- Answers are shared and cached for 3600 seconds.

## Questions you can ask

- Where are the nearest EV chargers to downtown San Francisco? (operation `afdc_stations_nearest`)
- How many EV charging stations are open in California? (operation `afdc_station_counts`)
- Which incentives and laws for electric vehicles apply in California? (operation `afdc_incentives_laws`)
- How much electricity would a 4 kW solar array produce near Boulder, Colorado? (operation `pvwatts_estimate`)
- Which utility serves latitude 35, longitude -85 and what are its rates? (operation `utility_rates_by_location`)
- What is the average solar resource near Boulder, Colorado? (operation `solar_resource_by_location`)

## Operations

### Nearest EV charging and alternative fuel stations

Answers: where are the nearest charging or alternative fuel stations to a latitude and longitude? Returns name, address, distance, fuel type, EV connector types and access.

- `latitude`: required, number, Latitude.
- `longitude`: required, number, Longitude.
- `fuel_type`: optional, string, ELEC \| E85 \| CNG \| LNG \| LPG \| BD \| HY \| RD, default ELEC, ELEC electric, E85 ethanol, CNG, LNG, LPG propane, BD biodiesel, HY hydrogen, RD renewable diesel.
- `radius`: optional, number, default 10, Search radius in miles.
- `limit`: optional, integer, default 5

Example: Where are the nearest EV chargers to downtown San Francisco?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"nrel_afdc","operation":"afdc_stations_nearest","params":{"latitude":37.7749,"longitude":-122.4194,"limit":3}}}
```

Over HTTP:

```
curl '/v1/connectors/nrel_afdc/afdc_stations_nearest?latitude=37.7749&longitude=-122.4194&limit=3'
```

### Alternative fuel station counts by state

Answers: how many stations of a fuel type are open in a state, and how many EV charging ports does it have?

- `state`: required, string, Two-letter state code.
- `fuel_type`: optional, string, ELEC \| E85 \| CNG \| LNG \| LPG \| BD \| HY \| RD, default ELEC

Example: How many EV charging stations are open in California?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"nrel_afdc","operation":"afdc_station_counts","params":{"state":"CA","fuel_type":"ELEC"}}}
```

Over HTTP:

```
curl '/v1/connectors/nrel_afdc/afdc_station_counts?state=CA&fuel_type=ELEC'
```

### Transportation incentives and laws

Answers: which incentives and laws apply to alternative fuel vehicles and charging in a state? Returns title, type, jurisdiction and summary.

- `jurisdiction`: optional, string, Two-letter state code.
- `limit`: optional, integer, default 5

Example: Which incentives and laws for electric vehicles apply in California?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"nrel_afdc","operation":"afdc_incentives_laws","params":{"jurisdiction":"CA","limit":3}}}
```

Over HTTP:

```
curl '/v1/connectors/nrel_afdc/afdc_incentives_laws?jurisdiction=CA&limit=3'
```

### Solar PV energy production estimate

Answers: how much AC electricity would a rooftop or ground solar array produce per year and per month at a location \(PVWatts v8\)?

- `lat`: required, number, Latitude.
- `lon`: required, number, Longitude.
- `system_capacity`: optional, number, default 4, DC system size in kW.
- `azimuth`: optional, number, default 180
- `tilt`: optional, number, default 20
- `array_type`: optional, string, 0 \| 1 \| 2 \| 3 \| 4, default 1, 0 fixed open rack, 1 fixed roof mount, 2 one-axis, 3 one-axis backtracking, 4 two-axis.
- `module_type`: optional, string, 0 \| 1 \| 2, default 0, 0 standard, 1 premium, 2 thin film.
- `losses`: optional, number, default 14

Example: How much electricity would a 4 kW solar array produce near Boulder, Colorado?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"nrel_afdc","operation":"pvwatts_estimate","params":{"lat":40,"lon":-105,"system_capacity":4}}}
```

Over HTTP:

```
curl '/v1/connectors/nrel_afdc/pvwatts_estimate?lat=40&lon=-105&system_capacity=4'
```

### Electric utility and retail rates at a location

Answers: which electric utility serves a latitude and longitude and what are its average residential, commercial and industrial rates in dollars per kWh?

- `lat`: required, number, Latitude.
- `lon`: required, number, Longitude.

Example: Which utility serves latitude 35, longitude -85 and what are its rates?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"nrel_afdc","operation":"utility_rates_by_location","params":{"lat":35,"lon":-85}}}
```

Over HTTP:

```
curl '/v1/connectors/nrel_afdc/utility_rates_by_location?lat=35&lon=-85'
```

### Solar resource averages at a location

Answers: what are the annual and monthly average solar radiation figures \(direct normal, global horizontal, tilt at latitude\) at a location, in kWh per square metre per day?

- `lat`: required, number, Latitude.
- `lon`: required, number, Longitude.

Example: What is the average solar resource near Boulder, Colorado?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"nrel_afdc","operation":"solar_resource_by_location","params":{"lat":40,"lon":-105}}}
```

Over HTTP:

```
curl '/v1/connectors/nrel_afdc/solar_resource_by_location?lat=40&lon=-105'
```

## Source notice

Source: National Laboratory of the Rockies \(formerly NREL\), US Department of Energy. Not endorsed by DOE or the laboratory. Terms were not quoted here: see the terms page.

## Missing something?

Tell us what data, endpoint or feature you wish we had. It is free and needs no signup: call the MCP tool request_capability, or POST a short description to https://agentnative.dennery.ai/v1/capabilities/request.
