Skip to main content
Glama

MCP Server for National Park Services Data

by amysatterlee

国家公园管理局数据的 MCP 服务器

此 MCP 服务器提供了一个用于检索国家公园管理局 (NPS) 数据的接口。它允许用户:

  • 检索美国某个州的国家公园列表。

  • 获取有关特定国家公园的详细信息。

它使用国家公园管理局 API 来获取数据。

要求

设置

  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 (字符串) – 两个字母的美国州代码

响应示例:

[ { "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

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    Provides 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 -
    6
    30
    35
    MIT License
  • -
    security
    -
    license
    -
    quality
    Provides access to the Swedish National Archives (Riksarkivet) through multiple APIs, enabling users to search, explore, and download digitized historical records and images.
    Last updated -
    4
    Apache 2.0
  • -
    security
    F
    license
    -
    quality
    Provides 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 -
  • A
    security
    F
    license
    A
    quality
    Enables AI assistants to access real-time US weather forecasts and alerts through the National Weather Service API.
    Last updated -
    2
    0

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amysatterlee/nps_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server