list_parks
Pack: nps · Endpoint: https://gateway.pipeworx.io/nps/mcp
List or search NPS parks. Filter by free-text query, state code (2-letter, comma-separated), or parkCode list. Returns full name, description, designation, states, GPS, address, official URL.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Free-text search |
state | string | no | 2-letter state code(s), comma-separated (e.g., “CA,NV”) |
park_code | string | no | Specific parkCode(s), comma-separated (e.g., “yose,grca”) |
limit | number | no | Results (1-500, default 25) |
start | number | no | 0-based offset (default 0) |
Example call
Arguments
{
"query": "Yellowstone"
}
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":"list_parks","arguments":{"query":"Yellowstone"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('list_parks', {
"query": "Yellowstone"
});
More examples
{
"state": "CA,NV",
"limit": 50
}
Response shape
Always returns: total, returned, parks
| Field | Type | Description |
|---|---|---|
total | number | Total number of parks matching criteria |
returned | number | Number of parks in this response |
parks | array | List of parks |
Full JSON Schema
{
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total number of parks matching criteria"
},
"returned": {
"type": "number",
"description": "Number of parks in this response"
},
"parks": {
"type": "array",
"description": "List of parks",
"items": {
"type": "object",
"properties": {
"park_code": {
"type": [
"string",
"null"
],
"description": "4-letter NPS park code"
},
"full_name": {
"type": [
"string",
"null"
],
"description": "Full official name of park"
},
"name": {
"type": [
"string",
"null"
],
"description": "Short name of park"
},
"designation": {
"type": [
"string",
"null"
],
"description": "Park designation (e.g., National Park)"
},
"description": {
"type": [
"string",
"null"
],
"description": "Park description"
},
"url": {
"type": [
"string",
"null"
],
"description": "Official NPS website URL"
},
"states": {
"type": [
"string",
"null"
],
"description": "State codes where park is located"
},
"latitude": {
"type": [
"number",
"null"
],
"description": "Latitude coordinate"
},
"longitude": {
"type": [
"number",
"null"
],
"description": "Longitude coordinate"
}
}
}
}
},
"required": [
"total",
"returned",
"parks"
]
}
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.