Statistik Austria Mcp

io.github.DV155由 GitHub 帳號 DV155 發布v1.1.0更新於 Oct 30, 2026

Search and query Statistik Austria open data (OGD) with codes resolved to readable labels.

概覽

AI 產生的概覽

讓助理搜尋奧地利統計局開放資料目錄、檢視資料集結構,並取得把代碼值轉為可讀德文標籤的資料。

可以做什麼
  • 依關鍵字搜尋 OGD 目錄,回傳符合的資料集 ID 與標題
  • 讀取資料集的維度與量值及其代碼
  • 取得資料集資料,代碼轉為德文標籤、標記總計列,可依維度值篩選並分頁且回報總列數
  • 透過 ogd://catalog 資源讀取目錄的分類
適用情境
適合需要助理根據奧地利官方統計的免費開放政府資料回答問題,而不必自行下載並貼上 CSV 檔的情境。
執行需求
以 stdio 在本機執行;需要 uv(uvx 會自動安裝並啟動,並下載相符的 Python 版本)以及 Claude Desktop、Claude Code 等 MCP 用戶端。未宣告需要帳號、API 金鑰或環境變數。需要能連線至奧地利統計局入口網站的網路;首次啟動及首次請求大型資料集時,因下載相依套件與資料會較慢。
安裝前請注意
資料來自第三方公開入口網站,並在本機快取一小時。僅支援免費 OGD 入口網站,不支援付費的 STATcube API。搜尋依賴入口網站的 HTML 頁面結構,頁面改版可能導致搜尋失效。部分資料集(zip 壓縮檔、WFS/WMS 地圖服務)無法讀取。發布以此資料取得的結果時,應依 CC BY 4.0 註明奧地利統計局為來源。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Statistik Austria Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README


Statistik Austria MCP Server

An MCP server that gives AI assistants access to Statistik Austria's open data portal

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Data Source
  5. Contributing
  6. License
  7. Contact

About The Project

A Model Context Protocol server for the free Open Government Data portal of Statistik Austria (data.statistik.gv.at). It lets an AI assistant such as Claude search the catalog, read a dataset's structure and fetch its data directly, instead of you downloading and pasting CSV files.

The portal publishes each dataset as a set of files with coded values, so a raw table is hard for a model to read correctly. The server joins the classification files onto the data, so every value arrives as a readable German label together with its original code, and marks the rows that are totals of other rows.

Built as a personal learning project to practise building MCP servers.

Features:

  • Keyword search over the full OGD catalog (around 540 datasets)
  • Dataset metadata: dimensions and measures
  • Data with codes resolved to German labels, formatted label <code>
  • Total rows are flagged, so the assistant doesn't add a total to its own parts
  • Filters by dimension value, so large tables don't have to be read in full
  • Paging that never drops rows silently: every response says how many rows exist and where to continue
  • Clear messages for datasets in formats the server can't read, instead of a bare error
  • Downloads are cached for an hour, so paging through a dataset doesn't download it again

Built With

(back to top)

Getting Started

The server runs locally on your computer and talks to your MCP client over stdio. uvx installs and starts it, so there is nothing to clone for normal use.

Prerequisites

  • uv (it downloads a matching Python version automatically)
  • Git
  • Claude Desktop or Claude Code (or any other MCP client)

Installation

Claude Desktop

  1. Open the config file. In Claude Desktop, go to Settings → Developer → Edit Config, or open it directly:
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  2. Add the server
    json
    {  "mcpServers": {    "statistik-austria": {      "command": "uvx",      "args": ["--from", "git+https://github.com/DV155/Statistik-Austria-MCP-Server", "statistik-austria-mcp"]    }  }}
  3. Quit Claude Desktop completely and start it again.

Claude Code

sh
claude mcp add --transport stdio --scope user statistik-austria -- uvx --from git+https://github.com/DV155/Statistik-Austria-MCP-Server statistik-austria-mcp

The first start takes a while, because uv installs the dependencies (pandas is the largest). To get that out of the way, run the uvx command above once in a terminal and stop it with Ctrl+C once it is running. If Claude can't find uvx, replace "uvx" with its full path (which uvx shows it). Claude Desktop writes the server's logs to %APPDATA%\Claude\logs on Windows and ~/Library/Logs/Claude on macOS.

Local development

  1. Clone the repo
    sh
    git clone https://github.com/DV155/Statistik-Austria-MCP-Server.gitcd Statistik-Austria-MCP-Server
  2. Install the dependencies
    sh
    uv sync
  3. Start the server in the MCP Inspector
    sh
    uv run mcp dev src/statserver/server.py

(back to top)

Usage

Ask Claude a question about Austrian statistics, and it uses the tools on its own.

ToolWhat it does
search_datasetSearches the catalog by keyword and returns matching dataset IDs and titles
fetch_dataset_jsonReturns a dataset's dimensions and measures with their codes
fetch_dataset_csvReturns the data with labels, total-row flags and paging; filters keeps only the rows for given dimension values

The server also provides an ogd://catalog resource with the catalog's categories.

Tip: the catalog's titles are German, so the server searches in German. Claude translates the question itself, but asking in German works just as well.

Limitations

Tested against all 543 datasets in the catalog in October 2026:

  • 474 load fully
  • 66 are published in formats the server can't read (zip archives and map services such as WFS and WMS); the server says so instead of failing
  • 2 contain no data rows
  • 1 (OGDEXT_BINNENWAND_1) loads without labels and slowly

Other limitations:

  • Only the free OGD portal is supported, not the paid STATcube API
  • The catalog is read from the portal's HTML page, so search stops working if Statistik Austria changes that page's structure
  • The first request for a very large dataset can take several seconds while it downloads

(back to top)

Data Source

All data comes from Statistik Austria - data.statistik.gv.at, licensed under CC BY 4.0. When you publish results obtained through this server, credit Statistik Austria as the source.

This is an independent project and is not affiliated with or endorsed by Statistik Austria.

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Top contributors:

[contrib.rocks image]

License

Distributed under the MIT license. See LICENSE for more information.

(back to top)

Contact

Daniil Vasilcovschii - LinkedIn - GitHub

Project Link: https://github.com/DV155/Statistik-Austria-MCP-Server

(back to top)

來源:README.md,提交 eef6166

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:軟體包安裝失敗。

版本歷史

2
  1. v1.1.0最新Oct 30, 2026
  2. v1.0.0Oct 30, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分