Skip to main content
Glama
National Parks MCP Server

National Parks MCP Server

National Parks MCP Server

MCP Server for the National Park Service (NPS) API, providing real-time information about U.S. National Parks, including park details, alerts, and activities.

Tools

  1. findParks

    • Search for national parks based on various criteria

    • Inputs:

      • stateCode (optional string): Filter parks by state code (e.g., "CA" for California). Multiple states can be comma-separated (e.g., "CA,OR,WA")

      • q (optional string): Search term to filter parks by name or description

      • limit (optional number): Maximum number of parks to return (default: 10, max: 50)

      • start (optional number): Start position for results (useful for pagination)

      • activities (optional string): Filter by available activities (e.g., "hiking,camping")

    • Returns: Matching parks with detailed information

  2. getParkDetails

    • Get comprehensive information about a specific national park

    • Inputs:

      • parkCode (string): The park code of the national park (e.g., "yose" for Yosemite, "grca" for Grand Canyon)

    • Returns: Detailed park information including descriptions, hours, fees, contacts, and activities

  3. getAlerts

    • Get current alerts for national parks including closures, hazards, and important information

    • Inputs:

      • parkCode (optional string): Filter alerts by park code (e.g., "yose" for Yosemite). Multiple parks can be comma-separated (e.g., "yose,grca")

      • limit (optional number): Maximum number of alerts to return (default: 10, max: 50)

      • start (optional number): Start position for results (useful for pagination)

      • q (optional string): Search term to filter alerts by title or description

    • Returns: Current alerts organized by park

  4. getVisitorCenters

    • Get information about visitor centers and their operating hours

    • Inputs:

      • parkCode (optional string): Filter visitor centers by park code (e.g., "yose" for Yosemite). Multiple parks can be comma-separated (e.g., "yose,grca")

      • limit (optional number): Maximum number of visitor centers to return (default: 10, max: 50)

      • start (optional number): Start position for results (useful for pagination)

      • q (optional string): Search term to filter visitor centers by name or description

    • Returns: Visitor center information including location, hours, and contact details

  5. getCampgrounds

    • Get information about available campgrounds and their amenities

    • Inputs:

      • parkCode (optional string): Filter campgrounds by park code (e.g., "yose" for Yosemite). Multiple parks can be comma-separated (e.g., "yose,grca")

      • limit (optional number): Maximum number of campgrounds to return (default: 10, max: 50)

      • start (optional number): Start position for results (useful for pagination)

      • q (optional string): Search term to filter campgrounds by name or description

    • Returns: Campground information including amenities, fees, and reservation details

  6. getEvents

    • Find upcoming events at parks

    • Inputs:

      • parkCode (optional string): Filter events by park code (e.g., "yose" for Yosemite). Multiple parks can be comma-separated (e.g., "yose,grca")

      • limit (optional number): Maximum number of events to return (default: 10, max: 50)

      • start (optional number): Start position for results (useful for pagination)

      • dateStart (optional string): Start date for filtering events (format: YYYY-MM-DD)

      • dateEnd (optional string): End date for filtering events (format: YYYY-MM-DD)

      • q (optional string): Search term to filter events by title or description

    • Returns: Event information including dates, times, and descriptions

Related MCP server: National Parks MCP Server

Setup

Installing via Smithery

To install mcp-server-nationalparks for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @KyrieTangSheng/mcp-server-nationalparks --client claude

NPS API Key

  1. Get a free API key from the National Park Service Developer Portal

  2. Store this key securely as it will be used to authenticate requests

Usage with Claude Desktop

To use this server with Claude Desktop, add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "nationalparks": {
      "command": "npx",
      "args": ["-y", "mcp-server-nationalparks"],
      "env": {
        "NPS_API_KEY": "YOUR_NPS_API_KEY"
      }
    }
  }
}

Example Usage

Finding Parks in a State

Tell me about national parks in Colorado.

Getting Details About a Specific Park

What's the entrance fee for Yellowstone National Park?

Checking for Alerts or Closures

Are there any closures or alerts at Yosemite right now?

Finding Visitor Centers

What visitor centers are available at Grand Canyon National Park?

Looking for Campgrounds

Are there any campgrounds with electrical hookups in Zion National Park?

Finding Upcoming Events

What events are happening at Acadia National Park next weekend?

Planning a Trip Based on Activities

Which national parks in Utah have good hiking trails?

License

This MCP server is licensed under the MIT License. See the LICENSE file for details.

Park Name

Park Code

Yosemite

yose

Grand Canyon

grca

Yellowstone

yell

Zion

zion

Great Smoky Mountains

grsm

Acadia

acad

Olympic

olym

Rocky Mountain

romo

Joshua Tree

jotr

Sequoia & Kings Canyon

seki

For a complete list, visit the NPS website.

Available Tools

6 tools
findParksB

Search for national parks based on state, name, activities, or other criteria

Inputs: stateCode, q, limit, start, +1 more.

getAlertsC

Get current alerts for national parks including closures, hazards, and important information

Inputs: parkCode, limit, start, q.

getCampgroundsC

Get information about available campgrounds and their amenities

Inputs: parkCode, limit, start, q.

getEventsC

Find upcoming events at parks

Inputs: parkCode, limit, start, dateStart, +2 more.

getParkDetailsB

Get detailed information about a specific national park

Inputs: parkCode (required).

getVisitorCentersB

Get information about visitor centers and their operating hours

Inputs: parkCode, limit, start, q.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose targeting different aspects of national park information: searching parks, getting alerts, campgrounds, events, park details, and visitor centers. There is no overlap in functionality, making tool selection straightforward for an agent.

    Naming Consistency4/5

    The naming follows a consistent verb_noun pattern with 'get' or 'find' prefixes (e.g., getAlerts, findParks), but there is a minor deviation with 'findParks' using 'find' instead of 'get', and all tools use camelCase consistently. This slight inconsistency is minor and does not hinder readability.

    Tool Count5/5

    With 6 tools, the server is well-scoped for providing national park information. Each tool serves a distinct and useful purpose, covering key areas like search, alerts, amenities, events, details, and visitor centers without being overly broad or sparse.

    Completeness4/5

    The tool set covers most core aspects of national park information, including search, alerts, amenities, events, details, and visitor centers. A minor gap might be the lack of tools for booking or reservation-related operations, but the existing tools support comprehensive querying and information retrieval for the domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Facilitates retrieval of National Park Services data using the NPS API, allowing users to list national parks by state and access detailed information about specific parks.
      35,211 npm
      3
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides access to the National Park Service API, enabling natural language queries about parks, alerts, campgrounds, events, and more.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides LLM context on U.S. national parks by integrating National Park Service, Recreation.gov, and weather APIs, enabling queries about park info, trails, alerts, events, weather forecasts, and more via tool calls.
      3
      MIT