by KyrieTangSheng
An MCP Server for the National Park Service (NPS) API, providing real-time information about U.S. National Parks, including park details, alerts, and activities.
mcp-server-nationalparks is an MCP (Multi-Cloud Platform) server that acts as an interface to the National Park Service (NPS) API. It provides real-time information about U.S. National Parks, including park details, alerts, visitor centers, campgrounds, hiking trails, and events.
To use this server, you first need to obtain a free API key from the National Park Service Developer Portal. The server can be installed via Smithery using npx -y @smithery/cli install @KyrieTangSheng/mcp-server-nationalparks --client claude
. For integration with Claude Desktop, you need to configure claude_desktop_config.json
to include the server command and your NPS API key.
findParks
: Search for national parks based on criteria like state code, search term, activities, and pagination.getParkDetails
: Retrieve comprehensive information about a specific national park using its park code.getAlerts
: Get current alerts for national parks, including closures, hazards, and important information, with filtering by park code and search term.getVisitorCenters
: Access information about visitor centers, including location, hours, and contact details.getCampgrounds
: Obtain details about available campgrounds, amenities, fees, and reservation information.getEvents
: Find upcoming events at parks, with filtering by park code, date range, and search term.Q: How do I get an NPS API key? A: You can get a free API key from the National Park Service Developer Portal.
Q: How do I install mcp-server-nationalparks?
A: You can install it automatically via Smithery using npx -y @smithery/cli install @KyrieTangSheng/mcp-server-nationalparks --client claude
.
Q: How do I use this server with Claude Desktop?
A: You need to add specific configuration to your claude_desktop_config.json
file, including the server command and your NPS API key.
Q: Can I filter parks by multiple states or activities?
A: Yes, you can provide comma-separated values for stateCode
and activities
in the findParks
tool.
Q: What information can I get about a specific park?
A: The getParkDetails
tool provides detailed park information including descriptions, hours, fees, contacts, and activities.
MCP Server for the National Park Service (NPS) API, providing real-time information about U.S. National Parks, including park details, alerts, and activities.
findParks
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")getParkDetails
parkCode
(string): The park code of the national park (e.g., "yose" for Yosemite, "grca" for Grand Canyon)getAlerts
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 descriptiongetVisitorCenters
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 descriptiongetCampgrounds
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 descriptiongetEvents
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 descriptionTo install mcp-server-nationalparks for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @KyrieTangSheng/mcp-server-nationalparks --client claude
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"
}
}
}
}
Tell me about national parks in Colorado.
What's the entrance fee for Yellowstone National Park?
Are there any closures or alerts at Yosemite right now?
What visitor centers are available at Grand Canyon National Park?
Are there any campgrounds with electrical hookups in Zion National Park?
What events are happening at Acadia National Park next weekend?
Which national parks in Utah have good hiking trails?
This MCP server is licensed under the MIT License. See the LICENSE file for details.
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.
Reviews feature coming soon
Stay tuned for community discussions and feedback