The National Parks MCP Server provides real-time information about U.S. National Parks through the National Park Service (NPS) API. It allows you to access park details, alerts, visitor centers, campgrounds, and events, making it easier to plan your visits to national parks across the United States.
You can automatically install the National Parks MCP Server for Claude Desktop using Smithery:
npx -y @smithery/cli install @KyrieTangSheng/mcp-server-nationalparks --client claude
To use this server, you'll need a free API key from the National Park Service:
To use the National Parks MCP Server with Claude Desktop, add the following to your claude_desktop_config.json
file:
{
"mcpServers": {
"nationalparks": {
"command": "npx",
"args": ["-y", "mcp-server-nationalparks"],
"env": {
"NPS_API_KEY": "YOUR_NPS_API_KEY"
}
}
}
}
Be sure to replace YOUR_NPS_API_KEY
with the actual API key you obtained from the NPS Developer Portal.
Search for national parks based on various criteria:
stateCode
(optional): Filter parks by state code (e.g., "CA" for California)q
(optional): Search term for filtering parks by name or descriptionlimit
(optional): Maximum number of parks to return (default: 10, max: 50)start
(optional): Start position for paginationactivities
(optional): Filter by available activities (e.g., "hiking,camping")Get comprehensive information about a specific national park:
parkCode
(required): The park code (e.g., "yose" for Yosemite, "grca" for Grand Canyon)Get current alerts for national parks:
parkCode
(optional): Filter alerts by park codelimit
(optional): Maximum number of alerts (default: 10, max: 50)start
(optional): Start position for paginationq
(optional): Search term for filtering alertsGet information about visitor centers and their operating hours:
parkCode
(optional): Filter visitor centers by park codelimit
(optional): Maximum number to return (default: 10, max: 50)start
(optional): Start position for paginationq
(optional): Search term for filtering visitor centersGet information about available campgrounds and their amenities:
parkCode
(optional): Filter campgrounds by park codelimit
(optional): Maximum number to return (default: 10, max: 50)start
(optional): Start position for paginationq
(optional): Search term for filtering campgroundsFind upcoming events at parks:
parkCode
(optional): Filter events by park codelimit
(optional): Maximum number to return (default: 10, max: 50)start
(optional): Start position for paginationdateStart
(optional): Start date (format: YYYY-MM-DD)dateEnd
(optional): End date (format: YYYY-MM-DD)q
(optional): Search term for filtering eventsYou can interact with the National Parks MCP Server by asking Claude questions like:
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?
Here are some popular national parks and their codes:
yose
grca
yell
zion
grsm
acad
olym
romo
jotr
seki
For a complete list of parks, visit the NPS website.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "nationalparks" '{"command":"npx","args":["-y","mcp-server-nationalparks"],"env":{"NPS_API_KEY":"YOUR_NPS_API_KEY"}}'
See the official Claude Code MCP documentation for more details.
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 > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"nationalparks": {
"command": "npx",
"args": [
"-y",
"mcp-server-nationalparks"
],
"env": {
"NPS_API_KEY": "YOUR_NPS_API_KEY"
}
}
}
}
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 explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"nationalparks": {
"command": "npx",
"args": [
"-y",
"mcp-server-nationalparks"
],
"env": {
"NPS_API_KEY": "YOUR_NPS_API_KEY"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect