nps-explorer-mcp-server
by Kyle-Ski·★ 2·综合分 29
一个美国国家公园数据的 MCP 服务器,通过 API 集成提供公园信息、小径、警报、活动和天气预报。
概述
NPS Explorer MCP 服务器运行在 Cloudflare Workers 上,集成了多个 API,包括美国国家公园服务 API、Recreation.gov API 和天气 API。它提供工具来查询公园信息、小径详情、警报、活动、天气预报和露营信息。该服务器遵循模型上下文协议标准,允许通过各种 LLM 客户端通过简单的工具调用连接。虽然大多数功能正常工作,但有一个工具(findNearbyRecreation)被标记为工作不正确。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要通过 LLM 工具调用访问美国国家公园信息时,选择此 MCP 服务器,尤其是如果您已经在使用 Cloudflare 基础设施。
什么时候不要选它
如果您需要美国以外公园的信息,或者偏好具有比此服务器提供的更多 API 集成的解决方案,请不要选择此服务器。
此 server 暴露的工具
从 README 抽取出 9 个工具getParkInfoGet comprehensive information about a national park including both static details and current conditions
getTrailInfoGet detailed information about trails including difficulty, length, elevation gain, and current conditions
findParksFind national parks based on criteria such as state, activities, or amenities
getParkAlertsGet current alerts, closures, and notifications for specified parks
getParkEventsGet upcoming events at parks including ranger talks, guided hikes, and educational programs
findNearbyRecreationFind recreation areas and camping options near a given location
planParkVisitGet recommendations for the best time to visit a park based on historical and forecast weather
getParkWeatherForecastGet detailed weather forecast for a national park by park code
getCampgroundsList campgrounds within a given national park with detailed information
可对比工具
安装
安装
- **克隆仓库**
git clone https://github.com/Kyle-Ski/nps-explorer-mcp-server.git
cd nps-explorer-mcp-server- **设置 API 密钥**
- 获取美国国家公园服务 API、Recreation.gov API 和天气 API 的 API 密钥
- 创建 GitHub OAuth 应用
- 将
.dev.vars.example复制到.dev.vars并填入您的密钥
- **安装依赖**
npm i- **本地运行**
npm start- **部署到 Cloudflare Workers**
npm run deploy**Claude Desktop 配置:** 添加到您的 Claude Desktop 配置中:
{
"mcpServers": {
"nps-explorer": {
"command": "npx",
"args": ["@modelcontextprotocol/inspector", "connect", "https://your-subdomain.workers.dev"]
}
}
}FAQ
- 哪些 API 集成到这个 MCP 服务器中?
- 该服务器集成了美国国家公园服务 API、Recreation.gov API 和天气 API(weatherapi.com)。
- 如何将此 MCP 服务器连接到 Claude Desktop?
- 您需要先将其部署到 Cloudflare Workers,然后使用 MCP 检查工具将服务器 URL 添加到您的 Claude Desktop 配置中。
nps-explorer-mcp-server 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。