SuperAPIAI Directory

Statistik-Austria-MCP-Server

github.com · AI developer platforms

Statistik Austria MCP Server is a local server based on the Model Context Protocol (MCP) that lets AI assistants directly query the free Open Government Data (OGD) portal of Statistics Austria (Statistik Austria). It supports keyword search across roughly 540 datasets, reading dataset structures and metadata, filtering by dimension values and retrieving data with pagination, while joining coded values to readable German labels and marking total rows. The server communicates via stdio with MCP clients such as Claude Desktop and Claude Code, can be installed and started with uvx, and caches downloaded results for one hour. The project is a personal learning effort and supports only the free OGD portal, not the paid STATcube API.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose: This project is a Model Context Protocol (MCP) server for the free Open Government Data portal of Statistics Austria (Statistik Austria), data.statistik.gv.at. It lets AI assistants such as Claude directly search the catalog, read dataset structures and retrieve data, so users do not have to manually download CSVs and paste them to the model.

Main capabilities:

  • Keyword search across the full OGD catalog (roughly 540 datasets).
  • Reading dataset metadata, including dimensions and measures.
  • When retrieving data, classification files are joined to the data table so that each value is presented as "German label <code>", and rows that are totals of other rows are marked so the assistant does not double-count totals.
  • Supports filtering by dimension values to avoid reading entire large tables.
  • Pagination does not silently drop rows: each response states the total row count and where to continue.
  • Gives a clear notice for formats the server cannot read, instead of simply erroring out.
  • Downloaded results are cached for one hour, so paging through the same dataset does not re-download it.
  • Provides an ogd://catalog resource containing the catalog categories.

Usage: The server runs locally and communicates with MCP clients via stdio. Normal use requires no repository clone; it can be installed and started with uvx. For Claude Desktop, for example, add an mcpServers entry to the configuration file with command set to uvx and args set to --from, git+https://github.com/DV155/Statistik-Austria-MCP-Server、statistik-austria-mcp,然后完全退出并重启 Claude Desktop. The first launch installs dependencies (pandas being the largest) and takes a while; you can run the above uvx command once in a terminal to warm it up first. If Claude cannot find uvx, you can replace it with its full path. For local development, clone the repository, run uv sync to install dependencies, and start it in MCP Inspector with uv run mcp dev src/statserver/server.py.

Use cases: Use when you want an AI assistant to query official Austrian statistics, search datasets, filter by dimension and read data with readable labels. Catalog titles are in German, the server searches in German, and questions can also be asked in German.

Limitations: Only the free OGD portal is supported, not the paid STATcube API; the catalog is read from the portal's HTML pages, so search breaks if the page structure changes; very large datasets may take several seconds to download on the first request. According to testing in October 2026 of all 543 datasets in the catalog, 66 are zip archives or map service formats such as WFS/WMS, which the server cannot read but will clearly explain; 2 contain no data rows; 1 (OGDEXT_BINNENWAND_1) loads without labels and is slow. Data comes from Statistik Austria under the CC BY 4.0 license, and the source must be cited when publishing results; the project is independent and not affiliated with Statistik Austria. The project is released under the MIT license.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools