NPS Explorer πŸ”­ MCP Server

A Model Context Protocol (MCP) server on Cloudflare Workers, letting you query APIs for park overviews, trails, alerts, events, weather forecasts

Local serverstdio

What is the NPS Explorer πŸ”­ MCP server?

NPS Explorer πŸ”­ MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. A Model Context Protocol (MCP) server on Cloudflare Workers, letting you query APIs for park overviews, trails, alerts, events, weather forecasts, and more via simple tool calls from your LLM of choice.

What you get

This repository is a modified version of Cloudflare’s remote-MCP-GitHub-OAuth demo, extended into a National Parks Service Explorer. It provides an LLM context on U.S. national parks by integrating:

Setting it up

Installation goes through your MCP client rather than a global install: point it at @modelcontextprotocol/inspector on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

What the assistant can call

Once NPS Explorer πŸ”­ is connected, these are the calls the assistant has available:

  • getParkInfo β€” Get comprehensive information about a national park including both static details and current conditions
  • getTrailInfo β€” Get detailed information about trails (difficulty, length, elevation gain, current conditions)
  • findParks β€” Find national parks based on criteria such as state, activities, or amenities
  • getParkAlerts β€” Get current alerts, closures, and notifications for specified parks
  • getParkEvents β€” Get upcoming events at parks including ranger talks, guided hikes, and educational programs
  • findNearbyRecreation β€” Find recreation areas and camping options near a given location
  • planParkVisit β€” Get recommendations for the best time to visit a park based on historical and forecast weather
  • getParkWeatherForecast β€” Get detailed weather forecast for a national park by park code
  • getCampgrounds β€” List campgrounds within a given national park with detailed information

Configuration and credentials

You will need 3 environment variables: GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET, COOKIE_ENCRYPTION_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch NPS Explorer πŸ”­.
  • Missing credentials fail quietly in some clients β€” if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the nps explorer πŸ”­ mcp server does with a few real requests.

Choosing this one

This sits in the cloud and infrastructure group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. NPS Explorer πŸ”­'s toolset β€” getParkInfo, getTrailInfo, findParks and 6 more β€” is a fair guide to whether it matches your workflow. It is maintained by Kyle-Ski; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against NPS Explorer πŸ”­'s own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
getParkInfoGet comprehensive information about a national park including both static details and current conditions
getTrailInfoGet detailed information about trails (difficulty, length, elevation gain, current conditions)
findParksFind national parks based on criteria such as state, activities, or amenities
getParkAlertsGet current alerts, closures, and notifications for specified parks
getParkEventsGet upcoming events at parks including ranger talks, guided hikes, and educational programs
findNearbyRecreationFind recreation areas and camping options near a given location
planParkVisitGet recommendations for the best time to visit a park based on historical and forecast weather
getParkWeatherForecastGet detailed weather forecast for a national park by park code
getCampgroundsList campgrounds within a given national park with detailed information

How to install the NPS Explorer πŸ”­ MCP server

{
  "mcpServers": {
    "nps-explorer": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/inspector"],
      "env": {
        "GITHUB_CLIENT_ID": "your-value",
        "GITHUB_CLIENT_SECRET": "your-value",
        "COOKIE_ENCRYPTION_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
GITHUB_CLIENT_IDConfiguration value read at startup.Optional
GITHUB_CLIENT_SECRETCredential the server authenticates with.Yes
COOKIE_ENCRYPTION_KEYCredential the server authenticates with.Yes

Example prompts to try

  • β€œUse NPS Explorer πŸ”­ to getParkInfo.”
  • β€œUse NPS Explorer πŸ”­ to getTrailInfo.”
  • β€œUse NPS Explorer πŸ”­ to findParks.”

Frequently asked questions

It uses the National Park Service API, Recreation.gov API, and a weather API (weatherapi.com).