get_park
Pack: nps · Endpoint: https://gateway.pipeworx.io/nps/mcp
Fetch a single park by parkCode. Returns full description, designation, activities, topics, address, contacts, operating hours, entrance fees, and image gallery.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
park_code | string | yes | 4-letter NPS parkCode (e.g., “yose”, “grca”, “yell”) |
Example call
Arguments
{
"park_code": "yell"
}
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":"get_park","arguments":{"park_code":"yell"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_park', {
"park_code": "yell"
});
More examples
{
"park_code": "yose"
}
Response shape
Always returns: park_code, full_name, name, description
| Field | Type | Description |
|---|---|---|
park_code | string | null | 4-letter NPS park code |
full_name | string | null | Full official name of park |
name | string | null | Short name of park |
designation | string | null | Park designation |
description | string | null | Detailed park description |
url | string | null | Official NPS website URL |
states | string | null | State codes where park is located |
latitude | number | null | Latitude coordinate |
longitude | number | null | Longitude coordinate |
weather_info | string | null | Weather information for the park |
directions_info | string | null | Directions and access information |
addresses | array | Physical addresses |
operating_hours | array | Operating hours information |
entrance_fees | array | Entrance fee information |
activities | array | Activities available in the park |
topics | array | Topics related to the park |
images | array | Park images |
Full JSON Schema
{
"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"
},
"description": {
"type": [
"string",
"null"
],
"description": "Detailed 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"
},
"weather_info": {
"type": [
"string",
"null"
],
"description": "Weather information for the park"
},
"directions_info": {
"type": [
"string",
"null"
],
"description": "Directions and access information"
},
"addresses": {
"type": "array",
"description": "Physical addresses",
"items": {
"type": "object",
"properties": {
"line1": {
"type": [
"string",
"null"
],
"description": "Address line 1"
},
"city": {
"type": [
"string",
"null"
],
"description": "City"
},
"stateCode": {
"type": [
"string",
"null"
],
"description": "State code"
},
"postalCode": {
"type": [
"string",
"null"
],
"description": "Postal code"
}
}
}
},
"operating_hours": {
"type": "array",
"description": "Operating hours information",
"items": {
"type": "object",
"properties": {
"name": {
"type": [
"string",
"null"
],
"description": "Name of operating hours entry"
},
"description": {
"type": [
"string",
"null"
],
"description": "Description of operating hours"
}
}
}
},
"entrance_fees": {
"type": "array",
"description": "Entrance fee information",
"items": {
"type": "object",
"properties": {
"title": {
"type": [
"string",
"null"
],
"description": "Fee type title"
},
"cost": {
"type": [
"string",
"null"
],
"description": "Fee cost"
},
"description": {
"type": [
"string",
"null"
],
"description": "Fee description"
}
}
}
},
"activities": {
"type": "array",
"description": "Activities available in the park",
"items": {
"type": "string"
}
},
"topics": {
"type": "array",
"description": "Topics related to the park",
"items": {
"type": "string"
}
},
"images": {
"type": "array",
"description": "Park images",
"items": {
"type": "object",
"properties": {
"url": {
"type": [
"string",
"null"
],
"description": "Image URL"
},
"title": {
"type": [
"string",
"null"
],
"description": "Image title"
},
"alt": {
"type": [
"string",
"null"
],
"description": "Alt text for accessibility"
}
}
}
}
},
"required": [
"park_code",
"full_name",
"name",
"description"
]
}
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.