Swiss public procurement (simap.ch): tenders, awards, CPV codes, all cantons + federal, read-only
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Part of the Swiss Public Data MCP Portfolio β open-source MCP servers connecting AI agents to Swiss public and open data.
This is a private project. It is independent of any employer or institutional affiliation and represents no official position of any authority.
MCP server for Swiss public procurement β read access to the official simap.ch API, covering all cantons and the Confederation, updated intraday.
Β«Which school-building tenders did the City of Zurich publish in 2026, which BKP construction categories do they concern, and who are the procuring offices?Β»
A single search_procurements_detailed(query="Schulhaus", canton="ZH", published_from="2026-01-01")
returns the leading tenders already expanded with their BKP construction codes and
procuring offices β connecting procurement to school-building planning in one call
(optionally paired with search_construction_codes to resolve a category).
Swiss public procurement is published on simap.ch. The platform's web UI is
searchable by hand, but the amtsblatt-mcp
server only reaches the three cantons (AR, BS, TI) that still mirror tenders to
the Amtsblattportal β Zurich among the missing.
simap closes that gap: it operates a documented OpenAPI 3 read API (v1.5.1)
whose search and detail endpoints are marked security: None and are callable
without authentication. This server wraps exactly those read endpoints.
Mnemonic: The web UI is the front door; the API is the loading dock. Probe the dock.
Architecture A (live API only, short-lived cache).
my/ / OIDC-protected endpoints (publishing tenders,
submitting offers) are out of scope β this server never writes.Every response carries source and provenance (live_api / cached /
degraded). Upstream failure yields a degraded envelope, never a silent empty
list.
| Endpoint | Auth | Result |
|---|---|---|
/publications/v2/project/project-search | none | 20 hits, canton filter, current-day |
/publications/v1/.../publication-details/... | none | full record: criteria, deadlines, codes |
/publications/v1/publication/{id}/past-publications | none | project lifecycle |
/codes/v1/cpv/search | none | CPV full-text search |
/codes/v1/{bkp,npk,ebkp-h,ebkp-t,oag,cpc}/search | none | Swiss construction codes |
/procoffices/v1/po/public | none | ~1 MB office list (client-side filter) |
/cantons/v1, /countries/v1 | none | reference data |
www.simap.ch/api.
The simap.ch/de web UI is a separate SSR app that exposes none of it β
probing the UI produced an earlier, mistaken "no API" verdict.lang is mandatory on project-search. Omitting it is HTTP 400
(errorCode E0025), not an empty result. The client injects a default.newestPubTypes=award returns HTTP 400. Awards are
split by procedure: award_tender, award_study_contract,
award_competition, direct_award. The search_awards tool queries all four.ZH, not CH-ZH. Passing an ISO subdivision code
silently matches nothing; this server rejects it with a clear error.| Tool | Purpose |
|---|---|
search_procurements | Search projects by canton, CPV, process type, date, text |
search_procurements_detailed | Search + full detail for the top n hits in one call (aggregated) |
search_awards | Awarded contracts only (all four award types at once) |
get_procurement_details | Full record for one publication |
get_publication_history | Earlier publications of the same project (tender β award) |
search_cpv_codes | Resolve keywords to CPV classification codes |
search_construction_codes | Swiss construction codes (BKP, NPK, eBKP, OAG, CPC) |
find_procurement_office | Public procurement offices by partial name |
source_status | Reachability and latency of the simap.ch API |
All tools carry readOnlyHint, idempotentHint and openWorldHint (they query
the live simap.ch API).
Every tool takes a single validated argument object. Bounds, allow-lists and
patterns are declared on the input models in
inputs.py β so an out-of-range limit or
an unknown canton is rejected before any upstream request, and the constraints
are visible to the model in the tool schema rather than buried in the tool body:
The models set strict=True (no silent "10" β 10 coercion) and
extra="forbid" (unknown fields are rejected, not ignored). The canton, process
type, publication type, code system and language allow-lists are derived from
constants.py, so they cannot drift from the probe-verified tables.
canton= meanssimap offers exactly one geographic filter, orderAddressCantons, and it selects
by where the work is delivered β not by who is procuring. When a procuring
office files a free-text address, the structured canton is null and the
publication is invisible to that filter. Measured CH-wide over 500 projects
published since 2026-07-01: 303 (60.6%) carry no canton, among them the Amt
fΓΌr Hochbauten ZΓΌrich, GrΓΌn Stadt ZΓΌrich, USZ, BBL and SBB.
canton_match therefore makes the question explicit:
| Value | Matches | Zurich, 2026-07-01β¦27 |
|---|---|---|
procuring_body (default) | procured by that canton's public bodies, incl. communal and subordinate offices (issuedByOrganizations) | 410 projects |
place_of_delivery | the work is delivered there (orderAddressCantons) | 263 projects |
both | union of the two; two upstream calls, no pagination | 441 projects |
The 31 projects only place_of_delivery finds are federal bodies procuring in
Zurich (ETH, Empa, Flughafen ZΓΌrich AG) β a different question, not a gap, which
is why this is three explicit semantics rather than a silent union.
Every response states in note which semantics were applied.
register-mcp.zh-education-mcp.amtsblatt-mcp with
national coverage instead of three cantons.The image is multi-stage and runs as a non-root system user. compose.yaml
adds a read-only root filesystem, drops all capabilities, sets
no-new-privileges, and caps memory, CPU and PIDs. No secret is needed at
runtime β the wrapped simap.ch endpoints are public.
CI builds the image on every push and asserts both properties that matter:
that the container does not run as uid 0, and that the server still imports
under --read-only --cap-drop ALL.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/swiss-procurement-mcp)<a href="https://allmcps.com/mcp/swiss-procurement-mcp"><img src="https://allmcps.com/api/badge/swiss-procurement-mcp?style=directory" alt="Swiss Procurement MCP on AllMCPs" /></a>