National Parks MCP Server

国家公园 MCP 服务器

国家公园管理局 (NPS) API 的 MCP 服务器,提供有关美国国家公园的实时信息,包括公园详情、警报和活动。

工具

  1. findParks
    • 根据各种标准搜索国家公园
    • 输入:
      • stateCode (可选字符串):按州代码筛选公园(例如,“CA”代表加利福尼亚州)。多个州可以用逗号分隔(例如,“CA,OR,WA”)。
      • q (可选字符串):按名称或描述过滤公园的搜索词
      • limit (可选数字):返回的最大公园数量(默认值:10,最大值:50)
      • start (可选数字):结果的起始位置(用于分页)
      • activities (可选字符串):按可用活动进行过滤(例如“徒步旅行,露营”)
    • 返回:匹配公园的详细信息
  2. getParkDetails
    • 获取有关特定国家公园的全面信息
    • 输入:
      • parkCode (字符串):国家公园的公园代码(例如,“yose”代表优胜美地,“grca”代表大峡谷)
    • 返回:详细的公园信息,包括描述、开放时间、费用、联系方式和活动
  3. getAlerts
    • 获取国家公园的最新警报,包括关闭、危险和重要信息
    • 输入:
      • parkCode (可选字符串):按公园代码筛选警报(例如,“yose”代表优胜美地)。多个公园可以用逗号分隔(例如,“yose,grca”)。
      • limit (可选数字):返回的最大警报数量(默认值:10,最大值:50)
      • start (可选数字):结果的起始位置(用于分页)
      • q (可选字符串):按标题或描述过滤警报的搜索词
    • 返回:按公园组织的当前警报
  4. getVisitorCenters
    • 获取有关游客中心及其营业时间的信息
    • 输入:
      • parkCode (可选字符串):按公园代码筛选游客中心(例如,“yose”代表优胜美地)。多个公园可以用逗号分隔(例如,“yose,grca”)。
      • limit (可选数字):返回的游客中心的最大数量(默认值:10,最大值:50)
      • start (可选数字):结果的起始位置(用于分页)
      • q (可选字符串):按名称或描述过滤游客中心的搜索词
    • 返回:游客中心信息,包括位置、营业时间和联系方式
  5. getCampgrounds
    • 获取有关可用露营地及其设施的信息
    • 输入:
      • parkCode (可选字符串):按公园代码筛选露营地(例如,“yose”表示优胜美地)。多个公园可以用逗号分隔(例如,“yose,grca”)。
      • limit (可选数字):返回的最大露营地数量(默认值:10,最大值:50)
      • start (可选数字):结果的起始位置(用于分页)
      • q (可选字符串):按名称或描述过滤露营地的搜索词
    • 返回:露营地信息,包括设施、费用和预订详情
  6. getEvents
    • 查找公园即将举行的活动
    • 输入:
      • parkCode (可选字符串):按公园代码筛选活动(例如,“yose”代表优胜美地)。多个公园可以用逗号分隔(例如,“yose,grca”)。
      • limit (可选数字):返回的最大事件数(默认值:10,最大值:50)
      • start (可选数字):结果的起始位置(用于分页)
      • dateStart (可选字符串):过滤事件的开始日期(格式:YYYY-MM-DD)
      • dateEnd (可选字符串):过滤事件的结束日期(格式:YYYY-MM-DD)
      • q (可选字符串):按标题或描述过滤事件的搜索词
    • 返回:事件信息,包括日期、时间和描述

设置

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 mcp-server-nationalparks:

npx -y @smithery/cli install @KyrieTangSheng/mcp-server-nationalparks --client claude

NPS API 密钥

  1. 国家公园管理局开发者门户获取免费 API 密钥
  2. 安全保存此密钥,因为它将用于验证请求

与 Claude Desktop 一起使用

要将此服务器与 Claude Desktop 一起使用,请将以下内容添加到您的claude_desktop_config.json中:

{ "mcpServers": { "nationalparks": { "command": "npx", "args": ["-y", "mcp-server-nationalparks"], "env": { "NPS_API_KEY": "YOUR_NPS_API_KEY" } } } }

示例用法

寻找州内的公园

Tell me about national parks in Colorado.

获取特定公园的详细信息

What's the entrance fee for Yellowstone National Park?

检查警报或关闭

Are there any closures or alerts at Yosemite right now?

寻找游客中心

What visitor centers are available at Grand Canyon National Park?

寻找露营地

Are there any campgrounds with electrical hookups in Zion National Park?

查找即将举行的活动

What events are happening at Acadia National Park next weekend?

根据活动计划行程

Which national parks in Utah have good hiking trails?

执照

此 MCP 服务器采用 MIT 许可证。详情请参阅许可证文件。

附录:热门国家公园及其代码

公园名称公园守则
优胜美地寄濑
大峡谷格拉卡
黄石公园叫喊
锡安锡安
大烟山格鲁姆
阿卡迪亚学院
奥林匹克奥林匹亚
落基山脉罗莫
约书亚树乔特尔
红杉和国王峡谷

如需完整列表,请访问NPS 网站

-
security - not tested
A
license - permissive license
-
quality - not tested

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.

通过 NPS API 提供有关美国国家公园的实时信息,使用户能够搜索公园、查看详细信息、警报、游客中心、露营地和即将举行的活动。

  1. 工具
    1. 设置
      1. 通过 Smithery 安装
      2. NPS API 密钥
      3. 与 Claude Desktop 一起使用
    2. 示例用法
      1. 寻找州内的公园
      2. 获取特定公园的详细信息
      3. 检查警报或关闭
      4. 寻找游客中心
      5. 寻找露营地
      6. 查找即将举行的活动
      7. 根据活动计划行程
    3. 执照
      1. 附录:热门国家公园及其代码

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          Facilitates retrieval of National Park Services data using the NPS API, allowing users to list national parks by state and access detailed information about specific parks.
          Last updated -
          35,323
          1
          TypeScript
        • -
          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 weather data, forecasts, and historical weather information from OpenWeatherMap API for Claude Desktop, enabling natural language queries about current conditions, forecasts, air quality, and weather alerts worldwide.
          Last updated -
          Python
          MIT License
        • A
          security
          A
          license
          A
          quality
          Integrates with Harvest time tracking API, enabling AI assistants to manage time entries, projects, clients, and tasks through natural language commands.
          Last updated -
          11
          2
          Python
          MIT License
          • Apple

        View all related MCP servers

        ID: 8d5pziz2qt