aiseg2-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AISEG_URL | Yes | AiSEG2 base URL, e.g. http://192.168.0.216 (http only) | |
| LOG_LEVEL | No | Log level | info |
| AISEG_HOST | No | Bind host (streamable-http only) | 0.0.0.0 |
| AISEG_PORT | No | Bind port (streamable-http only) | 8000 |
| AISEG_USER | No | HTTP Digest user | aiseg |
| AISEG_PASSWORD | Yes | HTTP Digest password for the AiSEG2 web UI | |
| AISEG_CACHE_DIR | No | Where the SD-card history export is cached | <tempdir>/aiseg2-mcp-cache |
| AISEG_CACHE_TTL | No | Seconds to reuse a cached history export before re-downloading | 3600 |
| AISEG_TRANSPORT | No | stdio or streamable-http | stdio |
| AISEG_DISABLE_DNS_REBINDING_PROTECTION | No | Disable the SDK Host allowlist — only behind a trusted auth proxy | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_power_flowA | Read-only. Get the AiSEG2's instantaneous whole-home power flow right now. Returns current generation and consumption (kW), whether the home is buying or selling grid power, storage-battery status if a battery is connected, the per-source generation breakdown, and the top consuming circuits at this moment. |
| get_circuit_breakdownA | Read-only. Get the instantaneous power draw of every measured circuit, ranked highest first. |
| list_circuitsA | Read-only. List the registered measurement circuits with their stable ids and names. |
| get_daily_totalsA | Read-only. Get today's cumulative energy totals (kWh) as of the AiSEG2's current day. Returns generation, consumption, grid-buy and grid-sell totals for the day. Any meter the device reports as unavailable ("-") comes back as null. |
| get_historyA | Read-only. Query the AiSEG2's long-term energy history from its SD-card export (values in Wh). |
| get_cost_historyA | Read-only. Query the AiSEG2's long-term energy-cost history from the SD-card export (JPY). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool targets a distinct aspect: instantaneous overview, per-circuit draw, canonical names, daily totals, historical energy, and historical cost. The only slight overlap is get_power_flow's top circuits vs get_circuit_breakdown, but descriptions clearly differentiate summary versus full detail.
All tools use snake_case verb_noun patterns: get_ for data retrieval and list_ for enumerating resources. The naming is consistent and predictable, following a clear convention.
6 tools is well-scoped for a read-only energy monitoring API. Each tool provides a distinct piece of data without being redundant or overwhelming.
The tool set covers current status, per-circuit breakdown, canonical circuit list, daily cumulative totals, long-term history, and cost history. For a monitoring-focused server, this is complete and leaves no obvious dead ends.