seco-labor-mcp
The seco-labor-mcp server provides access to Swiss labor market statistics from SECO and AMSTAT via opendata.swiss, enabling AI models and applications to query unemployment, job seeker, and open position data without any API key.
Available tools:
seco_search_datasets– Search the Swiss Open Government Data portal for SECO labor market datasets by keyword (German or English), returning titles, IDs, and download links.seco_get_dataset– Retrieve full metadata and resource download URLs for a specific dataset by ID or slug.seco_get_unemployment_overview– Fetch national or cantonal unemployment figures, including rates and year-over-year comparisons, with optional canton/year filters.seco_get_youth_unemployment– Access unemployment data for 15–24 year olds, useful for educational planning, vocational guidance, and apprenticeship market monitoring.seco_get_job_seekers– Get Stellensuchende statistics (broader than unemployed; includes people in retraining/ALV programs) at national or cantonal level.seco_get_open_positions– Retrieve open job position statistics as a leading indicator for labor market demand and sector analysis.seco_get_unemployment_by_occupation– Get unemployment breakdowns by occupational group (Berufshauptgruppe) for vocational counseling and identifying high-risk or high-demand professions.seco_get_monthly_report_url– Generate and validate URLs for SECO's monthly labor market press report PDF in German, French, or Italian.seco_list_cantons– Retrieve all 26 Swiss canton codes and full names as a reference utility.
Most tools support both markdown (human-readable) and json (structured) output formats.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@seco-labor-mcpshow youth unemployment in Bern"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🇨🇭 Part of the Swiss Public Data MCP Portfolio
SECO Labor Market MCP Server
🌐 English | Deutsch
An MCP (Model Context Protocol) server for Swiss labor market data from SECO (Staatssekretariat für Wirtschaft) and AMSTAT via opendata.swiss.
Overview
This server connects AI models to Swiss labor market statistics — unemployment rates, job seekers, open positions, youth unemployment, and occupational breakdowns — all without requiring an API key.
Primary audiences:
🏫 Schulamt / Education planning — youth unemployment, vocational guidance data
📊 Research & analysis — labor market trends, cantonal comparisons
🤖 AI agents — automated labor market monitoring and reporting
Anchor query:
"Welche Berufsgruppen haben im Kanton Zürich die höchste Jugendarbeitslosigkeit, und welche Lehrberufe unterliegen der Stellenmeldepflicht?"
→ More use cases by audience →
Related MCP server: mcp-destatis
Data Sources (Phase 1 — No Auth Required)
Source | Description | Status |
CKAN metadata catalog with SECO dataset CSVs | ✅ Live | |
Monthly press reports (PDF, structured URL pattern) | ✅ Live | |
AMSTAT reference portal | ⚠️ JavaScript SPA, no public REST API | |
Unfallstatistik UVG (SSUV/KSUV c/o Suva) — occupational accidents and diseases | ⚠️ PDF only, no API (see below) |
Architecture
┌─────────────────────────────────────────────────────┐
│ seco-labor-mcp │
│ │
│ ┌─────────────┐ ┌──────────────────────────┐ │
│ │ FastMCP │ │ 9 MCP Tools │ │
│ │ Server │◄──►│ seco_search_datasets │ │
│ │ (stdio / │ │ seco_get_dataset │ │
│ │ SSE) │ │ seco_get_unemployment_* │ │
│ └─────────────┘ │ seco_get_youth_* │ │
│ │ │ seco_get_job_seekers │ │
│ ▼ │ seco_get_open_positions │ │
│ ┌─────────────┐ │ seco_get_monthly_url │ │
│ │ httpx │ │ seco_list_cantons │ │
│ │ async │ └──────────────────────────┘ │
│ └──────┬──────┘ │
└─────────┼───────────────────────────────────────────┘
│
▼
┌───────────────────────────────────┐
│ opendata.swiss CKAN API │
│ https://opendata.swiss/api/3/ │
│ action/package_search │
│ action/package_show │
└───────────┬───────────────────────┘
│
▼
┌───────────────────────────────────┐
│ SECO Data Resources │
│ CSV / XLSX / PDF Downloads │
│ (monthly labor market data) │
└───────────────────────────────────┘Tools
Tool | Description | Key Use Case |
| Search SECO datasets on opendata.swiss | Discovery |
| Full metadata + download links for a dataset | Data access |
| National/cantonal unemployment figures | Labor market overview |
| Youth unemployment (15–24 year olds) | 🎓 Berufswahlberatung |
| Stellensuchende (broader than unemployed) | Training demand |
| Open positions — leading indicator | Sector analysis |
| Breakdown by Berufshauptgruppe | 🎓 Vocational guidance |
| Generate/verify PDF report URL | Source access |
| All 26 canton codes and names | Utility |
| UVG key figures on occupational accidents and diseases | Risk overview |
| Results per NOGA 2008 economic branch | 🎓 Vocational guidance |
| Ten-year accident time series per branch | Trend analysis |
12 of a maximum of 15 tools.
Unfallstatistik UVG (SSUV)
The three seco_get_uvg_* tools cover the risk side of the same labour market
the unemployment tools describe: how many occupational accidents and diseases
occur per branch, and how that develops over ten years.
The publisher is not SECO. The Unfallstatistik UVG is issued by the
Koordinationsgruppe KSUV and the Sammelstelle SSUV c/o Suva, Lucerne. The
seco_ prefix addresses this server, not the source; every response names the
actual publisher in its source field.
Architecture decision: C (dump-first)
Verified live on 2026-08-05, full write-up in
PROBE_REPORT_UVG.md.
The source has no API. A link scan across every data page returned 165 PDFs
and zero files with .csv, .xlsx or .json. opendata.swiss does not list the
source at all (count=0 for six of seven search terms), and the BFS dam-api
silently ignores its filter parameters. What remains is machine-readable in
practice but not by design:
Access | Format | Refresh |
| HTML table, 5 years, Switzerland-wide | annually |
| annual edition, tables 1.2 and 2.4 by NOGA | annually, June |
| ten-year series per NOGA division | annually, January |
PDFs are cached for 24 h and fetched with 2s/4s/8s backoff.
What every response tells you
source_freshness.data_year— the data year, not the edition year. The 2026 edition reports 2024; that two-year lag is stated, not buried.totals_check— parsed rows are summed and compared against the total printed in the same publication. A broken layout shows up here instead of becoming a plausible wrong number.significant— the source marks statistically significant year-on-year changes with an asterisk. That flag is preserved per data point, so a change is only reported as significant where the source says so.
Installation
Claude Desktop (stdio)
Add to claude_desktop_config.json:
{
"mcpServers": {
"seco-labor": {
"command": "uvx",
"args": ["seco-labor-mcp"]
}
}
}Cloud / SSE
pip install seco-labor-mcp
MCP_TRANSPORT=sse PORT=8000 seco-labor-mcpThe SSE server binds to 127.0.0.1 (loopback) by default to prevent
NeighborJack on shared networks. For container deployments where you actually
need to accept traffic from outside the container, set HOST=0.0.0.0
explicitly — ideally in your Dockerfile / orchestrator config, and only behind
an upstream proxy or firewall:
HOST=0.0.0.0 MCP_TRANSPORT=sse PORT=8000 seco-labor-mcp # container onlyDevelopment
git clone https://github.com/malkreide/seco-labor-mcp.git
cd seco-labor-mcp
pip install -e ".[dev]"
pytest tests/ -m "not live" -vUsage Examples
Search for youth unemployment data
Tool: seco_search_datasets
Input: { "query": "Jugendarbeitslosigkeit Alter", "limit": 5 }Get cantonal unemployment for Zürich
Tool: seco_get_unemployment_overview
Input: { "canton": "ZH", "response_format": "markdown" }Get monthly report URL
Tool: seco_get_monthly_report_url
Input: { "year": 2026, "month": 2, "language": "de" }Key Concepts
Arbeitslose vs. Stellensuchende
Eselsbrücke: Arbeitslose ⊂ Stellensuchende — Arbeitslose sind eine Teilmenge.
Term | Definition | Dec 2025 |
Arbeitslose | RAV-registered, immediately available | ~149'000 (3.2%) |
Stellensuchende | All RAV-registered (incl. training programs) | ~233'900 |
Youth Unemployment Seasonality
July/August: Sharp increase (school leavers without placements)
September/October: Decline (apprenticeship starts)
The residual that remains after the autumn decline signals structural need for bridge programs (Brückenangebote)
Stellenmeldepflicht (since 2020)
Occupations with ≥5% unemployment rate must be reported to the RAV before posting publicly. The list changes annually. This is directly relevant for vocational counseling — these professions have highest availability for Swiss job seekers.
Portfolio Synergies
Server | Synergy |
| BFS population/employment data for deeper context |
| City of Zurich-level education and social data |
| Economic context (GDP, wages) for labor market interpretation |
| ALV (Arbeitslosenversicherung) legislative framework |
Known Limitations
amstat.arbeit.swisshas no public REST API (JavaScript SPA) → workaround via CKANOccupational/sectoral detail requires CSV download from SECO resources
Monthly press report URL patterns may vary for older reports
Cantonal sub-municipal data not available at this level
UVG figures come from PDF parsing — the layout was stable across the 2025 and 2026 editions, but a redesign can break it. The
totals_checkin every response is what makes such a break visible rather than silent.UVG data lags roughly two years (the 2026 edition reports 2024)
UVG branch detail follows NOGA 2008 and groups some divisions (
41 – 42,77, 79 – 82); there is no cantonal breakdown at this levelDetailed UVG data beyond the publications sits behind the SSUV closed user group and is out of scope for this no-auth server
Phase 2 roadmap:
Automatic CSV caching with 24h TTL
Direct XLSX parsing for cantonal breakdowns
Integration with
zh-education-mcpfor Schulamt-specific correlations
Data License
Two different licences apply — the code of this server is MIT either way, but the data is not covered by it.
SECO / AMSTAT data published on opendata.swiss is under Creative Commons CCZero (public domain). Source: Staatssekretariat für Wirtschaft (SECO) — seco.admin.ch
Unfallstatistik UVG data is not openly licensed. The publication states:
«Abdruck – ausser für kommerzielle Nutzung – mit Quellenangabe gestattet.» (Reproduction permitted, except for commercial use, with attribution.)
That is a non-commercial restriction with an attribution requirement. It belongs
to KSUV/SSUV and cannot be lifted by this repository's MIT licence: the MIT terms
cover the code, not the figures the code retrieves. If you use this server
commercially, the UVG tools are not covered — clarify directly with the
Sammelstelle (unfallstatistik@suva.ch). Every UVG response repeats this
restriction in its source field, because a README is not passed to the model.
Safety & Limits
Aspect | Details |
Access | Read-only ( |
Personal data | No personal data — all sources are aggregated, anonymous public statistics |
Rate limits | No enforced external limits; server caps queries at 20 results by default; 30 s HTTP timeout |
Authentication | No API keys required — opendata.swiss and arbeit.swiss are publicly accessible |
Licenses | SECO data under Creative Commons CCZero (public domain) |
Terms of Service | Subject to ToS of: opendata.swiss, SECO, arbeit.swiss |
GDPR / DSG | Fully compliant — no personal data transmitted or stored; all data is official public statistics |
Contributing
See CONTRIBUTING.md for development guidelines.
Security
See SECURITY.md for the security posture and how to report a vulnerability.
License
Released under the MIT License — Copyright © 2026 Hayal Oezkan.
Author
Hayal Oezkan · github.com/malkreide
Installation
Run via uv's uvx — no clone or manual install needed. Add to your MCP client config (mcpServers for Claude Desktop, Cursor and Windsurf; use a top-level servers key for VS Code in .vscode/mcp.json):
{
"mcpServers": {
"seco-labor-mcp": {
"command": "uvx",
"args": [
"seco-labor-mcp"
]
}
}
}Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceProvides AI-native access to Swiss Federal Statistical Office datasets through 9 tools for querying education, population, and cross-cantonal comparisons without authentication.Last updated152MIT
- Alicense-qualityCmaintenanceEnables querying Germany's official statistics from Destatis GENESIS-Online through natural language or direct tool calls.Last updated7MIT
- Flicense-qualityDmaintenanceEnables querying Swiss public transport (trains, buses, trams, boats) for stations, connections, and station boards via the opendata.ch API.Last updated
- FlicenseAqualityCmaintenanceEnables LLMs to query structured statistical data from the Swiss Federal Archives' Linked Data platform (LINDAS) by translating natural language questions into SPARQL queries against RDF data cubes.Last updated8
Related MCP Connectors
Labour statistics from ILOSTAT (ILO) with full provenance: source URL, vintage, license.
opendata.swiss MCP — Switzerland's federal open-data portal (CKAN catalogue).
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/malkreide/seco-labor-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server