destatis_table

Pack: destatis · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/destatis_table for the schema, then POST the same URL with its arguments for the data.

Fetch a Destatis GENESIS statistical table’s data by its code (get codes from destatis_search), e.g. “12411-0001” (population) or “61111-0001” (consumer price index). Returns the table content (values across its dimensions) plus title. Germany-wide and by Land where the table provides it. A table can offer only a coarse level (e.g. 48112-0001 is WZ sections A-S only; the 4-digit industry rows are in the sibling 48112-0002): call with structure:true to see its dimensions, then filter with classifying_key1 (e.g. WZ08-9200 for gambling and betting) and start_year/end_year. A filtered call takes 12-20s.

Parameters

NameTypeRequiredDescription
table_codestringyesGENESIS table code, e.g. “12411-0001”.
structurebooleannotrue = return the table’s dimensions (variables, time range, classification levels) instead of data. Use it to learn which classification keys a table offers before filtering.
classifying_key1stringnoFilter the table’s 1st classifying variable to these keys (comma-separated, e.g. “WZ08-92” for lotteries/betting in an industry table). Without a filter GENESIS may return only the top level (e.g. WZ sections).
classifying_key2stringnoSame, 2nd classifying variable.
classifying_key3stringnoSame, 3rd classifying variable.
classifying_variable1stringnoName of the 1st classifying variable (from structure:true), e.g. “WZ08”. Optional.
classifying_variable2stringnoName of the 2nd classifying variable. Optional.
classifying_variable3stringnoName of the 3rd classifying variable. Optional.
start_yearstringnoFirst year, e.g. “2022”.
end_yearstringnoLast year, e.g. “2024”.
areastringnoGENESIS area: free (default), public, all, user.

Example call

Arguments

{
  "table_code": "12411-0001",
  "_apiKey": "your-destatis-api-key"
}

curl

curl -X POST https://gateway.pipeworx.io/destatis/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"destatis_table","arguments":{"table_code":"12411-0001","_apiKey":"your-destatis-api-key"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('destatis_table', {
  "table_code": "12411-0001",
  "_apiKey": "your-destatis-api-key"
});

More examples

{
  "table_code": "61111-0001",
  "_apiKey": "your-destatis-api-key"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the destatis pack
{
  "mcpServers": {
    "destatis": {
      "url": "https://gateway.pipeworx.io/destatis/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 30, 2026