# National Park Service parks, campgrounds and alerts

US National Park Service data: parks and sites, campgrounds, and current alerts such as closures and hazards.

- No API key needed to call. The provider needs an API key; AgentNative holds it.
- Source: [National Park Service API](https://www.nps.gov/subjects/developer/index.htm)
- Licence and terms: [US federal work, 17 U.S.C. 105; NPS developer terms apply](https://www.nps.gov/subjects/developer/api-documentation.htm)
- Coverage: United States
- Answers are shared and cached for 3600 seconds.

## Questions you can ask

- Which National Park Service sites match yosemite? (operation `nps_parks`)
- Which campgrounds does Yosemite have? (operation `nps_campgrounds`)
- What alerts are active at Yosemite? (operation `nps_alerts`)

## Operations

### Search National Park Service sites

Answers: which National Park Service parks and sites match a search term or sit in a state? Returns code, name, designation, states, coordinates, description and website.

- `q`: optional, string, Search text.
- `state_code`: optional, string, Two-letter state code.
- `limit`: optional, integer, default 5

Example: Which National Park Service sites match yosemite?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"nps","operation":"nps_parks","params":{"q":"yosemite","limit":3}}}
```

Over HTTP:

```
curl '/v1/connectors/nps/nps_parks?q=yosemite&limit=3'
```

### National Park Service campgrounds

Answers: which campgrounds does a park have, and how many sites, fees and reservation links? Filter by park code \(for example yose\) or state.

- `park_code`: optional, string, Four-letter park code.
- `state_code`: optional, string, Two-letter state code.
- `limit`: optional, integer, default 5

Example: Which campgrounds does Yosemite have?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"nps","operation":"nps_campgrounds","params":{"park_code":"yose","limit":3}}}
```

Over HTTP:

```
curl '/v1/connectors/nps/nps_campgrounds?park_code=yose&limit=3'
```

### National Park Service alerts

Answers: are there current closures, cautions or dangers at a park? Returns alert title, category, description and last-changed date.

- `park_code`: optional, string, Four-letter park code.
- `limit`: optional, integer, default 5

Example: What alerts are active at Yosemite?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"nps","operation":"nps_alerts","params":{"park_code":"yose","limit":3}}}
```

Over HTTP:

```
curl '/v1/connectors/nps/nps_alerts?park_code=yose&limit=3'
```

## Source notice

Source: National Park Service. US federal government works are not subject to copyright: 17 U.S.C. 105 states "Copyright protection under this title is not available for any work of the United States Government". Not endorsed by National Park Service.

## 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.
