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

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

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

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 is Germany's current population by Bundesland?"
  • "Search for tables about consumer price index"
  • "Show me the latest foreign trade statistics"
  • "Get metadata for table 12411-0001"

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?

Your Destatis GENESIS Statistics agent is one click away.

Install the connector, paste the key, prompt Gemini. Free for 7 days, no credit card.

Related guides