national-parks-mcp-server
Plan US National Park Service trips — find parks, check alerts and closures, find campgrounds, and browse things to do and events via the NPS Data API. STDIO or Streamable HTTP.
Install / Use
claude mcp add cyanheads -- npx -y github:cyanheads/national-parks-mcp-serverIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
MarketingSupported Platforms
Tags
Our assessment of national-parks-mcp-server
national-parks-mcp-server scores 83/100 on our quality scale, 473rd of 589 Marketing skills we index.
Its MCP Server is 14 KB long, well organised into 20 sections with 5 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 5 days ago, so national-parks-mcp-server is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
national-parks-mcp-server compared with similar skills
All 4 of these similar skills score higher than national-parks-mcp-server; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| national-parks-mcp-server (this skill)by cyanheads | 83 | 3 | 5d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 107.8k | 1d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.6k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.8k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 92.4k | today | MCP Server |
Frequently asked questions
- How do I install national-parks-mcp-server?
- Run
claude mcp add cyanheads -- npx -y github:cyanheads/national-parks-mcp-server. The install tabs above show the steps for each supported agent. - Which AI agents does national-parks-mcp-server work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is national-parks-mcp-server safe to use?
- It is Apache-2.0-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is national-parks-mcp-server still maintained?
- The repository was last updated 5 days ago, so national-parks-mcp-server is actively maintained.
Skill content
View source on GitHubPublic Hosted Server: https://national-parks.caseyjhand.com/mcp
</div>Overview
Plan a National Park Service trip: find a park, check alerts and closures, and browse campgrounds, activities, and events. Covers national parks, monuments, historic sites, and seashores, not state parks, Forest Service, or BLM land.
Tools
| Tool | Description |
|:---|:---|
| nps_find_parks | Resolve a place name, US state, or free-text query to parks — the required first step. Returns each park's parkCode plus a trip-planning summary. |
| nps_get_park | Full detail for up to ten parks in one batched call: description, activities, fees & passes, hours, contacts, directions, weather overview, images. |
| nps_get_alerts | Current alerts for a park or state — closures, hazards, caution, information — with category and recency surfaced first. |
| nps_find_campgrounds | Campgrounds at a park or state: amenities, reservable vs. first-come site counts, reservation info, accessibility, and fees. |
| nps_get_activities | Curated things to do and points of interest: title, duration, location, accessibility, and fee/pet/reservation flags. |
| nps_find_events | Scheduled events within a date range: dates/times, location, category, fee, and registration links. |
Capability reference
nps_find_parks <sub>tool</sub>
- Free-text
query, two-letterstateCode(or a comma-separated list such as"WY,MT,ID"), and an optionalactivityfilter;limit1–50 (default 10) with astartoffset - Each park carries its
parkCodeplus designation, states, description, coordinates, headline activities, lowest entrance fee, and NPS page; exactparkCodeor name matches rank first, andtotalCountcounts every match
nps_get_park <sub>tool</sub>
- Up to 10
parkCodes per call; the optionalfieldsselector (activities,topics,fees,hours,contacts,directions,images) trims the payload to the sections you need - Always returns name, designation, states, description, coordinates, weather overview, and NPS page; fees and passes by category, hours by area and season, contacts, and up to 5 images (
imagesTruncatedwhen the park has more) - Codes that match no site come back as
missingCodes; the call fails (no_parks_found) only when none resolve
nps_get_alerts <sub>tool</sub>
- Filter by
parkCode,stateCode, free-textquery, andcategory(Danger,Caution,Information,Park Closure);limit1–50 (default 20) with astartoffset - Most-recent-first, each alert with its category,
lastIndexedDaterecency, and detail;categoryBreakdowncounts the returned alerts by severity - The notice tells an all-clear (no alerts at that location) apart from a filter that matched nothing and a page past the end
nps_find_campgrounds <sub>tool</sub>
- Filter by
parkCode,stateCode, or free-textquery;limit1–50 (default 15) with astartoffset - Per campground: amenities (potable water, showers, dump station, toilets, trash collection, RV access) as yes, no, or unknown; reservable, first-come, and total site counts; reservation guidance and booking URL; lowest fee, accessibility, coordinates, and NPS page
nps_get_activities <sub>tool</sub>
- A single
parkCodeor a singlestateCodeis required, plus an optionalquery;limit1–50 (default 15) with astartoffset - Per activity: title, short description, time commitment, location, coordinates, accessibility, season, reservation-required and pets-permitted flags, fee description, and NPS page
nps_find_events <sub>tool</sub>
- Filter by
parkCode,stateCode, orquerywithin adateStart/dateEndwindow (YYYY-MM-DD); pages bypageNumberandpageSize(1–50, default 15), not by offset - Per event: title, date range,
occurrenceDatesinside the window (isRecurringmarks a series), time slots, location, category, fee, and registration and info URLs - Errors NPS reports alongside results fold into the notice instead of failing the call
Features
Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
NPS-specific:
- One service wrapping the NPS Data API (
developer.nps.gov/api/v1,X-Api-Keyauth) across six trip-planning endpoints - Aggressive normalization of NPS's inconsistent payloads — numeric and boolean fields returned as strings, nested values (
campsites.totalSites), array-typed amenity fields, and the distinct/eventsenvelope with lowercased field names — coerced to clean domain types before they reach handlers nps_get_parkbatches up to ten park codes into a single upstream request- Light retry on transient upstream failures (5xx / network); a missing or invalid key fails loud and names
NPS_API_KEY - Coordinates returned by
nps_find_parks/nps_get_parkfeed weather servers (nws-weather,open-meteo) for a forecast
Agent-friendly output:
- Visit-planning guidance — the published
national-parks-guideskill checks park identity, access, reservation evidence, and event dates. It ships with plugins, npm, Docker, and MCPB, and MCP clients discover it through the Skills extension (skill://national-parks-guide/SKILL.md). - Result-set context on every response —
totalCount, truncation (truncated/shown/cap), applied-filter echo, and empty-result notices reach both the structured and text surfaces - Many parks list no campgrounds, curated activities, or events; an empty result comes back with a notice on where else to look, never as an error
- The
parkCode-first workflow is encoded in every tool description;nps_get_parkreturnsmissingCodesso a wrong code self-corrects - Uncertainty preserved, never fabricated — missing coordinates, directions, fees, and amenity values come back
null, not a guess; coordinates are never invented for downstream weather lookups
Getting started
Connect to the hosted instance, no install:
claude mcp add --transport http national-parks-mcp-server https://national-parks.caseyjhand.com/mcp
Or run it locally:
claude mcp add national-parks-mcp-server -e NPS_API_KEY=your-key -- npx -y @cyanheads/national-parks-mcp-server
For other clients, add this to the MCP config file:
{
"mcpServers": {
"national-parks-mcp-server": {
"command": "npx",
"args": ["-y", "@cyanheads/national-parks-mcp-server"],
"env": {
"NPS_API_KEY": "your-api-key"
}
}
}
}
Get a free NPS Data API key. For Docker or a source build, see Running the server.
Configuration
All configuration is validated at startup via Zod schemas. Key environment variables:
| Variable | Description | Default |
|:---|:---|:---|
| NPS_API_KEY | Required. NPS Data API key, sent as the X-Api-Key header. The server fails to start without it. | — |
| NPS_BASE_URL | NPS Data API base URL override (testing / proxy). | https://developer.nps.gov/api/v1 |
| MCP_TRANSPORT_TYPE | Transport: stdio or http. | stdio |
| MCP_HTTP_PORT | Port for the HTTP server. | 3010 |
| MCP_HTTP_ENDPOINT_PATH | Path where the MCP server is mounted. | /mcp |
| MCP_SESSION_MODE | Session handling: auto, stateful, or stateless. The schema default auto resolves to stateful; this server sets stateless explicitly. MCP 2026-07-28 is sessionless in either mode. | stateless |
| MCP_AUTH_MODE | Auth mode: none, jwt, or oauth. | none |
| MCP_LOG_LEVEL | Log level (RFC 5424). | info |
| LOGS_DIR | Directory for log files (Node.js only). | <project-root>/logs |
| LOG_TOOL_FAILURE_PAYLOADS | Log each failed tool call's arguments and result, redacted by key name and capped at LOG_TOOL_FAILURE_PAYLOAD_MAX_BYTES (default 16384). A secret inside a free-form value is not redacted. | false |
| STORAGE_PROVIDER_TYPE | Storage backend: in-memory, filesystem, supabase, cloudflare-kv/r2/d1. | in-memory |
| OTEL_ENABLED | Enable OpenTelemetry instrumentation (spans, metrics, completion logs). | false |
See .env.example for the full list of optional overrides.
Running the server
Local development
Requires Bun v1.4 or higher (or Node.js v24+) and an NPS Data API key.
-
Clone and install:
git clone https://github.com/cyanheads/national-parks-mcp-server.git cd national-parks-mcp-server && bun install cp .env.example .env # set NPS_API_KEY -
Build and run:
# One-time build bun run rebuild # Run the built server bun run start:stdio # or bun run start:http -
Run checks and tests:
bun run devcheck # Lint, format, typecheck, security bun run test # Vitest test suite bun run lint:mcp # Validate MCP definitions against spec
Docker
docker run --rm -e NPS_API_KEY=your-key -p 3010:3010 ghcr.io/cyanheads/national-parks-mcp-server:latest
The image defaults to HTTP transport, stateless session mode, and logs to /var/log/national-parks-mcp-server.
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
107.8kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
78.6kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.8kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Scrapling
92.4k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
