All integrations
Statistikbanken

Statistikbanken

Query Danmarks Statistik from Claude, ChatGPT or Cursor via a hosted MCP server. 8 ready-made tools, no API key — set up in minutes.

Manual setup 8 tools

Overview

Official Danish public statistics from Danmarks Statistik's Statistikbanken. No API key required.

Prerequisites

  • A stackgate.ai account

Getting credentials

  1. Open Integrations → Statistikbanken.
  2. Click Activate and choose Danish or English as your preferred response language.

All requests use the public Statistikbanken API and include source attribution.

Using with AI clients

  • Dedicated endpoint: POST /mcp/statistikbanken
  • Private gateway: statistikbanken__* tools

Recommended workflow:

  1. Use find_statistics or list_subjects to discover tables.
  2. Use get_table_info to inspect variables and valid codes.
  3. Use query_statistics for human-readable selections or get_table_data for exact DST selectors.

Attribution

When using data, credit: Source: Danmarks Statistik, Statistikbanken.

Troubleshooting

  • Missing required selections — inspect the table with get_table_info and narrow variables such as area, sex, or age.
  • Large response — narrow periods/variables or use CSV/BULK outside chat for exports.
  • No matching value — use official value codes from tableinfo when a human-readable label is ambiguous.

Available tools

  • list_subjects

    Browse the Danmarks Statistik Statistikbanken subject hierarchy, optionally including tables.

  • search_tables

    Search Statistikbanken tables by subject, update recency, active status, or local text/code filter.

  • get_table_info

    Get Statistikbanken table metadata, including variables and valid codes required for data queries.

  • get_table_data

    Fetch data from a Statistikbanken table using explicit variable/code selections and return normalized JSON-stat rows.

  • find_statistics

    Find candidate Statistikbanken tables for a natural-language topic or keyword.

  • query_statistics

    Query a Statistikbanken table with human-readable variable selections, mapping names to official DST codes.

  • get_latest_from_table

    Fetch the latest period(s) from a Statistikbanken table, using tableinfo to select the time variable.

  • get_updated_tables

    List Statistikbanken tables updated in the last N days.

MCP endpoint: https://stackgate.ai/mcp/statistikbanken (HTTP) or via the private gateway.