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

NameTypeRequiredDescription
park_codestringyes4-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

FieldTypeDescription
park_codestring | null4-letter NPS park code
full_namestring | nullFull official name of park
namestring | nullShort name of park
designationstring | nullPark designation
descriptionstring | nullDetailed park description
urlstring | nullOfficial NPS website URL
statesstring | nullState codes where park is located
latitudenumber | nullLatitude coordinate
longitudenumber | nullLongitude coordinate
weather_infostring | nullWeather information for the park
directions_infostring | nullDirections and access information
addressesarrayPhysical addresses
operating_hoursarrayOperating hours information
entrance_feesarrayEntrance fee information
activitiesarrayActivities available in the park
topicsarrayTopics related to the park
imagesarrayPark 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.

Regenerated from source · build July 6, 2026