Skip to main content
Glama
MCP Server for National Park Services Data

MCP Server for National Park Services Data

by amysatterlee

国立公園サービスデータ用のMCPサーバー

このMCPサーバーは、国立公園局(NPS)のデータを取得するためのインターフェースを提供します。ユーザーは以下のことが可能です。

  • 指定された米国の州にある国立公園のリストを取得します。

  • 特定の国立公園に関する詳細情報を取得します。

データの取得には国立公園局 API を使用します。

要件

Related MCP server: National Park Data MCP Server

設定

  1. このリポジトリをクローンします:

    git clone <repository-url>
    cd <repository-folder>
  2. 依存関係をインストールします:

    npm install
  3. ルート ディレクトリに.envファイルを作成し、NPS API キーを追加します。

    API_KEY=your_nps_api_key_here

サーバーの実行

MCP サーバーを起動するには:

npm run build
node ./build/server.js

Claude Desktop の使用:

  1. このMCPサーバーをclaude_desktop_config.jsonに追加します

{
    "mcpServers": {
        "nps": {
            "command": "node",
            "args": [
                "/<Path to Server>/build/index.js"
            ],
            "env": {
                "API_KEY": "Your NPS API Key"
            }
        }
    }
}
  1. Claude Desktopを起動または再起動する

  2. Claude のチャット ウィンドウの下部にあるツール アイコンをクリックして、MCP サーバーが認識され、実行されていることを確認します。

  3. Claude のインターフェースを使用して、国立公園局のデータを照会します。

APIエンドポイント

州別の国立公園リストを取得

ツール名: park-list

パラメータ:

  • stateCode (文字列) – 2文字の米国州コード

応答例:

[
  {
    "fullName": "Yellowstone National Park",
    "description": "First national park in the U.S.",
    "parkCode": "yell"
  }
]

国立公園の詳細を取得する

ツール名: park-details

パラメータ:

  • parkCode (文字列) – 国立公園検索コード

応答例:

[
  {
    "fullName": "Yellowstone National Park",
    "description": "First national park in the U.S.",
    "states": "WY, MT, ID"
  }
]

プロンプト

州内の公園を取得する

プロンプト名: parks-by-state

パラメータ:

  • stateCode (文字列)

例:

What National Parks are in the state of CA?

公園の詳細を見る

プロンプト名: details-for-park

パラメータ:

  • park (文字列)

例:

Give me details about Yellowstone National Park.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers