关于 Nrel
Nrel 是封装美国国家可再生能源实验室开发者 API 的 MCP 服务,适用于需要查询该 API 数据的用户。README 提供了通过网关提问和调用光伏发电估算工具的示例。
主要功能
- 01封装 NREL 开发者 API
- 02通过网关提问查询
- 03提供光伏发电估算示例
适用场景
- 01通过网关查询 Nrel 数据
- 02调用 pvwatts 估算光伏发电
MCP 相关
它通过 Pipeworx 提供 MCP 客户端连接入口,也可连接完整网关。README 未列出专属工具清单。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
服务地址
https://gateway.pipeworx.io/nrel/mcp一键复制安装命令
Claude CodeTerminal
claude mcp add --transport http pipeworx-io-nrel https://gateway.pipeworx.io/nrel/mcpCursor.cursor/mcp.json
{"mcpServers":{"pipeworx-io-nrel":{"type":"http","url":"https://gateway.pipeworx.io/nrel/mcp"}}}在 Cursor 中打开VS Code.vscode/mcp.json
{"servers":{"pipeworx-io-nrel":{"type":"http","url":"https://gateway.pipeworx.io/nrel/mcp"}}}在 VS Code 中打开Claude Desktopclaude_desktop_config.json
{"mcpServers":{"pipeworx-io-nrel":{"type":"http","url":"https://gateway.pipeworx.io/nrel/mcp"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"pipeworx-io-nrel":{"serverUrl":"https://gateway.pipeworx.io/nrel/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
mcp-nrel
NREL MCP — 封装美国国家可再生能源实验室开发者 API
隶属于 Pipeworx — 一个将 AI Agent 连接到 965+ 个实时数据源的 MCP 网关。
工具
| 工具 | 描述 |
|---|
快速开始
添加到你的 MCP 客户端(Claude Desktop、Cursor、Windsurf 等):
{
"mcpServers": {
"nrel": {
"url": "https://gateway.pipeworx.io/nrel/mcp"
}
}
}
也可以连接到完整的 Pipeworx 网关,访问全部 965+ 个数据源:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
与 ask_pipeworx 搭配使用
你不必直接调用工具,也可以用通俗语言提问:
ask_pipeworx({ question: "your question about Nrel data" })
网关会选择合适的工具并自动填写参数。
更多信息
许可证
MIT
没有 MCP 客户端?通过 HTTP 调用
curl -X POST https://gateway.pipeworx.io/v1/tools/pvwatts \
-H 'Content-Type: application/json' \
-d '{"lat":40,"lon":-105.25,"system_capacity":4}'
首次调用无需账号。查看任意工具:GET https://gateway.pipeworx.io/v1/tools/pvwatts。查找工具:使用 {"query":"..."} 调用 POST https://gateway.pipeworx.io/v1/tools/search_packs。
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。