smard energy
Build Germany's generation mix and renewable share, summarise day-ahead wholesale prices across bidding zones, and export gap-clean electricity time series — all over the open, key-free SMARD chart-data API via the smard-cli.
Install
-
Install the
smardCLI:npm i -g @maschinenlesbar.org/smard-cli -
Add the marketplace (once):
/plugin marketplace add maschinenlesbar-org/plugins -
Install the plugin:
/plugin install smard@maschinenlesbar
Requirements such as API keys or accounts are listed in SKILLS.md.
MCP server
Tools for the questions agents ask, built on the same client as the CLI, for Claude Code or any other MCP client. It needs neither the plugin nor the CLI.
-
Install the
smard-mcpserver:npm i -g @maschinenlesbar.org/smard-mcp -
Add it to Claude Code:
claude mcp add smard -- smard-mcp
Or run the container image instead:
claude mcp add smard -- docker run -i --rm ghcr.io/maschinenlesbar-org/smard-mcp:0.9.0Other clients, the HTTP transport, the options and any credentials are described in MCP.md.
Skills
-
/smard:smard-generation-mixBuild Germany's electricity generation mix and renewable share for a window using the smard-cli. Trigger when the user asks "what's the current energy mix in Germany?", "how much of the power is renewable right now?", "wind vs solar vs gas generation", "what's coal/gas doing today?", or wants a breakdown of the power grid by source. Fans out across every generation filter, fetches the newest common window, and computes per-source MWh, shares, and renewable fraction — the cross-source aggregation the CLI deliberately doesn't do.
-
/smard:smard-price-watchSummarise German day-ahead wholesale electricity prices and compare bidding zones using the smard-cli. Trigger when the user asks "what's the electricity price right now?", "when is power cheapest today?", "spot price for DE-LU", "is electricity cheaper in France than Germany?", "peak vs off-peak price", or wants EUR/MWh price stats. Pulls the EPEX day-ahead series, finds the price for the current hour or quarter-hour, the day's min/max/average and the cheapest / most-expensive slots, and ranks neighbouring zones — the time-series stats the CLI doesn't compute.
-
/smard:smard-series-exportExport a SMARD electricity time series over a date range as clean CSV/JSON using the smard-cli. Trigger when the user asks "export the grid load for the last N weeks as CSV", "give me hourly PV generation as a spreadsheet", "download the price series for analysis", "pull a time series into a dataframe", or wants a continuous, gap-handled series across multiple windows. Resolves window timestamps, stitches the per-window files into one ordered series, drops the unpublished null tail, and emits ISO-dated rows — the multi-window stitching the CLI doesn't do.
Details
- Repository
- maschinenlesbar-org/smard-cli
- CLI
- @maschinenlesbar.org/smard-cli (command
smard) - MCP server
- @maschinenlesbar.org/smard-mcp (command
smard-mcp) - Container image
ghcr.io/maschinenlesbar-org/smard-mcp- Plugin version
- 0.3.0, from tag v0.9.0
- License
- AGPL-3.0-or-later
- Data terms
- DATA_LICENSE.md
- Keywords
- smard, strommarkt, bundesnetzagentur, electricity, energy, generation, consumption, wholesale-price, renewables, germany, bund.dev