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

NameTypeRequiredDescription
querystringnoFree-text search
statestringno2-letter state code(s), comma-separated (e.g., “CA,NV”)
park_codestringnoSpecific parkCode(s), comma-separated (e.g., “yose,grca”)
limitnumbernoResults (1-500, default 25)
startnumberno0-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

FieldTypeDescription
totalnumberTotal number of parks matching criteria
returnednumberNumber of parks in this response
parksarrayList 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.

Regenerated from source · build July 6, 2026