国立公園サービスデータ用のMCPサーバー
このMCPサーバーは、国立公園局(NPS)のデータを取得するためのインターフェースを提供します。ユーザーは以下のことが可能です。
指定された米国の州にある国立公園のリストを取得します。
特定の国立公園に関する詳細情報を取得します。
データの取得には国立公園局 API を使用します。
要件
Node.js (v18以上を推奨)
npmまたはyarn
有効な NPS API キー ( https://www.nps.gov/subjects/developer/get-started.htmで入手可能)
Claude Desktop がインストールされている(MCP サーバーを実行するため)
設定
このリポジトリをクローンします:
git clone <repository-url> cd <repository-folder>依存関係をインストールします:
npm installルート ディレクトリに
.envファイルを作成し、NPS API キーを追加します。API_KEY=your_nps_api_key_here
サーバーの実行
MCP サーバーを起動するには:
Claude Desktop の使用:
このMCPサーバーを
claude_desktop_config.jsonに追加します
Claude Desktopを起動または再起動する
Claude のチャット ウィンドウの下部にあるツール アイコンをクリックして、MCP サーバーが認識され、実行されていることを確認します。
Claude のインターフェースを使用して、国立公園局のデータを照会します。
APIエンドポイント
州別の国立公園リストを取得
ツール名: park-list
パラメータ:
stateCode(文字列) – 2文字の米国州コード
応答例:
国立公園の詳細を取得する
ツール名: park-details
パラメータ:
parkCode(文字列) – 国立公園検索コード
応答例:
プロンプト
州内の公園を取得する
プロンプト名: parks-by-state
パラメータ:
stateCode(文字列)
例:
公園の詳細を見る
プロンプト名: details-for-park
パラメータ:
park(文字列)
例:
Related MCP Servers
- AsecurityAlicenseAqualityProvides real-time information about U.S. National Parks through the NPS API, enabling users to search parks, check details, alerts, visitor centers, campgrounds, and upcoming events.Last updated -63035MIT License
- -security-license-qualityProvides access to the Swedish National Archives (Riksarkivet) through multiple APIs, enabling users to search, explore, and download digitized historical records and images.Last updated -4Apache 2.0
- -securityFlicense-qualityProvides weather forecast and alert data for US locations through the National Weather Service API, enabling access to real-time weather alerts by state and detailed forecasts by coordinates.Last updated -
- AsecurityFlicenseAqualityEnables AI assistants to access real-time US weather forecasts and alerts through the National Weather Service API.Last updated -20