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

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

使用 NPS API 方便检索国家公园服务数据,允许用户按州列出国家公园并访问有关特定公园的详细信息。

  1. 要求
    1. 设置
      1. 运行服务器
        1. API 端点
          1. 按州获取国家公园列表
          2. 获取国家公园的详细信息
        2. 提示
          1. 检索某个州的公园
          2. 获取公园详情

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          Enables programmatic interaction with Wikimedia APIs, offering features like searching content, retrieving page information, and accessing historical events across multiple languages.
          Last updated -
          6
          2
          Python
          MIT License
          • Apple
        • A
          security
          A
          license
          A
          quality
          Enables Claude to query comprehensive geologic data from the Macrostrat API, including geologic units, columns, minerals, and timescales through natural language.
          Last updated -
          6
          JavaScript
          MIT License
          • Apple
        • -
          security
          F
          license
          -
          quality
          Converts addresses to GPS coordinates and creates map visualizations using the Geoapify API, allowing Claude users to generate GeoJSON data and map images from location lists.
          Last updated -
          Python
          • Apple
        • -
          security
          A
          license
          -
          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 -
          26
          17
          TypeScript
          MIT License

        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