🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@ansvar/ch-farm-safety-mcp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ansvar/ch-farm-safety-mcp

Swiss farm workplace safety via MCP -- BUL/SPAA rules, Suva requirements, EKAS Branchenloesung, Agriss statistics, machinery safety, chemical exposure

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Switzerland Farm Safety MCP

Machine-readable Swiss farm workplace safety data via the Model Context Protocol.

Covers BUL/SPAA safety rules (lebenswichtige Regeln), Suva occupational safety requirements, EKAS Branchenloesung Landwirtschaft, Agriss accident statistics, machinery safety (ROPS, MFK, PTO guards), chemical exposure (PSM, MAK values), young worker restrictions (Jugendarbeitsschutz), and accident reporting obligations.

Quick Start

npx (stdio — zero install)

npx -y @ansvar/ch-farm-safety-mcp

Docker

docker run -p 3000:3000 ghcr.io/ansvar-systems/ch-farm-safety-mcp:latest

Streamable HTTP (remote)

https://mcp.ansvar.eu/ch-farm-safety/mcp

No authentication required. Rate-limited to fair use.

Claude Desktop / Cursor

Add to your MCP client config:

{
  "mcpServers": {
    "ch-farm-safety": {
      "command": "npx",
      "args": ["-y", "@ansvar/ch-farm-safety-mcp"]
    }
  }
}

Or use the remote endpoint:

{
  "mcpServers": {
    "ch-farm-safety": {
      "url": "https://mcp.ansvar.eu/ch-farm-safety/mcp"
    }
  }
}

Tools

10 tools covering Swiss farm workplace safety:

ToolDescription
aboutServer metadata: name, version, coverage, data sources
list_sourcesAll data sources with authority, URL, license, freshness
check_data_freshnessLast ingest date, staleness status, refresh command
search_safety_rulesFTS5 search across BUL/Suva/EKAS safety rules
get_risk_assessment_requirementsRisk assessment obligations per farm activity (EKAS/VUV)
get_machinery_safetyROPS, Gurtpflicht, MFK, PTO guard requirements by machine type
get_chemical_safetyMAK exposure limits, PPE, storage rules by substance
get_young_worker_rulesJugendarbeitsschutz restrictions by age group
get_accident_reportingReporting deadlines, forms, insurer by severity
search_bul_guidanceBUL/SPAA guidance documents, fact sheets, campaigns

Full tool documentation: TOOLS.md

Data Sources

SourceAuthorityCoverage
BUL/SPAABeratungsstelle fuer Unfallverhuetung in der LandwirtschaftLebenswichtige Regeln, Merkblaetter, Safe@Work
SuvaSchweizerische UnfallversicherungsanstaltMAK values, PPE, accident reporting
EKASEidg. Koordinationskommission fuer ArbeitssicherheitBranchenloesung Landwirtschaft, ASA concept
AgrissBUL / AgroscopeFarm accident statistics
SECOStaatssekretariat fuer WirtschaftYoung worker protection (ArGV 5)

Coverage details: COVERAGE.md

Development

npm install
npm run build
npm test
npm run lint

Ingestion

npm run ingest          # incremental update
npm run ingest:full     # force full re-ingestion
npm run ingest:fetch    # fetch sources only (no DB write)
npm run ingest:diff     # show changes without applying

Freshness

npm run freshness:check

Data staleness threshold: 90 days. The check-freshness.yml workflow runs weekly and opens an issue if data is stale.

This server provides Swiss farm safety data for informational purposes only. It does not constitute professional safety advice. Always consult BUL/SPAA, Suva, or a qualified safety professional (Sicherheitsfachperson) before implementing safety measures.

See DISCLAIMER.md for the full bilingual disclaimer.

License

Apache-2.0 -- see LICENSE.

Data sourced from BUL/SPAA, Suva, EKAS, Agriss, and SECO under Swiss public-sector information principles.

Keywords

mcp

FAQs

Package last updated on 05 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts