Swiss Statistics MCP

🇩🇪 Deutsche Version This server is Alpha (0.x) as per the PyPI classifier. Until 1. Its 15 documented tools cover bfs, commune, historical, construction. It runs locally over stdio via the published package.

People connecting security tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-08-24 · ★ 2 · #59 OF 182 MAINTAINED SECURITY · VERIFIED 2026-08-25

MIT · Python servers · how we verify → /methodology

01 · Install Swiss Statistics MCP

before you install - you'll need

MCP_HOST

Environment variables documented in the project's README - it lists which are required and which have defaults.

Claude Code

claude mcp add malkreide-swiss-statistics-mcp -- uvx swiss-statistics-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "malkreide-swiss-statistics-mcp": {
      "command": "uvx",
      "args": [
        "swiss-statistics-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

pypi package swiss-statistics-mcp - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.malkreide is GitHub-verified and matches the repo owner

03 · What Swiss Statistics MCP can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can browse the catalogue: all 21 themes (no theme_code), or all tables in a theme (e.g. theme_code="15" = Education and Science), resolve a commune by name or BFS number as of a given date (canton, validity, LINDAS URI), map a historical BFS number onto today's number(s) - re-key old statistics across fusions, and list all communes of a canton as of a given date.

Capability map

Tools grouped from the project's README - what Swiss Statistics MCP lets an agent do.

Bfs

11 tools - e.g. Curated list of highly relevant datasets (focus on education and demographics); Browse the catalogue: all 21 themes (no theme_code), or all tables in a theme (e.g. theme_code="15" = Education and…

bfs_featured_datasets · bfs_browse_catalog · bfs_search_tables · bfs_get_table_metadata · bfs_get_data · bfs_education_stats…

read & search

3 tools - e.g. Resolve a commune by name or BFS number as of a given date (canton, validity, LINDAS URI); List all communes of a canton as of a given date; Search long-run time series in Historical Statistics of…

lookup_commune · list_communes · search_historical_series

Resolve

1 tool - e.g. Map a historical BFS number onto today's number(s) - re-key old statistics across fusions

resolve_historical_commune

Latest releases

v0.7.2 · 2026-08-03

Release-Publish auf einen Pfad konsolidieren · 0.7.2 - Paket nach PyPI-Löschung wieder installierbar machen

v0.7.1 · 2026-08-02

[0.7.1] - 2026-08-02 · Fixed · tenacity carried no upper bound, and the index already serves a major past · the floor. The declared range was tenacity>=8.0.0; PyPI has been serving · 9.1.4. The artefact does not change…

v0.7.0 · 2026-07-31

[0.7.0] - 2026-07-31 · Changed · Migrated to the mcp Python SDK 2.x. mcp[cli] moves from >=1.28.1,<2 · to >=2.0.0,<3, FastMCP → MCPServer (mcp.server.mcpserver). The lower · bound is hard: 2.0.0 removed…

04 · Who maintains Swiss Statistics MCP

swiss-statistics-mcp is maintained by malkreide. We track 43 MCP servers from malkreide - 42 actively maintained, 36 combined GitHub stars, oldest repo from Feb 2026. Full record: all servers from malkreide.

  1. zurich-opendata-mcp City of Zurich weather, air quality, parking, geodata, Gemeinderat, tourism ★ 8
  2. swisstopo-mcp Swiss federal geodata: geocoding, height, STAC, WMTS, OEREB and more ★ 8
  3. fedlex-mcp Swiss federal law, consultations (Fedlex) & TERMDAT terminology (LINDAS) via SPARQL ★ 3
  4. swiss-transport-mcp OJP 2.0 journey planning, SIRI-SX disruptions, occupancy, fares, train formation ★ 4
  5. swiss-democracy-mcp Parliament OData, Swissvotes, referendums, voting results ★ 2

05 · Facts

category
security - ranked #59 of 182 actively-maintained security servers as of 2026-08-25.
release cadence
4 releases in the last 90 days (latest 2026-08-03)
registry
io.github.malkreide/swiss-statistics-mcp (active, first published 2026-06-07 · 5 versions)
packages
pypi:swiss-statistics-mcp

06 · Swiss Statistics MCP FAQ

Is Swiss Statistics MCP still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-24 and it shipped 4 releases in the last 90 days. We re-verify nightly.

What can Swiss Statistics MCP do?

With this server connected, an agent can browse the catalogue: all 21 themes (no theme_code), or all tables in a theme (e.g. theme_code="15" = Education and Science), resolve a commune by name or BFS number as of a given date (canton, validity, LINDAS URI), map a historical BFS number onto today's number(s) - re-key old statistics across fusions, and list all communes of a canton as of a given date.

How do I install Swiss Statistics MCP?

Run `uvx swiss-statistics-mcp`. The README documents one environment variable (MCP_HOST) to set first. You can also paste the ready-made client config above.

Does Swiss Statistics MCP run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Swiss Statistics MCP

More security MCP servers · Job Board Keyword Signal Scanner · Server Scf · Mastyf AI · MCPAmpel - MCP Security Scanner · Customs

More Python MCP servers · Swiss Transport MCP · Swisstopo MCP · Zurich Opendata MCP · Web3 Signals · Manticore Search · see all