Connector guide2-minute read5 MCP tools7 languages

How to Connect Destatis to Gemini — via MCP

Connect German federal statistics (Destatis) to Gemini using MCP. Access population, trade, and economic data with natural language.

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

Summary

Connect German federal statistics (Destatis) to Gemini using MCP. Access population, trade, and economic data with natural language.

Guided setup

Connect Destatis GENESIS Statistics to Gemini in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Destatis GENESIS Statistics in the guided setup, then add your MCP URL to Gemini. No code and no server to run.

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

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.

Connect Destatis GENESIS to Gemini

Destatis (Statistisches Bundesamt) provides official German federal statistics via the GENESIS API. With AnythingMCP, you can connect Destatis data to Gemini and explore statistical tables using natural language.

What You Can Do

  • "What was the population of München (Landkreis) on 31.12.2025 according to Destatis?"
  • "Compare unemployment rate trends 2022–2025 for Bayern, Niedersachsen and Sachsen; highlight the highest and fastest change."
  • "I need 2025 import value for machinery from Destatis: find the trade category, locate the table for machine imports and fetch the 2025 value."
  • "Use Destatis population figures for Ostwestfalen-Lippe to inform our headcount forecast: what's the population change 2020→2025 and what hiring adjustment would you recommend?"

Setup

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
  1. Open http://localhost:3000/connectors/store and import the Destatis GENESIS Statistics adapter
  2. Enter your Destatis GENESIS username and password (register at genesis.destatis.de)
  3. Assign the connector to an MCP server

Connect Gemini

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Gemini CLI reads MCP servers from ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json). Add:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of YOUR_MCP_API_KEY.
  2. Save the file and restart gemini.
  3. Run /mcp inside Gemini CLI (or gemini mcp list in your shell) — anythingmcp should show as connected.
  4. Start prompting — Gemini CLI can now call the Destatis GENESIS tools.

Self-hosting with the quickstart above? Use your server's local endpoint http://localhost:4000/mcp/<server-id> as the URL.

Available Tools

ToolDescription
destatis_search_tablesSearch for statistical tables by keyword
destatis_get_tableRetrieve data from a specific table
destatis_get_table_metadataGet table structure and dimensions
destatis_list_statisticsBrowse available statistics categories
destatis_login_checkVerify that the configured GENESIS credentials work and report which account the API sees

FAQ

Where does Gemini CLI look for MCP servers? In ~/.gemini/settings.json for your user, or in .gemini/settings.json inside a project. gemini mcp list shows each server and whether it connects.

Next steps

Was this guide helpful?

Connect Destatis GENESIS Statistics to Gemini in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Destatis GENESIS Statistics in the guided setup, then add your MCP URL to Gemini. No code and no server to run.

Related guides