npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ansvar/ch-farm-safety-mcp

v0.1.0

Published

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

Readme

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:

| Tool | Description | |------|-------------| | about | Server metadata: name, version, coverage, data sources | | list_sources | All data sources with authority, URL, license, freshness | | check_data_freshness | Last ingest date, staleness status, refresh command | | search_safety_rules | FTS5 search across BUL/Suva/EKAS safety rules | | get_risk_assessment_requirements | Risk assessment obligations per farm activity (EKAS/VUV) | | get_machinery_safety | ROPS, Gurtpflicht, MFK, PTO guard requirements by machine type | | get_chemical_safety | MAK exposure limits, PPE, storage rules by substance | | get_young_worker_rules | Jugendarbeitsschutz restrictions by age group | | get_accident_reporting | Reporting deadlines, forms, insurer by severity | | search_bul_guidance | BUL/SPAA guidance documents, fact sheets, campaigns |

Full tool documentation: TOOLS.md

Data Sources

| Source | Authority | Coverage | |--------|-----------|----------| | BUL/SPAA | Beratungsstelle fuer Unfallverhuetung in der Landwirtschaft | Lebenswichtige Regeln, Merkblaetter, Safe@Work | | Suva | Schweizerische Unfallversicherungsanstalt | MAK values, PPE, accident reporting | | EKAS | Eidg. Koordinationskommission fuer Arbeitssicherheit | Branchenloesung Landwirtschaft, ASA concept | | Agriss | BUL / Agroscope | Farm accident statistics | | SECO | Staatssekretariat fuer Wirtschaft | Young 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.

Legal

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.

Links