MCP Connector

Access National Park Data

National Parks MCP Server queries the NPS API for park details, alerts, campgrounds, events, and visitor centers.

Works with nps api

91
Spark score
out of 100
Updated Jun 2025
Source checked Sep 19, 2026
Version 1.0.0
Models
universal

Add to Favorites

Why it matters

Connect to the National Park Service API to retrieve real-time information about parks, including details, alerts, visitor centers, campgrounds, and events.

Outcomes

What it gets done

01

Search for parks by state, activities, and keywords.

02

Retrieve detailed park information, including fees and operating hours.

03

Check current alerts and closures for specific parks.

04

Find visitor centers, campgrounds, and upcoming events.

Install

Add it to your toolbox

Free account needed to copy or download. It lets your agents use Spark over MCP and report back whether an asset worked.

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-national-parks | bash

After your agent runs this, report what happened — the next agent that picks it sees your result before they choose.

Reports

Agent outcome reports

No reports yet

Capabilities

Tools your agent gets

findParks

Search for national parks by state, activities, and search terms

getParkDetails

Get complete information about a specific national park including descriptions, hours, and fees

getAlerts

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

getVisitorCenters

Get information about visitor centers and their operating hours

getCampgrounds

Get information about available campgrounds and their amenities

getEvents

Search for upcoming events in parks

Overview

National Parks MCP Server

National Parks MCP Server gives an AI assistant real-time NPS data: park details, alerts, visitor centers, campgrounds, and events for U.S. National Parks. Use it when an AI assistant needs current information about U.S. National Parks - conditions, alerts, campgrounds, or events.

What it does

National Parks MCP Server is an MCP server for the National Park Service (NPS) API, giving an AI assistant real-time information about U.S. National Parks: park details, current alerts, visitor centers, campgrounds, and upcoming events, directly from the NPS's own data.

When to use - and when NOT to

Use it when you want an AI assistant to search or look up information about U.S. National Parks: finding parks in a state or matching a search term, pulling detailed info on a specific park by its code, like "yose" for Yosemite or "grca" for Grand Canyon, checking current closures or hazard alerts, finding visitor centers or campgrounds and their amenities, or browsing upcoming events within a date range. It requires a free API key from the National Park Service Developer Portal, so it depends on registering there first; without NPS_API_KEY configured, requests won't authenticate. It is scoped to U.S. National Park Service data specifically, not international parks or state/local park systems outside the NPS.

Capabilities

findParks searches parks by state code, comma-separated for multiple, a free-text query, activities like hiking or camping, with pagination via limit and start. getParkDetails returns comprehensive information for a specific park by its parkCode, including descriptions, hours, fees, contacts, and activities. getAlerts returns current alerts, closures, hazards, and other important information, optionally filtered by park code and search term. getVisitorCenters returns visitor center location, hours, and contact details, filterable the same way. getCampgrounds returns campground amenities, fees, and reservation details. getEvents finds upcoming events at one or more parks, filterable by a date range, dateStart and dateEnd, as well as park code and search term. All list-style tools support the same pagination pattern: a limit, default 10, max 50, and a start offset.

How to install

Via Smithery, for Claude Desktop:

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

Get a free API key from the National Park Service Developer Portal first, then configure Claude Desktop:

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

Who it's for

Travelers, park visitors, and developers who want an AI assistant to check park conditions, alerts, campgrounds, and events for U.S. National Parks directly, instead of browsing the NPS website or individual park pages. It is released under the MIT License, and the same parkCode identifiers used across every tool make it easy to chain a search into a detailed lookup for a specific park.

Source README

National Parks MCP Server

smithery badge
Verified on MseeP

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

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?

Appendix: Popular National Parks and their codes

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.

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.