@dennisk2025/random-us-national-park-image
v1.0.0
Published
Fetches a random image and details of a United States national park using data from the National Park Service's public image API. Great for discovering beautiful parks and planning adventures.
Readme
random-us-national-park-image MCP Server
Fetches a random image and details of a United States national park using the National Park Service's public API. Great for discovering beautiful parks and planning adventures via Claude Desktop or any MCP-compatible client.
Features
- Returns a random US national park's name, description, a beautiful image URL, and park website link
- Uses up-to-date open data from NPS (no authentication required)
Installation
Using npm
npm install -g @dennisk2025/random-us-national-park-imageOr run directly with npx:
npx @dennisk2025/random-us-national-park-imageAdding to Claude Desktop
Add this to your Claude Desktop config file at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Example claude_desktop_config.json section:
{
"mcpServers": {
"parkimage": {
"command": "npx",
"args": ["@dennisk2025/random-us-national-park-image"]
}
}
}Usage Example
After adding to Claude Desktop, tell Claude:
Call tool
get_random_national_park_imagefrom serverparkimagewith empty parameters:{}
Example Tool Call
Tool name: get_random_national_park_image
Parameters: None (just {})
Example response:
{
"name": "Yosemite National Park",
"description": "Not just a great valley...",
"imageUrl": "https://www.nps.gov/common/uploads/structured_data/3C7D5707-1DD8-B71B-0B23EABF661A5A76.jpg",
"imageAltText": "Half Dome reflecting in Mirror Lake in Yosemite National Park",
"imageTitle": "Half Dome in Spring",
"parkUrl": "https://www.nps.gov/yose/index.htm"
}Available Tools
get_random_national_park_image
- Description: Returns a random US national park's name, description, primary image URL, and park website link.
- Parameters: None
Example call (empty parameters):
{
"name": "get_random_national_park_image",
"arguments": {}
}Troubleshooting
- If no result is returned, please check your internet connection.
- No API key is required. Public data is fetched directly from the National Park Service.
