Swiss Statistics MCP server
BFS STAT-TAB PxWeb API for official Swiss statistics
not scanned yet
2 stars
Reviews
Write oneNobody has reviewed Swiss Statistics yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Swiss Statistics tools
No tool declarations could be read from the package source. They show once the server is installed.
How Swiss Statistics compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 85/100
- higher than 70% of 48,255 servers
- GitHub stars
- 2
- more than 75% of 28,688 servers
Release history: 2 versions in the registry since 2026-08-03, latest 2026-09-26, typically one every 54 days.
Install Swiss Statistics in Claude Code, Cursor or VS Code
claude mcp add swiss-statistics-mcp -- uvx swiss-statistics-mcp
What the publisher says
From the Swiss Statistics repository's README, as published. We do not edit it. Read it on GitHub
🇨🇭 Part of the Swiss Public Data MCP Portfolio
📊 swiss-statistics-mcp
MCP Server for Swiss Federal Statistical Office (BFS) data via STAT-TAB PxWeb API — 682 datasets across 21 themes, no authentication required
🇩🇪 Deutsche Version
Demo
Maturity
This server is Alpha (0.x) as per the PyPI classifier. Until 1.0:
- Tool names, input schemas, and output JSON keys MAY change between minor versions
- Pin cloud deployments to a specific git tag, not main
- Production use is acceptable for read-only Open Data scenarios; consider it experimental for anything user-facing
See CHANGELOG.md for breaking changes.
Overview
swiss-statistics-mcp provides AI-native access to the Swiss Federal Statistical Office (BFS) via the STAT-TAB PxWeb API, without authentication:
Anchor demo query: "How many students attended lower secondary schools in the canton of Zurich in 2024?" — real BFS figures, no hallucination.
Features
- 📊 15 tools: 8 across 21 statistical themes (682 datasets) + a 4-tool commune/historical reference layer + 2 construction/real-estate tools + a price-index tool
- 🔍 Full-text search across the entire BFS data catalogue
- 🎓 Convenience tools for education statistics and population data
- 🏗️ Construction statistics — new buildings/dwellings and building investment incl. the Arbeitsvorrat leading indicator
- 🏠 Price indices — construction price index (Baupreisindex, parsed series) and residential property price index (IMPI) via the BFS DAM/CKAN sources
- 🏔️ Cross-cantonal comparison for any table and variable
- 🔓 No API key required — all data under open licences
- ☁️ Dual transport — stdio (Claude Desktop) + Streamable HTTP (cloud)
Prerequisites
- Python 3.11+
- uv (recommended) or pip
Installation
# Clone the repository
git clone https://github.com/malkreide/swiss-statistics-mcp.git
cd swiss-statistics-mcp
# Install
pip install -e .
# or with uv:
uv pip install -e .Or with uvx (no permanent installation):
uvx swiss-statistics-mcpQuickstart
# stdio (for Claude Desktop)
python -m swiss_statistics_mcp.server
# Streamable HTTP, loopback only (default: host=127.0.0.1, port=8000)
python -m swiss_statistics_mcp.server --http --port 8000
# Streamable HTTP, all interfaces (only behind a reverse proxy with access control)
MCP_HOST=0.0.0.0 python -m swiss_statistics_mcp.server --http --port 8000
# or
python -m swiss_statistics_mcp.server --http --host 0.0.0.0 --port 8000Try it immediately in Claude Desktop:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Swiss Statistics: common questions
- Is Swiss Statistics MCP server safe?
- Yes, by our scan: it is graded A (85/100). Read the Swiss Statistics safety report
- How do I install Swiss Statistics?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Swiss Statistics need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Swiss Statistics maintained?
- The last commit was 41 days ago (2026-09-23). The latest release is v0.8.0.
- How does Swiss Statistics compare with other MCP servers?
- safety score 85/100 (higher than 70% of 48,255 servers); github stars 2 (more than 75% of 28,688 servers). Full comparison.