CCM
/MCP
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Claude Code Marketplaces

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Skill index
  • MCP index
  • Marketplace index
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by mertbuilds.com

Independent project, not affiliated with Anthropic
malkreide avatar

Seco Labor Mcp

malkreide/seco-labor-mcp
STDIOregistry active
Summary

Pulls Swiss labor market data from SECO via the opendata.swiss CKAN API. Exposes nine tools covering unemployment rates, job seekers, open positions, and youth unemployment broken down by canton and occupation. No API key needed. The data comes from monthly SECO reports and AMSTAT datasets, returned as structured JSON or markdown. Designed for education planning (vocational guidance, Berufswahlberatung), labor market research, and automated monitoring. Handles the distinction between registered unemployed and broader job seekers, includes seasonal patterns for youth unemployment, and surfaces which occupations fall under mandatory reporting rules. Part of a larger Swiss public data portfolio that combines with BFS statistics, SNB economic data, and Fedlex legal sources for deeper context.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
ego lite browserego lite browser
ego lite browser
Fastest browser for AI agents to run web automation tasks, always free.
Download Free life-time →
Give your AI the whole web as clean markdownGive your AI the whole web as clean markdown
Give your AI the whole web as clean markdown
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Agent, connect blockchain
Agent, connect blockchain
Connect your Claude agent to live crypto prices and trading routes via 1inch
Get the MCP →
inference shell
inference shell
create and run specialised agents in minutes
build now →
CodeHealth MCP ServerCodeHealth MCP Server
CodeHealth MCP Server
Protect your code quality, stop the AI slop.
Try For Free →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
ego lite browserego lite browser
ego lite browser
Fastest browser for AI agents to run web automation tasks, always free.
Download Free life-time →
Give your AI the whole web as clean markdownGive your AI the whole web as clean markdown
Give your AI the whole web as clean markdown
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Agent, connect blockchain
Agent, connect blockchain
Connect your Claude agent to live crypto prices and trading routes via 1inch
Get the MCP →
inference shell
inference shell
create and run specialised agents in minutes
build now →
CodeHealth MCP ServerCodeHealth MCP Server
CodeHealth MCP Server
Protect your code quality, stop the AI slop.
Try For Free →

🇨🇭 Part of the Swiss Public Data MCP Portfolio

SECO Labor Market MCP Server

Version CI PyPI Python 3.11+ MCP No Auth Required License: MIT

🌐 English | Deutsch

An MCP (Model Context Protocol) server for Swiss labor market data from SECO (Staatssekretariat für Wirtschaft) and AMSTAT via opendata.swiss.

Demo: Claude queries youth unemployment via seco-labor-mcp tool call


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 →


Data Sources (Phase 1 — No Auth Required)

SourceDescriptionStatus
opendata.swissCKAN catalogue; the pinned BFS table T3.3.0.1 carries the SECO annual series✅ Live
arbeit.swissMonthly press reports (PDF, structured URL pattern)✅ Live
amstat.chAMSTAT reference portal⚠️ JavaScript SPA, no public REST API
unfallstatistik.chUnfallstatistik 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        │   │
│  │   HTTP)     │    │  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)      │
  └───────────────────────────────────┘

Where the figures come from — and what is missing

SECO is no longer a publisher on opendata.swiss. Verified 2026-08-14: organization_show returns 404, and none of the 176 entries in organization_list is SECO. Until then the server filtered every search on that organisation and therefore returned nothing — a name lookup that misses looks exactly like an empty search.

The registered unemployed and job seekers are still SECO's figures: the BFS publishes them in table T3.3.0.1 and names SECO in the footer. The server reads that table through a pinned dataset id (sources.py), checked against the live source by a live test.

Series20002025
Registered job seekers (SECO)124.6214.1
Registered unemployed (SECO)72.0133.7
ILO unemployed (BFS)126.5248.5

thousands, annual average

The three series do not measure the same thing: in 2000 the ILO figure is 1.76× the registered one. The server reports them separately and labelled, and never converts one into the other.

The cantonal layer: four cantons, four schemas

There is no national monthly series — but four cantons publish their own RAV figures, each in its own portal with its own column names. For those, seco_get_unemployment_overview(canton=…) returns real values:

CantonGranularityfromLevelNote
TGmonthly2016-01cantononly series by age class → youth unemployment as a count
FRmonthly2004-01canton and Switzerlandcarries the national monthly figure as a comparison row
ZGmonthly1993-01cantonyouth unemployment only as a rate, not a count
ZHannual1991municipalityno monthly values; districts and regions sit in the same column as municipalities and are separated out

The other 22 cantons get a named refusal — no figure from another canton and no national aggregate. Partial coverage that feels complete is worse than none.

The four series are not comparable with each other and do not add up to a Swiss figure: different time axes, different geographic levels, and in ZG's case a rate rather than a count.

Still not available: unemployment by occupational group, open positions as a national series, and youth unemployment for Switzerland or for 24 of the 26 cantons. The affected tools say so and return no substitute figure. These values exist interactively on amstat.ch, which offers no interface a server could call.


Tools

ToolDescriptionKey Use Case
seco_search_datasetsSearch labour-market datasets on opendata.swiss (publisher shown per hit)Discovery
seco_get_datasetFull metadata + download links for a datasetData access
seco_get_unemployment_overviewRegistered unemployed: national annual, cantonal for TG/FR/ZG/ZHLabor market overview
seco_get_youth_unemploymentYouth unemployment (15–24) — TG (count) and ZG (rate) only🎓 Berufswahlberatung
seco_get_job_seekersRegistered job seekers, national, annual series from 2000Training demand
seco_get_open_positionsOpen positions — no national series availableSector analysis
seco_get_unemployment_by_occupationBreakdown by Berufshauptgruppe — no machine-readable source🎓 Vocational guidance
seco_get_monthly_report_urlGenerate/verify PDF report URLSource access
seco_list_cantonsAll 26 canton codes and namesUtility
seco_get_uvg_overviewUVG key figures on occupational accidents and diseasesRisk overview
seco_get_uvg_by_branchResults per NOGA 2008 economic branch🎓 Vocational guidance
seco_get_uvg_trendsTen-year accident time series per branchTrend 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:

