home / mcp / national parks mcp server
Provides real-time National Park data via MCP including park details, alerts, centers, campgrounds, and events.
Configuration
View docs{
"mcpServers": {
"kyrietangsheng-mcp-server-nationalparks": {
"command": "npx",
"args": [
"-y",
"mcp-server-nationalparks"
],
"env": {
"NPS_API_KEY": "YOUR_NPS_API_KEY"
}
}
}
}You can query real-time National Park data through a lightweight MCP server that exposes park details, alerts, centers, campgrounds, and events. This server acts as a centralized API surface you can connect to from your MCP client to get up-to-date National Park information.
Connect your MCP client to the nationalparks MCP server to perform common queries. You can search for parks, request detailed park information, check current alerts, list visitor centers, find campgrounds, and look for upcoming events. Use natural language prompts like, “What parks are there in Colorado?” or “Show me Yosemite park details and opening hours.” When you prompt the MCP client, the server will route you to the appropriate data from the National Park Service API.
Prerequisites you need before installing: install Node.js (version 14 or newer) and npm, or ensure you have a compatible runtime for executing MCP stdio servers.
Install the National Parks MCP server client via the Smithery workflow. Run this command to install the MCP server for Claude Desktop automatically:
{
"mcpServers": {
"nationalparks": {
"command": "npx",
"args": ["-y", "mcp-server-nationalparks"],
"env": {
"NPS_API_KEY": "YOUR_NPS_API_KEY"
}
}
}
}To use the server with Claude Desktop, configure claude_desktop_config.json to include the nationalparks MCP server and your API key.
{
"mcpServers": {
"nationalparks": {
"command": "npx",
"args": ["-y", "mcp-server-nationalparks"],
"env": {
"NPS_API_KEY": "YOUR_NPS_API_KEY"
}
}
}
}Step 1: Install the MCP server client via Smithery.
npx -y @smithery/cli install @KyrieTangSheng/mcp-server-nationalparks --client claudeStep 2: Prepare Claude Desktop configuration with your API key in the environment block shown above.
Keep your National Park Service API key secure. Do not share the key publicly. If you rotate keys, update the value in your client configuration and redeploy the MCP server configuration accordingly.
The MCP server provides these data access tools to end users:
If you encounter authentication errors, verify that NPS_API_KEY is correctly set in your environment or in the Claude Desktop configuration. Ensure the MCP server is reachable and that your client is configured to connect to the nationalparks server.
Search for national parks by state codes, description terms, limit, start position, and activities to return matching parks with detailed information.
Fetch comprehensive information about a specific park by its parkCode, including descriptions, hours, fees, contacts, and activities.
Retrieve current alerts for parks, including closures and hazards, optionally filtered by parkCode and searchable by terms in titles or descriptions.
Get information about visitor centers, including locations, hours, and contact details, optionally filtered by parkCode.
Return campground details, amenities, fees, and reservation information, optionally filtered by parkCode.
Find upcoming park events with dates, times, and descriptions, optionally filtered by parkCode and date ranges.