Connector guide2-minute read5 MCP toolsEN · DE · IT

How to Connect Destatis GENESIS Statistics to MCP

Access official German federal statistics from the Statistisches Bundesamt via AI agents and MCP. Population, economy, trade, labor market data.

HCBy HelpCode teamUpdated 2 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Destatis GENESIS Statistics

Destatis GENESIS Statistics

Access official German federal statistics from Destatis (Statistisches Bundesamt) via the GENESIS API. Population, economy, trade, labor market, prices, and more.

tools

5

Region

DE

Category

Government

Authentication

API Key

Required env vars

DESTATIS_USERNAME_OR_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Destatis GENESIS Statistics in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

Access official German federal statistics from the Statistisches Bundesamt via AI agents and MCP. Population, economy, trade, labor market data.

Try asking

Example prompts for Destatis GENESIS Statistics

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Destatis GENESIS Statistics · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

Destatis GENESIS Statistics with AI Agents

Destatis (Statistisches Bundesamt) is Germany's federal statistics office. The GENESIS API provides access to official data on population, economy, trade, labor market, prices, and more.

Quick Setup with Built-in Adapter

Step 1: Deploy AnythingMCP

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 2: Get GENESIS Credentials

Register for a free account at genesis.destatis.de.

Destatis recommends identifying with a personal API token rather than your password: log in, open the "Webservice-Schnittstelle (API)" modal and copy the 32-character token. It can be regenerated independently of your password, which is useful for shared projects. Note that a token allows read access only — very large table queries that Destatis pushes into its queue (job=true) still require username and password.

Step 3: Import the Destatis Adapter

Open http://localhost:3000/connectors/store and click Import on the Destatis GENESIS Statistics adapter. Put either your API token or your Nutzerkennung into the Username or Token field. The Password field is optional — leave it blank when using a token.

Authentication note: Destatis permanently shut down GET requests with credentials in the URL on 30 June 2025. The API is now reachable only via POST with credentials in the HTTP header, and this adapter is configured accordingly. find/find is a public service: it answers Code: 0 with the same results whether or not credentials are sent, so an empty table search means the search genuinely found nothing and never indicates a credential problem. The data, metadata and catalogue services are gated: Code: 15 means the credentials never arrived, Code: 2 that they arrived but are wrong. To see which account is answering, run destatis_login_check — it reports isGuest: true when the request runs as the anonymous GAST account.

Upgrading an older install: remove the connector and install it again from the store rather than re-syncing it. The catalogue re-sync refreshes tool definitions but not a connector's authentication type or base URL, so a re-synced old connector would still send its credentials as URL parameters against the retired host.

Step 4: Connect to Your AI Agent

{
  "mcpServers": {
    "destatis": {
      "url": "http://localhost:4000/mcp"
    }
  }
}

Available Tools

ToolDescription
destatis_login_checkVerify credentials and confirm which account the API sees
destatis_search_tablesSearch for statistical tables by keyword
destatis_get_tableRetrieve data from a specific statistical table
destatis_get_table_metadataGet metadata and definitions for a table
destatis_list_statisticsList all available statistics catalogs

AI Agent Use Cases

  • "What is Germany's current population?"
  • "Show GDP growth for the last 10 years"
  • "What's the unemployment rate in Bavaria?"
  • "Search for consumer price index data"

Was this guide helpful?

Your Destatis GENESIS Statistics agent is one click away.

Install the connector, paste the key, prompt any MCP client. Free for 7 days, no credit card.

Related guides