AccessFormatRefresh
schluesselzahlen_d.htmHTML table, 5 years, Switzerland-wideannually
Ts{YY}.pdfannual edition, tables 1.2 and 2.4 by NOGAannually, June
WirtKl_{BUV|NBUV}_{NN}.pdften-year series per NOGA divisionannually, 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 / HTTP

pip install seco-labor-mcp
MCP_TRANSPORT=http PORT=8000 seco-labor-mcp

http is the transport to use. It is the only one that can carry the modern protocol era: measured against this server object, http negotiates 2026-07-28 while sse caps every client at 2025-11-25, even a client that offers the modern era. sse and streamable-http remain accepted for existing deployments — tests/test_transport_aera.py runs both and records which era each one actually yields.

The HTTP 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=http PORT=8000 seco-labor-mcp   # container only

An unknown MCP_TRANSPORT value now exits with an error. It used to fall back to stdio silently, so a typo produced a server that simply never appeared on the expected port.

Development

git clone https://github.com/malkreide/seco-labor-mcp.git
cd seco-labor-mcp
pip install -e ".[dev]"
pytest tests/ -m "not live" -v

Usage 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.

TermDefinitionDec 2025
ArbeitsloseRAV-registered, immediately available~149'000 (3.2%)
StellensuchendeAll 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

ServerSynergy
swiss-statistics-mcpBFS population/employment data for deeper context
zurich-opendata-mcpCity of Zurich-level education and social data
swiss-snb-mcpEconomic context (GDP, wages) for labor market interpretation
fedlex-mcpALV (Arbeitslosenversicherung) legislative framework

Known Limitations

  • amstat.arbeit.swiss has no public REST API (JavaScript SPA) → workaround via CKAN
  • Occupational/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_check in 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 level
  • Detailed 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-mcp for 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

AspectDetails
AccessRead-only (readOnlyHint: true) — the server cannot modify or delete any data
Personal dataNo personal data — all sources are aggregated, anonymous public statistics
Rate limitsNo enforced external limits; server caps queries at 20 results by default; 30 s HTTP timeout
AuthenticationNo API keys required — opendata.swiss and arbeit.swiss are publicly accessible
LicensesSECO data under Creative Commons CCZero (public domain)
Terms of ServiceSubject to ToS of: opendata.swiss, SECO, arbeit.swiss
GDPR / DSGFully compliant — no personal data transmitted or stored; all data is official public statistics

MCP Protocol Version

This server serves two protocol eras over the same server object, on fastmcp 4.x / mcp 2.x:

EraRevisionShape
Modern2026-07-28no handshake — server/discover, one self-contained envelope per request
Handshake2025-11-25initialize, then a stateful session

A client that offers the modern era gets it; a client that only knows the handshake era still gets served. Both are pinned separately in tests/test_protokoll_aeren.py, and both are measured — the test negotiates a real connection against this server object rather than comparing two constants.

Pinning only LATEST_PROTOCOL_VERSION would not be enough: in mcp 2.x that name is an alias for the modern era, so it would leave the handshake ceiling free to move — and that ceiling is what most clients in the field actually speak.

Until 0.4.0 this server ran fastmcp 3.x, which pins mcp 1.x. There 2025-11-25 is the highest revision the SDK knows at all, so 2026-07-28 was not partially supported — it was absent. The test that used to guard the one-era state now guards its opposite: it fails if a downgrade takes the modern era away again.

Note for anything reading server metadata: on a modern connection there is no InitializeResult. Use the era-neutral protocol_version / server_info instead of initialize_result.


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"
      ]
    }
  }
}
Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
ego lite browserego lite browser
ego lite browser
Fastest browser for AI agents to run web automation tasks, always free.
Download Free life-time →
Give your AI the whole web as clean markdownGive your AI the whole web as clean markdown
Give your AI the whole web as clean markdown
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Agent, connect blockchain
Agent, connect blockchain
Connect your Claude agent to live crypto prices and trading routes via 1inch
Get the MCP →
inference shell
inference shell
create and run specialised agents in minutes
build now →
CodeHealth MCP ServerCodeHealth MCP Server
CodeHealth MCP Server
Protect your code quality, stop the AI slop.
Try For Free →
Registryactive
Packageseco-labor-mcp
TransportSTDIO
UpdatedJun 7, 2026
View on GitHub

More from malkreide

  • Swiss Courts Mcp
  • Swiss Cultural Heritage Mcp
  • Swiss Electricity Mcp
  • Swiss Energy Mcp
  • Swiss Food Safety Mcp
  • Swiss Road Mobility Mcp
  • Wsl Envidat Mcp
  • Zh Education Mcp
  • Sbb Opendata Mcp1
  • Swiss Ip Mcp
  • Zurich Opendata Mcp7
  • Swisstopo Mcp4
  • Swiss Democracy Mcp2
  • Swiss Statistics Mcp2
  • Swiss Transport Mcp2
  • Eth Library Mcp1
  • Fedlex Mcp1
  • Srgssr Mcp1
  • Swiss Academic Libraries Mcp1
  • Swiss Culture Mcp1
  • Swiss Environment Mcp1
  • Swiss Snb Mcp
  • Bag Epl Mcp
  • Bag Health Mcp