Fronius Mcp

io.github.flowiesner由 GitHub 账号 flowiesner 发布v0.1.2更新于 Oct 24, 2026

Real-time Fronius inverter data in Claude — PV, battery, grid and smart meter via local Solar API.

已验证STDIO仅桌面位置与生活

概览

AI 生成的概览

让助手从本地网络读取 Fronius 逆变器的实时数据,包括光伏发电、电池、电网和智能电表。

可以做什么
连接 Fronius 逆变器的本地 Solar API v1,并提供功率流、智能电表、电池和设备数据工具。工具包括 configure_inverter(保存逆变器 IP 地址)、solar_power_flow(光伏发电、电网交换、家庭负载、电池功率、自给率和能量总计)、solar_meter(各相电网功率、累计能量、电压、电流、频率)、solar_battery(荷电状态、电压、电流、温度、容量、状态)以及 solar_devices(已连接设备的类型、总线索引和序列号)。回答基于提问时获取的实时数据。
适用场景
适合拥有已启用 Solar API 的 Fronius 逆变器、并希望用自然语言向助手询问当前发电量、电池状态、电网输入或输出以及能量总计的用户,无需云账户或订阅。
运行要求
本地网络中一台已启用 Solar API(JSON API)的 Fronius 逆变器、Claude Desktop,以及用于通过 uvx 运行 PyPI 包 fronius-mcp 的 uv(Python 包管理器)。逆变器 IP 地址只需配置一次并保存在本地文件中。未声明云账户、API 密钥或环境变量。
安装前请注意
该服务器从本地网络中的逆变器读取数据,并将逆变器 IP 地址保存在本地配置文件中;configure_inverter 工具会写入该设置。未描述凭据、付款或向第三方共享数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Fronius Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

fronius-mcp

[PyPI] [MCP Registry]

Real-time solar data from your Fronius inverter, directly in Claude.

Ask things like:

"How much solar power am I generating right now?"

"What's my battery charge level?"

"Am I currently importing or exporting to the grid?"

"How much energy did I produce this year?"

"What can you do with my solar system?"

"Analyse my photovoltaics for me."

Connects to the Fronius Solar API v1 directly on your local network — no cloud account, no subscription, no data leaving your home.


How it works

fronius-mcp is a Model Context Protocol (MCP) server. MCP is an open standard that lets AI assistants like Claude connect to external tools and data sources. Once configured, Claude can call your inverter's local API in real time — whenever you ask a question about your solar system, Claude fetches live data and answers based on what's actually happening right now.


Requirements

  • A Fronius inverter on your local network with the Solar API (JSON API) enabled
  • Claude Desktop
  • uv — a fast Python package manager (one-line install)

Setup

1. Install uv

uv is a fast Python package manager used to run fronius-mcp without a permanent install.

macOS / Linux:

bash
curl -LsSf https://astral.sh/uv/install.sh | sh

Windows (PowerShell):

powershell
irm https://astral.sh/uv/install.ps1 | iex

Restart your terminal after installing.

2. Add to Claude Desktop

Open your claude_desktop_config.json and add the fronius block inside mcpServers:

json
{  "mcpServers": {    "fronius": {      "command": "uvx",      "args": ["fronius-mcp"]    }  }}

Config file location:

PlatformPath
macOS~/Library/Application Support/Claude/claude_desktop_config.json
Windows%APPDATA%\Claude\claude_desktop_config.json
Windows (Store app)%LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\claude_desktop_config.json

Tip: If the mcpServers key already exists, just add the fronius block inside it — don't create a second mcpServers.

3. Restart Claude Desktop

Close and reopen Claude Desktop so it picks up the new server config.

4. Configure your inverter

In a new Claude conversation, say:

"Configure my Fronius inverter at 192.168.178.35"

Claude will save your inverter's IP and confirm the connection. This is a one-time step — the address is stored in ~/.fronius-mcp.json and persists across restarts.

Don't know your inverter's IP? Tell Claude: "I want to configure my Fronius inverter but I don't know the IP." Claude will walk you through finding it via your router, Fronius Solar.web, or the inverter's touch display — and how to enable the Solar API in the inverter's web interface if you haven't done that yet.


What you can ask

Once set up, just talk to Claude naturally. Some examples:

  • "What's my current solar output?" — live PV generation in watts
  • "How self-sufficient am I right now?" — autonomy and self-consumption percentages
  • "Is my battery charging or discharging?" — battery power flow and state of charge
  • "How much have I fed into the grid today?" — energy totals from the smart meter
  • "What devices are connected to my inverter?" — full system topology
  • "Give me a full overview of my solar system." — Claude combines all data sources into a summary

Tools

ToolWhat it does
configure_inverterSet your inverter's IP address — run this once on first setup
solar_power_flowPV generation, grid exchange, house load, battery power, autonomy, energy totals
solar_meterGrid power per phase, cumulative energy in/out, voltage, current, frequency
solar_batteryState of charge, voltage, current, temperature, capacity, status
solar_devicesAll connected devices with type, bus index, and serial number

Compatible Hardware

Developed and tested on:

  • Fronius Symo GEN24 10.0 Plus
  • BYD Battery-Box Premium HV (13.824 kWh)
  • Fronius Smart Meter (grid feed-in point, 3-phase)

Other Fronius inverters with Solar API v1 support should work. Some API endpoints behave differently across models — if something doesn't work on your hardware, open an issue.


License

Apache 2.0 — see LICENSE.

来源:README.md,提交 b049dc5

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分