io.github.malkreide/swiss-housing-mcp
PYPI · SWISS-HOUSING-MCP
Swiss Register of Buildings and Dwellings (GWR/RegBL): EGID/EWID lookup, geocoding, housing stats
Available components
Last scanned (3 hours ago)
Scores higher than 95% of PyPI servers
Category Maps and Location
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security100
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- Runs hatchling.build at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
- 1 of 31 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency100
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to malkreide/swiss-housing-mcp). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 46 days ago).Pass
- Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability70
- AI-judged instruction clarity (good).Pass
- Context-footprint check failed: tool/resource definitions use about 1063 tokens (~118/item across 9 items; 9 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management100
- No destabilizing schema changes in the last 30 days.Pass
Tool Coverage71
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 0% of tool parameters carry a description.Fail
- Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 9 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 10 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a current MCP spec version (2026-07-28).Pass
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 5 Nov 26 +15
- Malware scan: unverified → pass ▲ security
- 4 Nov 26 −15
- Malware scan: pass → unverified ▼ security
- 3 Nov 26 0
- Stability: 0.97 → pass security
- 2 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.
- 1 Nov 26 +14
- Malware scan: unverified → pass ▲ security
- Stability: pass → 0.93 functional
- 31 Oct 26 −15
- Malware scan: pass → unverified ▼ security
- 28 Oct 26 +15
- Malware scan: unverified → pass ▲ security
- 27 Oct 26 −15
- Malware scan: pass → unverified ▼ security
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 5 Nov 2026 · Analysed pypi/swiss-housing-mcp@0.2.0
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | pypi |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | malkreide/swiss-housing-mcp |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/malkreide/swiss-housing-mcp/.github/workflows/publish.yml@refs/tags/v0.2.0 |
| Rekor log index | 2893274977 |
| Predicate type | PyPI publish attestation https://docs.pypi.org/attestations/publish/v1 |
| Subject digest | sha256:4b1bc0698f85a97533fcf43c8391bba825e4432658cab90454d20172deac90c5 |
Background: How many MCP packages publish verified provenance →
Install scripts 1 script
| Hook | Tier | Command |
|---|---|---|
| build_backend | allowlisted | hatchling.build |
Background: Why install scripts are a supply-chain risk →
Dependencies 31 packages
| Packages resolved | 31 |
|---|---|
| No linked repository | 1 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
address_to_egid ~63
Geocode a Swiss address to EGID/EDID and LV95 coordinates. This is the bridge that makes other data sources EGID-capable: address in → federal building identifier out.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | – |
| limit | integer | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| matches | array | yes | – |
| provenance | string | yes | – |
| query | string | yes | – |
| source | string | – | – |
No examples provided.
buildings_in_bbox ~133
Aggregate buildings/dwellings inside an LV95 bounding box. Enables sub-municipal analysis, e.g. school districts: pass the bounding box of a Schulkreis to count new construction within it. LV95 (EPSG:2056): east ~2'480'000-2'840'000, north ~1'070'000-1'300'000.
| Name | Type | Req | Description |
|---|---|---|---|
| canton | string | – | – |
| e_max | number | yes | – |
| e_min | number | yes | – |
| n_max | number | yes | – |
| n_min | number | yes | – |
| since_year | – | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| bbox_lv95 | array | yes | (e_min, n_min, e_max, n_max) |
| buildings | integer | yes | – |
| dwellings | integer | yes | – |
| dwellings_4plus_rooms | integer | yes | – |
| provenance | string | yes | – |
| since_year | – | yes | – |
| source | string | – | – |
No examples provided.
construction_pipeline ~85
Buildings and dwellings in the planning/construction pipeline of a municipality. Breaks down by status: projected (GSTAT 1001), approved (1002), under construction (1003). Dwellings under construction today are households in 1-3 years — the early indicator for school-space planning.
| Name | Type | Req | Description |
|---|---|---|---|
| canton | – | – | – |
| municipality_bfs | integer | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| municipality | – | yes | – |
| municipality_bfs | integer | yes | – |
| note | string | – | – |
| pipeline | array | yes | – |
| provenance | string | yes | – |
| source | string | – | – |
No examples provided.
dump_status ~55
Cache status of the cantonal GWR dumps (graceful-degradation entry point). Always returns an evaluable status — never silently empty records. If a source is unreachable, this tool tells you when data was last refreshed.
Input schema present but exposes no named parameters.
| Name | Type | Req | Description |
|---|---|---|---|
| dumps | array | yes | – |
| note | string | yes | – |
| provenance | string | yes | – |
| source | string | – | – |
| ttl_hours | number | yes | – |
No examples provided.
explain_code ~72
Decode a GWR code value (e.g. GSTAT=1004, GKAT=1020) into human-readable labels. Uses the official code table shipped with the dump (DE/FR/IT).
| Name | Type | Req | Description |
|---|---|---|---|
| attribute | string | yes | – |
| canton | string | – | – |
| code | integer | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| explanations | array | yes | – |
| provenance | string | yes | – |
| source | string | – | – |
No examples provided.
lookup_building ~61
Look up a single building by its EGID (federal building identifier). Uses the live geo.admin.ch API — always current, no dump download needed. The EGID is the join key used across Swiss administrative data.
| Name | Type | Req | Description |
|---|---|---|---|
| egid | integer | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| building | – | – | – |
| found | boolean | yes | – |
| provenance | string | yes | – |
| source | string | – | – |
No examples provided.
lookup_dwellings ~55
List all dwellings (EWID) of a building from the daily cantonal dump. Includes rooms, floor area, floor and status per dwelling.
| Name | Type | Req | Description |
|---|---|---|---|
| canton | string | – | – |
| egid | integer | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| count | integer | yes | – |
| dwellings | array | yes | – |
| egid | integer | yes | – |
| provenance | string | yes | – |
| source | string | – | – |
No examples provided.
municipality_housing_stats ~40
Housing stock overview of a municipality: buildings, dwellings, room-size mix.
| Name | Type | Req | Description |
|---|---|---|---|
| canton | – | – | – |
| municipality_bfs | integer | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| buildings_residential | integer | yes | – |
| buildings_total | integer | yes | – |
| dwellings_by_rooms | object | yes | – |
| dwellings_total | integer | yes | – |
| municipality | – | yes | – |
| municipality_bfs | integer | yes | – |
| provenance | string | yes | – |
| source | string | – | – |
No examples provided.
new_construction ~97
New residential construction per year for a municipality (existing buildings). Returns buildings, dwellings and 4+ room dwellings per year — the 4+ room share is a proxy for family housing and thus for future pupil numbers. Municipality is identified by its BFS number (e.g. 261 = City of Zurich).
| Name | Type | Req | Description |
|---|---|---|---|
| canton | – | – | – |
| municipality_bfs | integer | yes | – |
| since_year | integer | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| family_share_pct | number | yes | Share of 4+ room dwellings — proxy for family housing |
| municipality | – | yes | – |
| municipality_bfs | integer | yes | – |
| per_year | array | yes | – |
| provenance | string | yes | – |
| since_year | integer | yes | – |
| source | string | – | – |
| total_dwellings | integer | yes | – |
| total_dwellings_4plus_rooms | integer | yes | – |
No examples provided.
How do I install the io.github.malkreide/swiss-housing-mcp server?
io.github.malkreide/swiss-housing-mcp runs locally as a PyPI package, launched with uvx swiss-housing-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
pypi · swiss-housing-mcp
claude mcp add malkreide-swiss-housing-mcp -- uvx swiss-housing-mcp
What is the io.github.malkreide/swiss-housing-mcp server?
io.github.malkreide/swiss-housing-mcp is listed in the public MCP registry as io.github.malkreide/swiss-housing-mcp. Swiss Register of Buildings and Dwellings (GWR/RegBL): EGID/EWID lookup, geocoding, housing stats. This page covers its PyPI package (swiss-housing-mcp).
Is the io.github.malkreide/swiss-housing-mcp server safe to use?
io.github.malkreide/swiss-housing-mcp scores 92 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the io.github.malkreide/swiss-housing-mcp server expose?
io.github.malkreide/swiss-housing-mcp exposes 9 tools: lookup_building, address_to_egid, lookup_dwellings, new_construction, construction_pipeline, and 4 more. Their descriptions and schemas cost roughly 661 tokens of context every time the server is loaded.
Is the io.github.malkreide/swiss-housing-mcp server still maintained?
io.github.malkreide/swiss-housing-mcp is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the io.github.malkreide/swiss-housing-mcp server under?
io.github.malkreide/swiss-housing-mcp declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.