MCP Server for National Park Services Data
国家公园管理局数据的 MCP 服务器
此 MCP 服务器提供了一个用于检索国家公园管理局 (NPS) 数据的接口。它允许用户:
检索美国某个州的国家公园列表。
获取有关特定国家公园的详细信息。
它使用国家公园管理局 API 来获取数据。
要求
Node.js(建议使用 v18+)
npm 或 yarn
有效的 NPS API 密钥(可在https://www.nps.gov/subjects/developer/get-started.htm获得)
已安装 Claude Desktop(用于运行 MCP 服务器)
Related MCP server: National Park Data MCP Server
设置
克隆此存储库:
git clone <repository-url> cd <repository-folder>安装依赖项:
npm install在根目录中创建一个
.env文件并添加您的 NPS API 密钥:API_KEY=your_nps_api_key_here
运行服务器
要启动 MCP 服务器:
npm run build
node ./build/server.js使用 Claude Desktop:
将此 MCP 服务器添加到
claude_desktop_config.json
{
"mcpServers": {
"nps": {
"command": "node",
"args": [
"/<Path to Server>/build/index.js"
],
"env": {
"API_KEY": "Your NPS API Key"
}
}
}
}启动或重新启动 Claude Desktop
通过单击 Claude 聊天窗口底部的工具图标,确保您的 MCP 服务器已被识别并正在运行。
使用 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.This server cannot be deployed
Maintenance
Related MCP Connectors
Plan US National Park Service trips — parks, alerts, campgrounds, things to do, events.
NPS MCP — US National Park Service (free key, generous limits)
Recreation.gov MCP — wraps the Recreation Information Database (RIDB) API v1
Provides access to Civic Plus - See Click Fix, allowing you to interact with your data via an LLM.…
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides 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.6209 npm41MIT
- AlicenseNot gradedqualityDmaintenancePython based with all 29 tools that's available to developers from National Park Services (NPS)MIT
- AlicenseNot gradedqualityDmaintenanceProvides access to the National Park Service API to search for U.S. national parks, view park details, check alerts and closures, find visitor centers, campgrounds, and upcoming events.209 npmMIT
- AlicenseNot gradedqualityDmaintenanceProvides access to the National Park Service API, enabling natural language queries about parks, alerts, campgrounds, events, and more.MIT