{"_id":"mcp-server-nationalparks","_rev":"2-87d97a45f1d0d5713ab71e2d7064defc","name":"mcp-server-nationalparks","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"mcp-server-nationalparks","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"mcp-server-nationalparks@1.0.0","maintainers":[{"name":"tangsheng1018","email":"tangsheng001018@gmail.com"}],"homepage":"https://github.com/KyrieTangSheng/mcp-server-nationalparks#readme","bugs":{"url":"https://github.com/KyrieTangSheng/mcp-server-nationalparks/issues"},"bin":{"mcp-server-nationalparks":"build/index.js"},"dist":{"shasum":"efefe652d712328aa02787fea0a536ce0e26b829","tarball":"https://registry.npmjs.org/mcp-server-nationalparks/-/mcp-server-nationalparks-1.0.0.tgz","fileCount":16,"integrity":"sha512-3vdReKPU/4uDBj+geayy5eYkphr8uOJxD66plp/qcoVy4Oc7s26QYoA6StT2tHD8gJh97utg9KL7Tnbl3Go+bw==","signatures":[{"sig":"MEQCIC28PD5uutlmptSCHFSHOH6/sB1a8JeQ5L1BHC5VV0a9AiBEgXWmTPLiq0600H7t9dnhVfVRJE99obsoxRentHmQlg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46624},"main":"index.js","type":"module","gitHead":"16e7ba3cd918147b56a09eb791217a17264d0dc4","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc && chmod 755 build/index.js"},"_npmUser":{"name":"tangsheng1018","email":"tangsheng001018@gmail.com"},"repository":{"url":"git+https://github.com/KyrieTangSheng/mcp-server-nationalparks.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP Server for the National Park Service (NPS) API, providing real-time information about U.S. National Parks, including park details, alerts, and activities.","directories":{},"_nodeVersion":"23.7.0","dependencies":{"zod":"^3.24.2","axios":"^1.8.4","dotenv":"^16.4.7","@modelcontextprotocol/sdk":"^1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.8.2","@types/node":"^22.13.10"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server-nationalparks_1.0.0_1742498863546_0.672376395046044","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"mcp-server-nationalparks","version":"1.0.1","description":"MCP Server for the National Park Service (NPS) API, providing real-time information about U.S. National Parks, including park details, alerts, and activities.","main":"index.js","type":"module","bin":{"mcp-server-nationalparks":"build/index.js"},"scripts":{"build":"tsc && chmod 755 build/index.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/KyrieTangSheng/mcp-server-nationalparks.git"},"keywords":["mcp","claude","national-parks","api","anthropic"],"author":{"name":"Tang Sheng"},"license":"MIT","bugs":{"url":"https://github.com/KyrieTangSheng/mcp-server-nationalparks/issues"},"homepage":"https://github.com/KyrieTangSheng/mcp-server-nationalparks#readme","dependencies":{"@modelcontextprotocol/sdk":"^1.7.0","axios":"^1.8.4","dotenv":"^16.4.7","zod":"^3.24.2"},"devDependencies":{"@types/node":"^22.13.10","ts-node":"^10.9.2","typescript":"^5.8.2"},"_id":"mcp-server-nationalparks@1.0.1","gitHead":"6a98e97f95fc2d3de115ba13b0c95b6699c4ba18","_nodeVersion":"23.7.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-0bFZNm1xC5DBA1Jx7l8+SLIvU3OIaQTDmM4Sne3G33vUbjV34ILht527zox/+rt+iRkGvG1tkb7bvy8yTQXFIA==","shasum":"22c8abd888a4a8687c7abec152e33a124581c794","tarball":"https://registry.npmjs.org/mcp-server-nationalparks/-/mcp-server-nationalparks-1.0.1.tgz","fileCount":16,"unpackedSize":46711,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCtmve+Rm2xxWB2D+wWdnP90yN4twNd65S+Ux5ygkc+PAIhANVCgDeAA9GheUMPf893AE63b0wGCtc8imcbqrVcaGdu"}]},"_npmUser":{"name":"tangsheng1018","email":"tangsheng001018@gmail.com"},"directories":{},"maintainers":[{"name":"tangsheng1018","email":"tangsheng001018@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-server-nationalparks_1.0.1_1742499380908_0.6340532523551681"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-20T19:27:43.546Z","modified":"2025-03-20T19:36:21.243Z","1.0.0":"2025-03-20T19:27:43.719Z","1.0.1":"2025-03-20T19:36:21.076Z"},"bugs":{"url":"https://github.com/KyrieTangSheng/mcp-server-nationalparks/issues"},"license":"MIT","homepage":"https://github.com/KyrieTangSheng/mcp-server-nationalparks#readme","keywords":["mcp","claude","national-parks","api","anthropic"],"repository":{"type":"git","url":"git+https://github.com/KyrieTangSheng/mcp-server-nationalparks.git"},"description":"MCP Server for the National Park Service (NPS) API, providing real-time information about U.S. National Parks, including park details, alerts, and activities.","maintainers":[{"name":"tangsheng1018","email":"tangsheng001018@gmail.com"}],"readme":"# National Parks MCP Server\n\nMCP Server for the National Park Service (NPS) API, providing real-time information about U.S. National Parks, including park details, alerts, and activities.\n\n## Tools\n\n1. `findParks`\n   - Search for national parks based on various criteria\n   - Inputs:\n     - `stateCode` (optional string): Filter parks by state code (e.g., \"CA\" for California). Multiple states can be comma-separated (e.g., \"CA,OR,WA\")\n     - `q` (optional string): Search term to filter parks by name or description\n     - `limit` (optional number): Maximum number of parks to return (default: 10, max: 50)\n     - `start` (optional number): Start position for results (useful for pagination)\n     - `activities` (optional string): Filter by available activities (e.g., \"hiking,camping\")\n   - Returns: Matching parks with detailed information\n\n2. `getParkDetails`\n   - Get comprehensive information about a specific national park\n   - Inputs:\n     - `parkCode` (string): The park code of the national park (e.g., \"yose\" for Yosemite, \"grca\" for Grand Canyon)\n   - Returns: Detailed park information including descriptions, hours, fees, contacts, and activities\n\n3. `getAlerts`\n   - Get current alerts for national parks including closures, hazards, and important information\n   - Inputs:\n     - `parkCode` (optional string): Filter alerts by park code (e.g., \"yose\" for Yosemite). Multiple parks can be comma-separated (e.g., \"yose,grca\")\n     - `limit` (optional number): Maximum number of alerts to return (default: 10, max: 50)\n     - `start` (optional number): Start position for results (useful for pagination)\n     - `q` (optional string): Search term to filter alerts by title or description\n   - Returns: Current alerts organized by park\n\n4. `getVisitorCenters`\n   - Get information about visitor centers and their operating hours\n   - Inputs:\n     - `parkCode` (optional string): Filter visitor centers by park code (e.g., \"yose\" for Yosemite). Multiple parks can be comma-separated (e.g., \"yose,grca\")\n     - `limit` (optional number): Maximum number of visitor centers to return (default: 10, max: 50)\n     - `start` (optional number): Start position for results (useful for pagination)\n     - `q` (optional string): Search term to filter visitor centers by name or description\n   - Returns: Visitor center information including location, hours, and contact details\n\n5. `getCampgrounds`\n   - Get information about available campgrounds and their amenities\n   - Inputs:\n     - `parkCode` (optional string): Filter campgrounds by park code (e.g., \"yose\" for Yosemite). Multiple parks can be comma-separated (e.g., \"yose,grca\")\n     - `limit` (optional number): Maximum number of campgrounds to return (default: 10, max: 50)\n     - `start` (optional number): Start position for results (useful for pagination)\n     - `q` (optional string): Search term to filter campgrounds by name or description\n   - Returns: Campground information including amenities, fees, and reservation details\n\n6. `getEvents`\n   - Find upcoming events at parks\n   - Inputs:\n     - `parkCode` (optional string): Filter events by park code (e.g., \"yose\" for Yosemite). Multiple parks can be comma-separated (e.g., \"yose,grca\")\n     - `limit` (optional number): Maximum number of events to return (default: 10, max: 50)\n     - `start` (optional number): Start position for results (useful for pagination)\n     - `dateStart` (optional string): Start date for filtering events (format: YYYY-MM-DD)\n     - `dateEnd` (optional string): End date for filtering events (format: YYYY-MM-DD)\n     - `q` (optional string): Search term to filter events by title or description\n   - Returns: Event information including dates, times, and descriptions\n\n## Setup\n\n### NPS API Key\n1. Get a free API key from the [National Park Service Developer Portal](https://www.nps.gov/subjects/developer/get-started.htm)\n2. Store this key securely as it will be used to authenticate requests\n\n### Usage with Claude Desktop\n\nTo use this server with Claude Desktop, add the following to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"nationalparks\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mcp-server-nationalparks\"],\n      \"env\": {\n        \"NPS_API_KEY\": \"YOUR_NPS_API_KEY\"\n      }\n    }\n  }\n}\n```\n## Example Usage\n\n### Finding Parks in a State\n```\nTell me about national parks in Colorado.\n```\n\n### Getting Details About a Specific Park\n```\nWhat's the entrance fee for Yellowstone National Park?\n```\n\n### Checking for Alerts or Closures\n```\nAre there any closures or alerts at Yosemite right now?\n```\n\n### Finding Visitor Centers\n```\nWhat visitor centers are available at Grand Canyon National Park?\n```\n\n### Looking for Campgrounds\n```\nAre there any campgrounds with electrical hookups in Zion National Park?\n```\n\n### Finding Upcoming Events\n```\nWhat events are happening at Acadia National Park next weekend?\n```\n\n### Planning a Trip Based on Activities\n```\nWhich national parks in Utah have good hiking trails?\n```\n\n## License\n\nThis MCP server is licensed under the MIT License. See the LICENSE file for details.\n\n\n## Appendix: Popular National Parks and their codes\n\n| Park Name | Park Code |\n|-----------|-----------|\n| Yosemite | yose |\n| Grand Canyon | grca |\n| Yellowstone | yell |\n| Zion | zion |\n| Great Smoky Mountains | grsm |\n| Acadia | acad |\n| Olympic | olym |\n| Rocky Mountain | romo |\n| Joshua Tree | jotr |\n| Sequoia & Kings Canyon | seki |\n\nFor a complete list, visit the [NPS website](https://www.nps.gov/findapark/index.htm).","readmeFilename":"README.md","author":{"name":"Tang Sheng"}}