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?

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

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:

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

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

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).