# mcp-server-nationalparks

> MCP Server

This repository hosts an MCP server providing real-time access to the National Park Service API, offering tools to find park details, alerts, and visitor center information for U.S. National Parks.

## Overview

- **Category:** System Tools
- **Language:** TypeScript
- **Stars:** 40
- **Forks:** 0
- **Owner:** KyrieTangSheng
- **GitHub:** https://github.com/KyrieTangSheng/mcp-server-nationalparks
- **Created:** 2025-03-20T05:57:34+00:00
- **Updated:** 2025-03-22T21:03:19+00:00
- **Source:** https://model-context-protocol.com/servers/national-park-service-api-server

## Setup

## Setup

### Installing via Smithery

To install mcp-server-nationalparks for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@KyrieTangSheng/mcp-server-nationalparks):

```bash
npx -y @smithery/cli install @KyrieTangSheng/mcp-server-nationalparks --client claude
```

### NPS API Key
1. Get a free API key from the [National Park Service Developer Portal](https://www.nps.gov/subjects/developer/get-started.htm)
2. 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`:

```json
{
  "mcpServers": {
    "nationalparks": {
      "command": "npx",
      "args": ["-y", "mcp-server-nationalparks"],
      "env": {
        "NPS_API_KEY": "YOUR_NPS_API_KEY"
      }
    }
  }
}
```

## Tools

## Available Tools

1. `findParks` (Search for national parks based on various criteria.)
2. `getParkDetails` (Get comprehensive information about a specific national park.)
3. `getAlerts` (Get current alerts for national parks including closures, hazards, and important information.)
4. `getVisitorCenters` (Get information about visitor centers and their operating hours.)
5. `getCampgrounds` (Get information about available campgrounds and their amenities.)
6. `getEvents` (Find upcoming events at parks.)
