mastr government
Search and count German electricity & gas units — solar, wind, storage, CHP — in the Bundesnetzagentur's Marktstammdatenregister (MaStR), with the filter-syntax and record-reading help, via the marktstammdatenregister-cli.
Install
-
Install the
mastrCLI:npm i -g @maschinenlesbar.org/marktstammdatenregister-cli -
Add the marketplace (once):
/plugin marketplace add maschinenlesbar-org/plugins -
Install the plugin:
/plugin install mastr@maschinenlesbar
Requirements such as API keys or accounts are listed in SKILLS.md.
Skills
-
/mastr:mastr-filtersBuild MaStR filter and sort specifications for the marktstammdatenregister-cli — resolve the German field names and dropdown codes the register needs. Trigger when the user asks "how do I filter MaStR by Bundesland?", "what's the code for wind energy?", "filter units in operation only", "sort by capacity", or a mastr-search query needs a --filter/--sort string. Lists the filterable columns and their codes, and assembles the FilterName~op~'value' syntax.
-
/mastr:mastr-searchSearch and count German electricity & gas units in the Marktstammdatenregister (MaStR) using the marktstammdatenregister-cli. Trigger when the user asks "how many solar plants are in Germany?", "list wind turbines in Bavaria", "count battery storage units", "how much PV was registered in 2023?", "find gas generation units", or wants rows or totals from the register. Handles the four categories (electricity/gas × generation/consumption), paging, and match counts.
-
/mastr:mastr-unitRead and interpret a MaStR unit record from the marktstammdatenregister-cli — its capacity, energy carrier, status, location and dates. Trigger when the user asks "what does this MaStR record mean?", "get the details for MaStR number SEE…", "what is the capacity/commissioning date of this plant?", "why is the operator name hidden?", or needs help understanding a unit's fields, the /Date(ms)/ timestamps, or the withheld/anonymised data.
Details
- Repository
- maschinenlesbar-org/marktstammdatenregister-cli
- CLI
- @maschinenlesbar.org/marktstammdatenregister-cli (command
mastr) - Plugin version
- 0.2.0, from tag v0.0.5
- License
- AGPL-3.0-or-later
- Data terms
- DATA_LICENSE.md
- Keywords
- marktstammdatenregister, mastr, bundesnetzagentur, energie, strom, gas, photovoltaik, windkraft, germany, bund.dev