Skip to main content
Glama

destatis-mcp

Unofficial MCP server for the tables of the Federal Statistical Office (Statistisches Bundesamt, Destatis) from GENESIS-Online. One table per GENESIS table, searchable by titles and code labels, queryable with SQL, with dated snapshots and citations.

The source and its known problems are in src/destatis_mcp/SOURCE.md.

pip install .                                    # Python 3.10 or newer

The API needs a free personal token: register at https://www-genesis.destatis.de, log in, and copy the token from "Webservice-Schnittstelle (API)".

export GENESIS_TOKEN=...                          # never commit it
destatis-mcp --data-dir ~/destatis-data update --max-files 50 --allow-partial  # a first sample
destatis-mcp --data-dir ~/destatis-data update    # everything
destatis-mcp --data-dir ~/destatis-data serve     # MCP over stdio

Tools: find_tables, describe_table, list_codes, query_sql, list_versions, source_status. Resources: destatis://readme, destatis://tables, table://destatis/<table>.

Data: © Statistisches Bundesamt (Destatis), Datenlizenz Deutschland – Namensnennung – Version 2.0.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables querying Germany's official statistics from Destatis GENESIS-Online through natural language or direct tool calls.
      128 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Search Statistics Finland's StatFin database (3,000+ tables), inspect table variables, and query clean flattened statistics on population, economy, labour and regions.
      5 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables querying, sampling, and exporting datasets from over twenty keyless free public data sources spanning the EU, Switzerland, Germany, the US, and global providers through one uniform set of tools. A single consistent interface lets users list databases and tables, inspect schemas and query guides, run queries, and export results as CSV or JSON without per-API clients.
      Apache 2.0
    • A
      license
      Not graded
      quality
      A
      maintenance
      Provides universal access to over 800,000 economic time series through three tools that browse the full catalog by category, release, or source, search by keywords, tags, and filters, and retrieve observations with date ranges, frequency aggregation, and transformations such as percent change or natural log. It also supports stdio, Docker, and Streamable HTTP transports with caching, rate limiting, and retry handling for deployment in AI assistant clients.
      312 npm
      AGPL 3.0