Skip to main content
Glama

MCP Server for National Park Services Data

by amysatterlee

MCP Server for National Park Services Data

This MCP Server provides an interface to retrieve National Park Services (NPS) data. It allows users to:

  • Retrieve a list of national parks in a given U.S. state.
  • Fetch detailed information about a specific national park.

It uses the National Park Service API to obtain the data.

Requirements

Setup

  1. Clone this repository:
    git clone <repository-url> cd <repository-folder>
  2. Install dependencies:
    npm install
  3. Create a .env file in the root directory and add your NPS API key:
    API_KEY=your_nps_api_key_here

Running the Server

To start the MCP server:

npm run build node ./build/server.js

Using Claude Desktop:

  1. Add this MCP Server to the claude_desktop_config.json
{ "mcpServers": { "nps": { "command": "node", "args": [ "/<Path to Server>/build/index.js" ], "env": { "API_KEY": "Your NPS API Key" } } } }
  1. Start or Restart Claude Desktop
  2. Ensure your MCP server is recognized and running by clicking on the tools icon at the bottom of Claude's chat window.
  3. Use Claude's interface to query National Park Services data.

API Endpoints

Fetch List of National Parks by State

Tool Name: park-list

Parameters:

  • stateCode (string) – Two-letter U.S. state code

Response Example:

[ { "fullName": "Yellowstone National Park", "description": "First national park in the U.S.", "parkCode": "yell" } ]

Fetch Details of a National Park

Tool Name: park-details

Parameters:

  • parkCode (string) – National Park lookup code

Response Example:

[ { "fullName": "Yellowstone National Park", "description": "First national park in the U.S.", "states": "WY, MT, ID" } ]

Prompts

Retrieve Parks in a State

Prompt Name: parks-by-state

Parameters:

  • stateCode (string)

Example:

What National Parks are in the state of CA?

Get Park Details

Prompt Name: details-for-park

Parameters:

  • park (string)

Example:

Give me details about Yellowstone National Park.
-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

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.

  1. Requirements
    1. Setup
      1. Running the Server
        1. API Endpoints
          1. Fetch List of National Parks by State
          2. Fetch Details of a National Park
        2. Prompts
          1. Retrieve Parks in a State
          2. Get Park Details

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          Provides real-time information about U.S. National Parks through the NPS API, enabling users to search parks, check details, alerts, visitor centers, campgrounds, and upcoming events.
          Last updated -
          6
          5,348
          21
          TypeScript
          MIT License
        • -
          security
          A
          license
          -
          quality
          Provides access to the Swedish National Archives (Riksarkivet) through multiple APIs, enabling users to search, explore, and download digitized historical records and images.
          Last updated -
          3
          Python
          MIT License
        • -
          security
          F
          license
          -
          quality
          Provides weather forecast and alert data for US locations through the National Weather Service API, enabling access to real-time weather alerts by state and detailed forecasts by coordinates.
          Last updated -
          JavaScript
        • A
          security
          F
          license
          A
          quality
          Enables AI assistants to access real-time US weather forecasts and alerts through the National Weather Service API.
          Last updated -
          2
          23
          TypeScript

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/amysatterlee/nps_mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server