nps_visitation
Pack: nps · Endpoint: https://gateway.pipeworx.io/nps/mcp
National park visitor statistics — how many people visited a park. Answers “how many people visited Yellowstone”, “NPS visitation numbers”, “annual visitors to Grand Canyon”, “busiest national park”, “park attendance by month”. Monthly + annual recreation and total visitor counts from the NPS Visitor Use Statistics service (keyless). Pass a park name or 4-letter code (e.g., YELL, GRCA, GRSM) and a year, or system_total:true for the whole national park system. Example: {“park”:“yellowstone”,“year”:2023}.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
park | string | no | Park name or 4-letter NPS unit code (e.g., “yellowstone”, “grand canyon”, “YELL”, “GRCA”, “GRSM”). Omit when system_total is true. |
year | number | no | Calendar year (default: most recent complete year). Data lags ~6-12 months. |
start_year | number | no | Optional range start year (inclusive). |
end_year | number | no | Optional range end year (inclusive). |
system_total | boolean | no | If true, return system-wide totals across all NPS units for the year instead of a single park. |
Example call
Arguments
{
"park": "yellowstone",
"year": 2023
}
curl
curl -X POST https://gateway.pipeworx.io/nps/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"nps_visitation","arguments":{"park":"yellowstone","year":2023}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('nps_visitation', {
"park": "yellowstone",
"year": 2023
});
More examples
{
"system_total": true,
"year": 2023
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"nps": {
"url": "https://gateway.pipeworx.io/nps/mcp"
}
}
}
See Getting Started for client-specific install steps.