destatis-genesis Staat

Das passende Objekt der amtlichen Statistik finden, seine Daten abrufen und aufbereiten und Tabellen als CSV/Excel exportieren – über die GENESIS-Online-API von DESTATIS mit der destatis-genesis-cli.

Installation

  1. CLI destatis installieren:

    npm i -g @maschinenlesbar.org/destatis-genesis-cli
  2. Marketplace hinzufügen (einmalig):

    /plugin marketplace add maschinenlesbar-org/plugins
  3. Plugin installieren:

    /plugin install destatis-genesis@maschinenlesbar

Voraussetzungen wie API-Schlüssel oder Konten stehen in SKILLS.md.

MCP-Server

Tools für die Fragen, die Agenten stellen, gebaut auf demselben Client wie die CLI, für Claude Code oder jeden anderen MCP-Client. Plugin und CLI braucht er nicht.

  1. Server destatis-mcp installieren:

    npm i -g @maschinenlesbar.org/destatis-genesis-mcp
  2. In Claude Code hinzufügen:

    claude mcp add destatis -- destatis-mcp

Oder stattdessen das Container-Image starten:

claude mcp add destatis -- docker run -i --rm ghcr.io/maschinenlesbar-org/destatis-genesis-mcp:0.10.0

Andere Clients, den HTTP-Transport, die Optionen und nötige Zugangsdaten beschreibt MCP.md (englisch).

Skills

Die Beschreibungen der Skills sind englisch – Claude wählt anhand dieser Texte den passenden Skill. Ihre Fragen können Sie trotzdem auf Deutsch stellen.

  • /destatis-genesis:destatis-data-fetch

    Fetch and interpret the actual numbers from a DESTATIS GENESIS table, cube or time series using the destatis-genesis-cli, then explain the returned CSV. Trigger when the user asks "get the population of Germany for 2023", "pull Destatis table 12411-0001", "how many births per Bundesland from GENESIS?", "fetch the GDP time series", or has an EVAS code and wants the values narrowed by year and region. Handles the year/region/classifying filters and decodes the ";"-delimited German-format CSV that arrives inside Object.Content.

  • /destatis-genesis:destatis-statistics-finder

    Find the right German official-statistics object (table, statistic, cube or time series) in the DESTATIS GENESIS database using the destatis-genesis-cli. Trigger when the user asks "which Destatis table has population by Bundesland?", "find official statistics on unemployment", "what's the EVAS code for GDP?", "search GENESIS for CO2 emissions data", or needs to turn a topic into a concrete object code before pulling numbers. Searches with find, narrows with catalogue, and confirms the structure with metadata — handing back the exact code to fetch.

  • /destatis-genesis:destatis-table-download

    Export a DESTATIS GENESIS table, cube, time series or saved result to a file (CSV, flat "ffcsv", Excel, HTML or GENML) using the destatis-genesis-cli. Trigger when the user asks "download Destatis table 12411-0001 as CSV", "save the population data to Excel", "export the GENESIS time series to a file", or wants a spreadsheet-ready file rather than JSON in the terminal. Writes the server-rendered download (a ZIP) to a path you confirm, and reports what was written.

Details

Repository
maschinenlesbar-org/destatis-genesis-cli
CLI
@maschinenlesbar.org/destatis-genesis-cli (Befehl destatis)
MCP-Server
@maschinenlesbar.org/destatis-genesis-mcp (Befehl destatis-mcp)
Container-Image
ghcr.io/maschinenlesbar-org/destatis-genesis-mcp
Plugin-Version
0.7.0, aus Tag v0.10.0
Lizenz
AGPL-3.0-or-later
Datenbedingungen
DATA_LICENSE.md
Schlagwörter
destatis, genesis, genesis-online, statistik, official-statistics, germany, opendata, bund.dev