MCP Server for National Park Services Data
Retrieve data from the National Park Service (NPS) API.
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:
git clone <repository-url> cd <repository-folder> -
Install dependencies:
npm install -
Create a
.envfile 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:
- 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"
}
}
}
}
- 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:
[
{
"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.
Related Servers
APISIX-MCP
APISIX Model Context Protocol (MCP) server is used to bridge large language models (LLMs) with the APISIX Admin API, supporting querying and managing all resources in Apache APISIX.
Alpha Vantage MCP Server
Provides real-time financial market data using the Alpha Vantage API.
Coincheck MCP Server
Integrates with the Coincheck cryptocurrency exchange API.
MCP Salesforce Connector
Interact with Salesforce data using SOQL queries and SOSL searches via an MCP server.
创思大模型安全 MCP
A content security protection system for large language models, providing real-time risk identification and interception to ensure safe, compliant, and trustworthy model applications.
Remote MCP Server on Cloudflare
An MCP server designed to run on Cloudflare Workers, featuring OAuth login support and Cloudflare KV integration for data storage.
AWS Documentation MCP Server
Access, search, and get recommendations from public AWS documentation.
MCP Force
Exposes Salesforce APIs as tools for AI agents.
Confluent Cloud
Interact with Confluent Cloud REST APIs to manage Kafka clusters, topics, and data.
Aiven
Navigate your Aiven projects and interact with the PostgreSQL®, Apache Kafka®, ClickHouse® and OpenSearch® services