list_campgrounds

Pack: nps · Endpoint: https://gateway.pipeworx.io/nps/mcp

Campgrounds inside a park or state. Returns name, description, RV/tent capacity, amenities, reservation info, GPS.

Parameters

NameTypeRequiredDescription
park_codestringnoparkCode (optional)
statestringno2-letter state code (optional)
querystringnoFree-text query (optional)
limitnumberno1-500 (default 25)

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":"list_campgrounds","arguments":{"park_code":"yell"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('list_campgrounds', {
  "park_code": "yell"
});

More examples

{
  "state": "UT",
  "limit": 100
}

Response shape

Always returns: total, returned, campgrounds

FieldTypeDescription
totalnumberTotal number of campgrounds
returnednumberNumber of campgrounds in this response
campgroundsarrayList of campgrounds
Full JSON Schema
{
  "type": "object",
  "properties": {
    "total": {
      "type": "number",
      "description": "Total number of campgrounds"
    },
    "returned": {
      "type": "number",
      "description": "Number of campgrounds in this response"
    },
    "campgrounds": {
      "type": "array",
      "description": "List of campgrounds",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Campground ID"
          },
          "park_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "Park code"
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Campground name"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Campground description"
          },
          "reservation_info": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reservation information"
          },
          "fees": {
            "type": "array",
            "description": "Camping fees",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Fee type title"
                },
                "cost": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Fee cost"
                }
              }
            }
          },
          "total_sites": {
            "type": [
              "string",
              "null"
            ],
            "description": "Total number of campsites"
          },
          "rv_sites": {
            "type": [
              "string",
              "null"
            ],
            "description": "Number of RV sites"
          },
          "tent_only": {
            "type": [
              "string",
              "null"
            ],
            "description": "Number of tent-only sites"
          },
          "group_sites": {
            "type": [
              "string",
              "null"
            ],
            "description": "Number of group sites"
          },
          "walk_or_boat_to": {
            "type": [
              "string",
              "null"
            ],
            "description": "Walk or boat to sites count"
          },
          "wheelchair_access": {
            "type": [
              "string",
              "null"
            ],
            "description": "Wheelchair accessibility info"
          },
          "latitude": {
            "type": [
              "number",
              "null"
            ],
            "description": "Latitude coordinate"
          },
          "longitude": {
            "type": [
              "number",
              "null"
            ],
            "description": "Longitude coordinate"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "Campground URL"
          }
        }
      }
    }
  },
  "required": [
    "total",
    "returned",
    "campgrounds"
  ]
}

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