The National Parks MCP Server provides real-time information about U.S. National Parks through the National Park Service (NPS) API. This server enables access to park details, alerts, visitor centers, campgrounds, and events to help users explore and plan their visits to America's national parks.
To install the National Parks MCP Server automatically via Smithery:
npx -y @smithery/cli install @KyrieTangSheng/mcp-server-nationalparks --client claude
To use this server with Claude Desktop, add the following configuration to your claude_desktop_config.json
file:
{
"mcpServers": {
"nationalparks": {
"command": "npx",
"args": ["-y", "mcp-server-nationalparks"],
"env": {
"NPS_API_KEY": "YOUR_NPS_API_KEY"
}
}
}
}
Make sure to replace YOUR_NPS_API_KEY
with the actual API key you obtained from the NPS Developer Portal.
The findParks
tool allows you to search for national parks using various filters:
Example query:
Tell me about national parks in Colorado.
The getParkDetails
tool provides comprehensive information about a specific park:
Example query:
What's the entrance fee for Yellowstone National Park?
The getAlerts
tool retrieves current alerts for national parks:
Example query:
Are there any closures or alerts at Yosemite right now?
The getVisitorCenters
tool provides information about visitor centers:
Example query:
What visitor centers are available at Grand Canyon National Park?
The getCampgrounds
tool provides information about available campgrounds:
Example query:
Are there any campgrounds with electrical hookups in Zion National Park?
The getEvents
tool helps find upcoming events at parks:
Example query:
What events are happening at Acadia National Park next weekend?
When using tools that require a park code, refer to this list of 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 of park codes, visit the NPS website.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.