MCP Server for National Park Services Data
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
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
- Node.js (v18+ recommended)
- npm or yarn
- A valid NPS API key (available at https://www.nps.gov/subjects/developer/get-started.htm)
- Claude Desktop installed (for running MCP servers)
Setup
- Clone this repository:Copy
- Install dependencies:Copy
- Create a
.env
file in the root directory and add your NPS API key:Copy
Running the Server
To start the MCP server:
Using Claude Desktop:
- Add this MCP Server to the
claude_desktop_config.json
- Start or Restart Claude Desktop
- Ensure your MCP server is recognized and running by clicking on the tools icon at the bottom of Claude's chat window.
- 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:
Fetch Details of a National Park
Tool Name: park-details
Parameters:
parkCode
(string) – National Park lookup code
Response Example:
Prompts
Retrieve Parks in a State
Prompt Name: parks-by-state
Parameters:
stateCode
(string)
Example:
Get Park Details
Prompt Name: details-for-park
Parameters:
park
(string)
Example:
This server cannot be installed
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.