Access National Park Data
MCP server providing real-time National Park Service API access for park details, alerts, visitor centers, campgrounds, and events across U.S. national parks.
Maintainer of this project? Claim this page to edit the listing.
1.0.0Add to Favorites
Why it matters
Connect to the National Park Service API to retrieve real-time information about parks, including details, alerts, visitor centers, campgrounds, and events.
Outcomes
What it gets done
Search for parks by state, activities, and keywords.
Retrieve detailed park information, including fees and operating hours.
Check current alerts and closures for specific parks.
Find visitor centers, campgrounds, and upcoming events.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-national-parks | bash Capabilities
Tools your agent gets
Search for national parks by state, activities, and search terms
Get complete information about a specific national park including descriptions, hours, and fees
Get current alerts for national parks including closures, hazards, and important information
Get information about visitor centers and their operating hours
Get information about available campgrounds and their amenities
Search for upcoming events in parks
Overview
National Parks MCP Server
A Model Context Protocol server that wraps the National Park Service API, exposing six tools for searching parks, retrieving detailed park information, checking alerts and closures, finding visitor centers and campgrounds, and discovering upcoming events. Use when building AI applications that need to answer questions about U.S. national parks, plan trips, check current conditions, find amenities, or discover events. Requires an NPS API key and works with Claude Desktop or any MCP-compatible client.
What it does
Big Job: Enable AI assistants to answer natural-language questions about U.S. national parks with authoritative, real-time data from the National Park Service.
Small Job: Query park details, current alerts, visitor centers, campgrounds, and events through six MCP tools (findParks, getParkDetails, getAlerts, getVisitorCenters, getCampgrounds, getEvents) that connect directly to the NPS API.
Install via Smithery:
npx -y @smithery/cli install @KyrieTangSheng/mcp-server-nationalparks --client claude
Or configure manually in claude_desktop_config.json:
{
"mcpServers": {
"nationalparks": {
"command": "npx",
"args": ["-y", "mcp-server-nationalparks"],
"env": {
"NPS_API_KEY": "YOUR_NPS_API_KEY"
}
}
}
}
Requires a free NPS API key from the National Park Service Developer Portal. Supports filtering by state code, park code, activities, date ranges, and search terms with pagination up to 50 results per query.
Source README
National Parks MCP Server
MCP Server for the National Park Service (NPS) API, providing real-time information about U.S. National Parks, including park details, alerts, and activities.
Tools
findParks- Search for national parks based on various criteria
- Inputs:
stateCode(optional string): Filter parks by state code (e.g., "CA" for California). Multiple states can be comma-separated (e.g., "CA,OR,WA")q(optional string): Search term to filter parks by name or descriptionlimit(optional number): Maximum number of parks to return (default: 10, max: 50)start(optional number): Start position for results (useful for pagination)activities(optional string): Filter by available activities (e.g., "hiking,camping")
- Returns: Matching parks with detailed information
getParkDetails- Get comprehensive information about a specific national park
- Inputs:
parkCode(string): The park code of the national park (e.g., "yose" for Yosemite, "grca" for Grand Canyon)
- Returns: Detailed park information including descriptions, hours, fees, contacts, and activities
getAlerts- Get current alerts for national parks including closures, hazards, and important information
- Inputs:
parkCode(optional string): Filter alerts by park code (e.g., "yose" for Yosemite). Multiple parks can be comma-separated (e.g., "yose,grca")limit(optional number): Maximum number of alerts to return (default: 10, max: 50)start(optional number): Start position for results (useful for pagination)q(optional string): Search term to filter alerts by title or description
- Returns: Current alerts organized by park
getVisitorCenters- Get information about visitor centers and their operating hours
- Inputs:
parkCode(optional string): Filter visitor centers by park code (e.g., "yose" for Yosemite). Multiple parks can be comma-separated (e.g., "yose,grca")limit(optional number): Maximum number of visitor centers to return (default: 10, max: 50)start(optional number): Start position for results (useful for pagination)q(optional string): Search term to filter visitor centers by name or description
- Returns: Visitor center information including location, hours, and contact details
getCampgrounds- Get information about available campgrounds and their amenities
- Inputs:
parkCode(optional string): Filter campgrounds by park code (e.g., "yose" for Yosemite). Multiple parks can be comma-separated (e.g., "yose,grca")limit(optional number): Maximum number of campgrounds to return (default: 10, max: 50)start(optional number): Start position for results (useful for pagination)q(optional string): Search term to filter campgrounds by name or description
- Returns: Campground information including amenities, fees, and reservation details
getEvents- Find upcoming events at parks
- Inputs:
parkCode(optional string): Filter events by park code (e.g., "yose" for Yosemite). Multiple parks can be comma-separated (e.g., "yose,grca")limit(optional number): Maximum number of events to return (default: 10, max: 50)start(optional number): Start position for results (useful for pagination)dateStart(optional string): Start date for filtering events (format: YYYY-MM-DD)dateEnd(optional string): End date for filtering events (format: YYYY-MM-DD)q(optional string): Search term to filter events by title or description
- Returns: Event information including dates, times, and descriptions
Setup
Installing via Smithery
To install mcp-server-nationalparks for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @KyrieTangSheng/mcp-server-nationalparks --client claude
NPS API Key
- Get a free API key from the National Park Service Developer Portal
- Store this key securely as it will be used to authenticate requests
Usage with Claude Desktop
To use this server with Claude Desktop, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"nationalparks": {
"command": "npx",
"args": ["-y", "mcp-server-nationalparks"],
"env": {
"NPS_API_KEY": "YOUR_NPS_API_KEY"
}
}
}
}
Example Usage
Finding Parks in a State
Tell me about national parks in Colorado.
Getting Details About a Specific Park
What's the entrance fee for Yellowstone National Park?
Checking for Alerts or Closures
Are there any closures or alerts at Yosemite right now?
Finding Visitor Centers
What visitor centers are available at Grand Canyon National Park?
Looking for Campgrounds
Are there any campgrounds with electrical hookups in Zion National Park?
Finding Upcoming Events
What events are happening at Acadia National Park next weekend?
Planning a Trip Based on Activities
Which national parks in Utah have good hiking trails?
Appendix: Popular National Parks and their codes
| Park Name | Park Code |
|---|---|
| Yosemite | yose |
| Grand Canyon | grca |
| Yellowstone | yell |
| Zion | zion |
| Great Smoky Mountains | grsm |
| Acadia | acad |
| Olympic | olym |
| Rocky Mountain | romo |
| Joshua Tree | jotr |
| Sequoia & Kings Canyon | seki |
For a complete list, visit the NPS website.
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.