MCP Server for National Park Services Data

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.


국립공원 서비스 데이터를 위한 MCP 서버

이 MCP 서버는 국립공원관리청(NPS) 데이터를 검색하는 인터페이스를 제공합니다. 사용자는 다음을 수행할 수 있습니다.

  • 미국 특정 주의 국립공원 목록을 검색합니다.
  • 특정 국립공원에 대한 자세한 정보를 가져옵니다.

국립공원관리청 API를 사용하여 데이터를 얻습니다.

요구 사항

설정

  1. 이 저장소를 복제하세요:지엑스피1
  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. 클로드의 인터페이스를 사용하여 국립공원관리청 데이터를 쿼리합니다.

API 엔드포인트

주별 국립공원 목록 가져오기

도구 이름: park-list

매개변수:

  • stateCode (문자열) – 두 글자로 된 미국 주 코드

응답 예:

[ { "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.
-
security - not tested
F
license - not found
-
quality - not tested

NPS API를 사용하여 국립공원 서비스 데이터를 쉽게 검색하고, 사용자가 주별로 국립공원을 나열하고 특정 공원에 대한 자세한 정보에 접근할 수 있도록 합니다.

  1. Requirements
    1. Setup
      1. Running the Server
        1. API Endpoints
          1. Fetch List of National Parks by State
          2. Fetch Details of a National Park
        2. Prompts
          1. Retrieve Parks in a State
          2. Get Park Details
        ID: vl0vgiu3yc